harbour-golem.spec 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. #
  2. # Do NOT Edit the Auto-generated Part!
  3. # Generated by: spectacle version 0.27
  4. #
  5. Name: harbour-golem
  6. # >> macros
  7. # << macros
  8. Summary: golem.de (unofficial)
  9. Version: 0.1
  10. Release: 1
  11. Group: Qt/Qt
  12. License: GPL
  13. BuildArch: noarch
  14. URL: https://wiki.siningsoft.de/doku.php?id=sailfishos:projects:golem
  15. Source0: %{name}-%{version}.tar.bz2
  16. Source100: harbour-golem.yaml
  17. Requires: sailfishsilica-qt5 >= 0.10.9
  18. BuildRequires: pkgconfig(sailfishapp) >= 1.0.2
  19. BuildRequires: pkgconfig(Qt5Core)
  20. BuildRequires: pkgconfig(Qt5Qml)
  21. BuildRequires: pkgconfig(Qt5Quick)
  22. BuildRequires: desktop-file-utils
  23. %description
  24. This is a simple webKit application to quickly access golem.de website with mobile view.
  25. %prep
  26. %setup -q -n %{name}-%{version}
  27. # >> setup
  28. # << setup
  29. %build
  30. # >> build pre
  31. # << build pre
  32. %qmake5
  33. make %{?_smp_mflags}
  34. # >> build post
  35. # << build post
  36. %install
  37. rm -rf %{buildroot}
  38. # >> install pre
  39. # << install pre
  40. %qmake5_install
  41. # >> install post
  42. # << install post
  43. desktop-file-install --delete-original \
  44. --dir %{buildroot}%{_datadir}/applications \
  45. %{buildroot}%{_datadir}/applications/*.desktop
  46. %files
  47. %defattr(-,root,root,-)
  48. %{_bindir}
  49. %{_datadir}/%{name}
  50. %{_datadir}/applications/%{name}.desktop
  51. %{_datadir}/icons/hicolor/*/apps/%{name}.png
  52. # >> files
  53. # << files