Files
flameshot/rpm/flameshot.spec
Sorin Adrian Savu bbe14ad79b Add qt5-qtsvg to the dependencies (#560)
Without qt5-qtsvg tool icons aren't rendered see #335 - I had to manually install this package on xfce to have tool icons show up
2019-06-25 13:31:19 +02:00

68 lines
1.8 KiB
RPMSpec

Name: flameshot
Version: 0.6.0
Release: 1%{?dist}
Summary: Powerful yet simple to use screenshot software
Summary(eu-ES): Potente pero simple de usar software de capturas
%global sourcename flameshot
Group: Application
License: GPLv3
URL: https://github.com/lupoDharkael/%{sourcename}
Source0: https://github.com/lupoDharkael/%{sourcename}/archive/v%{version}.tar.gz
#%%define _binaries_in_noarch_packages_terminate_build 0
#BuildArch: noarch
BuildRequires: gcc-c++ >= 4.9.2
BuildRequires: pkgconfig(Qt5Core) >= 5.3.0
BuildRequires: pkgconfig(Qt5Gui) >= 5.3.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.3.0
BuildRequires: qt5-qttools-devel
BuildRequires: qt5-linguist
BuildRequires: qt5-qtsvg-devel
BuildRequires: git
Requires: qt5-qtbase >= 5.3.0
Requires: qt5-qttools
Requires: qt5-qtsvg
%description
Flameshot is a screenshot software, it's
powerful yet simple to use for GNU/Linux
%prep
%setup -q -n v%{version}
%build
#%%qmake_qt5 PREFIX=%{_prefix}
%qmake_qt5 CONFIG+=packaging CONFIG-=debug CONFIG+=release
make %{?_smp_mflags}
%install
%make_install INSTALL_ROOT=%{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{_datadir}/dbus-1/interfaces/org.dharkael.Flameshot.xml
%{_datadir}/metainfo/flameshot.appdata.xml
%{_datadir}/dbus-1/services/org.dharkael.Flameshot.service
%{_datadir}/flameshot/translations/Internationalization_*.qm
%{_datadir}/applications/%{name}.desktop
%{_datadir}/bash-completion/completions/%{name}
%{_datadir}/icons/hicolor
%changelog
* Sat Aug 18 2018 Zetao Yang <vitzys@outlook.com> - 0.6.0-1
- Updated for flameshot 0.6.0
- More details, please see https://flameshot.js.org/#/changelog?id=v060
* Tue Jan 09 2018 Zetao Yang <vitzys@outlook.com> - 0.5.0-1
- Initial package for flameshot 0.5.0
- More details, please see https://flameshot.js.org/#/changelog?id=v051