screengrab/screengrab.spec

83 lines
2.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: screengrab
Version: 2.4.0
Release: 1mamba
Summary: A program for fast creating screenshots, and easily publishing them on internet image hosting services
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/lxqt/screengrab
Source: https://github.com/lxqt/screengrab.git/%{version}/screengrab-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libQt5X11Extras-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libqtxdg-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxcb-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
%description
A program for fast creating screenshots, and easily publishing them on internet image hosting services.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
find %{buildroot}%{_datadir}/*/translations/ -name *.qm | \
while read line; do
bn=`echo ${line}|cut -d_ -f2-3`
echo "%lang(${bn/.*}) ${line/*-root}" >> %{name}.lang
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/screengrab
%dir %{_libdir}/screengrab
%{_libdir}/screengrab/libextedit.so
%{_libdir}/screengrab/libextedit.so.*
%{_datadir}/applications/screengrab.desktop
%{_datadir}/metainfo/screengrab.metainfo.xml
%dir %{_datadir}/screengrab
%{_datadir}/screengrab/screengrab.conf
%{_datadir}/icons/hicolor/scalable/apps/screengrab.svg
%dir %{_docdir}/screengrab
%dir %{_docdir}/screengrab/html
%{_datadir}/doc/screengrab/html/*
%doc AUTHORS COPYING
%changelog
* Tue Apr 19 2022 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
- automatic version update by autodist
* Thu Nov 11 2021 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
* Sat Apr 17 2021 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
- automatic version update by autodist
* Mon Nov 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
- package created using the webbuild interface