harbour-onvista.spec 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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: 2
  11. Group: Qt/Qt
  12. License: GPL
  13. BuildArch: noarch
  14. URL: https://wiki.siningsoft.de/doku.php?id=sailfishos:projects:onvista
  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. This application is a simple try to implement a webKit application on Sailfish OS.
  26. It will access the mobile webpage of german broker OnVista.
  27. %prep
  28. %setup -q -n %{name}-%{version}
  29. # >> setup
  30. # << setup
  31. %build
  32. # >> build pre
  33. # << build pre
  34. %qmake5
  35. make %{?_smp_mflags}
  36. # >> build post
  37. # << build post
  38. %install
  39. rm -rf %{buildroot}
  40. # >> install pre
  41. # << install pre
  42. %qmake5_install
  43. # >> install post
  44. # << install post
  45. desktop-file-install --delete-original \
  46. --dir %{buildroot}%{_datadir}/applications \
  47. %{buildroot}%{_datadir}/applications/*.desktop
  48. %files
  49. %defattr(-,root,root,-)
  50. %defattr(0644,root,root,-)
  51. %{_datadir}/%{name}
  52. %{_datadir}/applications/%{name}.desktop
  53. %{_datadir}/icons/hicolor/*/apps/%{name}.png
  54. # >> files
  55. # << files