2024-01-05 17:40:49 +01:00
|
|
|
Name: screengrab
|
2024-01-05 17:40:50 +01:00
|
|
|
Version: 2.2.0
|
2024-01-05 17:40:49 +01:00
|
|
|
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: ldconfig
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libkwindowsystem-devel
|
|
|
|
BuildRequires: libqt5-devel
|
|
|
|
BuildRequires: libqtxdg-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libxcb-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}/icons/hicolor/32x32/apps/screengrab.png
|
|
|
|
%{_datadir}/screengrab/screengrab.conf
|
|
|
|
%dir %{_docdir}/screengrab
|
|
|
|
%dir %{_docdir}/screengrab/html
|
|
|
|
%{_datadir}/doc/screengrab/html/*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:40:50 +01:00
|
|
|
* Sat Apr 17 2021 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:40:49 +01:00
|
|
|
* Mon Nov 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- package created using the webbuild interface
|