harbour-onvista.spec 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #
  2. # Do NOT Edit the Auto-generated Part!
  3. # Generated by: spectacle version 0.27
  4. #
  5. Name: harbour-onvista
  6. # >> macros
  7. # << macros
  8. Summary: Onvista (unofficial)
  9. Version: 0.2
  10. Release: 1
  11. Group: Qt/Qt
  12. License: GPL
  13. BuildArch: noarch
  14. URL: http://example.org/
  15. Source0: %{name}-%{version}.tar.bz2
  16. Source100: harbour-onvista.yaml
  17. Requires: sailfishsilica-qt5 >= 0.10.9
  18. Requires: libsailfishapp-launcher
  19. BuildRequires: pkgconfig(sailfishapp) >= 1.0.3
  20. BuildRequires: pkgconfig(Qt5Core)
  21. BuildRequires: pkgconfig(Qt5Qml)
  22. BuildRequires: pkgconfig(Qt5Quick)
  23. BuildRequires: desktop-file-utils
  24. %description
  25. Short description of my Sailfish OS Application
  26. %prep
  27. %setup -q -n %{name}-%{version}
  28. # >> setup
  29. # << setup
  30. %build
  31. # >> build pre
  32. # << build pre
  33. %qmake5
  34. make %{?_smp_mflags}
  35. # >> build post
  36. # << build post
  37. %install
  38. rm -rf %{buildroot}
  39. # >> install pre
  40. # << install pre
  41. %qmake5_install
  42. # >> install post
  43. # << install post
  44. desktop-file-install --delete-original \
  45. --dir %{buildroot}%{_datadir}/applications \
  46. %{buildroot}%{_datadir}/applications/*.desktop
  47. %files
  48. %defattr(-,root,root,-)
  49. %defattr(0644,root,root,-)
  50. %{_datadir}/%{name}
  51. %{_datadir}/applications/%{name}.desktop
  52. %{_datadir}/icons/hicolor/*/apps/%{name}.png
  53. # >> files
  54. # << files