flameshot.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Name: flameshot
  2. Version: 0.6.0
  3. Release: 1%{?dist}
  4. Summary: Powerful yet simple to use screenshot software
  5. Summary(eu-ES): Potente pero simple de usar software de capturas
  6. %global sourcename flameshot
  7. Group: Application
  8. License: GPLv3
  9. URL: https://github.com/lupoDharkael/%{sourcename}
  10. Source0: https://github.com/lupoDharkael/%{sourcename}/archive/v%{version}.tar.gz
  11. #%%define _binaries_in_noarch_packages_terminate_build 0
  12. #BuildArch: noarch
  13. BuildRequires: gcc-c++ >= 4.9.2
  14. BuildRequires: pkgconfig(Qt5Core) >= 5.3.0
  15. BuildRequires: pkgconfig(Qt5Gui) >= 5.3.0
  16. BuildRequires: pkgconfig(Qt5Widgets) >= 5.3.0
  17. BuildRequires: qt5-qttools-devel
  18. BuildRequires: qt5-linguist
  19. BuildRequires: qt5-qtsvg-devel
  20. BuildRequires: git
  21. Requires: qt5-qtbase >= 5.3.0
  22. Requires: qt5-qttools
  23. %description
  24. Flameshot is a screenshot software, it's
  25. powerful yet simple to use for GNU/Linux
  26. %prep
  27. %setup -q -n v%{version}
  28. %build
  29. #%%qmake_qt5 PREFIX=%{_prefix}
  30. %qmake_qt5 CONFIG+=packaging CONFIG-=debug CONFIG+=release
  31. make %{?_smp_mflags}
  32. %install
  33. %make_install INSTALL_ROOT=%{buildroot}
  34. %post -p /sbin/ldconfig
  35. %postun -p /sbin/ldconfig
  36. %files
  37. %doc README.md
  38. %license LICENSE
  39. %{_bindir}/%{name}
  40. %{_datadir}/dbus-1/interfaces/org.dharkael.Flameshot.xml
  41. %{_datadir}/metainfo/flameshot.appdata.xml
  42. %{_datadir}/dbus-1/services/org.dharkael.Flameshot.service
  43. %{_datadir}/flameshot/translations/Internationalization_*.qm
  44. %{_datadir}/applications/%{name}.desktop
  45. %{_datadir}/bash-completion/completions/%{name}
  46. %{_datadir}/icons/hicolor
  47. %changelog
  48. * Sat Aug 18 2018 Zetao Yang <vitzys@outlook.com> - 0.6.0-1
  49. - Updated for flameshot 0.6.0
  50. - - More details, please see https://flameshot.js.org/#/changelog?id=v060
  51. * Tue Jan 09 2018 Zetao Yang <vitzys@outlook.com> - 0.5.0-1
  52. - Initial package for flameshot 0.5.0
  53. - More details, please see https://flameshot.js.org/#/changelog?id=v051