58 lines
1.7 KiB
RPMSpec
58 lines
1.7 KiB
RPMSpec
|
Name: spectacle
|
||
|
Version: 17.08.3
|
||
|
Release: 1mamba
|
||
|
Summary: Screenshot Capture Utility
|
||
|
Group: Graphical Desktop/Application
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||
|
URL: http://www.kde.org
|
||
|
Source: https://download.kde.org/stable/applications/%{version}/src/spectacle-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
## note: run 'autospec -u -a6 spectacle' to get the list of build requirements.
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: rpm-macros-kde5
|
||
|
BuildRequires: extra-cmake-modules
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
Spectacle is a screenshot capture utility for the KDE Plasma desktop.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake_kde5 -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files -f %{name}5_qt.lang
|
||
|
%defattr(-,root,root)
|
||
|
%{_kde5_bindir}/%{name}
|
||
|
%{_kde5_datadir}/applications/org.kde.spectacle.desktop
|
||
|
%{_kde5_datadir}/dbus-1/interfaces/org.kde.Spectacle.xml
|
||
|
%{_kde5_datadir}/dbus-1/services/org.kde.Spectacle.service
|
||
|
%{_kde5_datadir}/doc/HTML/*/spectacle
|
||
|
%{_kde5_datadir}/icons/hicolor/*/apps/spectacle.png
|
||
|
%{_kde5_datadir}/icons/hicolor/scalable/apps/spectacle.svgz
|
||
|
%{_kde5_datadir}/khotkeys/spectacle.khotkeys
|
||
|
%{_kde5_datadir}/knotifications5/spectacle.notifyrc
|
||
|
%{_kde5_datadir}/metainfo/org.kde.spectacle.appdata.xml
|
||
|
%doc COPYING COPYING.DOC COPYING.LIB
|
||
|
|
||
|
%changelog
|
||
|
* Sat Nov 11 2017 Davide Madrisan <davide.madrisan@gmail.com> 17.08.3-1mamba
|
||
|
- package created using the webbuild interface
|