Advertisement
Guest User

Untitled

a guest
Dec 10th, 2013
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. Name: harbour-puzzle-master
  2. Version: 2.5.0
  3. Release: 1%{?dist}
  4. Summary: Fun jigsaw puzzle game
  5.  
  6. Group: Amusements/Games
  7. License: GPLv2+
  8. URL: http://puzzle-master.colorful.hu/
  9.  
  10. Source0: %{name}-%{version}.tar.gz
  11. # This package is generated from upstream's SCM, in the following way;
  12. # %{name} refers to the package name and %{version} to the release version.
  13. #
  14. # git clone git://gitorious.org/colorful-apps/%{name}.git; cd %{name};
  15. # git archive --format=tar --prefix=%{name}-%{version}/ v%{version} | gzip -n > %{name}-%{version}.tar.gz
  16.  
  17. BuildRequires: pkgconfig(Qt5Core), pkgconfig(Qt5Gui), pkgconfig(Qt5Quick)
  18. BuildRequires: desktop-file-utils
  19.  
  20. # >> macros
  21. %{!?qtc_qmake5:%define qtc_qmake5 qmake}
  22. %{!?qtc_qmake:%define qtc_qmake qmake}
  23. %{!?qtc_make:%define qtc_make make}
  24. %{?qtc_builddir:%define _builddir %qtc_builddir}
  25. # << macros
  26.  
  27. %description
  28. %{name} is a jigsaw puzzle game that lets you use your own
  29. images (and contains some built-in ones) for generating puzzles.
  30. You can decide the size and the difficulty of the puzzle.
  31.  
  32. %prep
  33. %setup -q
  34.  
  35. %build
  36. # This ensures that the files will be placed to the correct location
  37. QMAKEFLAGS='-after TARGET=%{name}'
  38. # This will find qmake on both Fedora and MeeGo
  39. %qtc_qmake5 $QMAKEFLAGS
  40. make %{?_smp_mflags}
  41.  
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. make INSTALL_ROOT=$RPM_BUILD_ROOT install
  45. desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
  46.  
  47. %files
  48. %defattr(-,root,root,-)
  49. %{_bindir}/%{name}
  50. %attr(644,root,root) %{_datadir}/applications/%{name}.desktop
  51. %attr(644,root,root) %{_datadir}/icons/hicolor/86x86/apps/%{name}.png
  52. %doc LICENSE
  53. %doc LICENSE-DOCS
  54.  
  55. %changelog
  56. * Tue Dec 10 2013 Timur Kristóf <venemo@fedoraproject.org> 2.5.0-1
  57. - Sailfish release
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement