Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Name: harbour-puzzle-master
- Version: 2.5.0
- Release: 1%{?dist}
- Summary: Fun jigsaw puzzle game
- Group: Amusements/Games
- License: GPLv2+
- URL: http://puzzle-master.colorful.hu/
- Source0: %{name}-%{version}.tar.gz
- # This package is generated from upstream's SCM, in the following way;
- # %{name} refers to the package name and %{version} to the release version.
- #
- # git clone git://gitorious.org/colorful-apps/%{name}.git; cd %{name};
- # git archive --format=tar --prefix=%{name}-%{version}/ v%{version} | gzip -n > %{name}-%{version}.tar.gz
- BuildRequires: pkgconfig(Qt5Core), pkgconfig(Qt5Gui), pkgconfig(Qt5Quick)
- BuildRequires: desktop-file-utils
- # >> macros
- %{!?qtc_qmake5:%define qtc_qmake5 qmake}
- %{!?qtc_qmake:%define qtc_qmake qmake}
- %{!?qtc_make:%define qtc_make make}
- %{?qtc_builddir:%define _builddir %qtc_builddir}
- # << macros
- %description
- %{name} is a jigsaw puzzle game that lets you use your own
- images (and contains some built-in ones) for generating puzzles.
- You can decide the size and the difficulty of the puzzle.
- %prep
- %setup -q
- %build
- # This ensures that the files will be placed to the correct location
- QMAKEFLAGS='-after TARGET=%{name}'
- # This will find qmake on both Fedora and MeeGo
- %qtc_qmake5 $QMAKEFLAGS
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make INSTALL_ROOT=$RPM_BUILD_ROOT install
- desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
- %files
- %defattr(-,root,root,-)
- %{_bindir}/%{name}
- %attr(644,root,root) %{_datadir}/applications/%{name}.desktop
- %attr(644,root,root) %{_datadir}/icons/hicolor/86x86/apps/%{name}.png
- %doc LICENSE
- %doc LICENSE-DOCS
- %changelog
- * Tue Dec 10 2013 Timur Kristóf <venemo@fedoraproject.org> 2.5.0-1
- - Sailfish release
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement