screengrab/screengrab.spec

95 lines
2.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: screengrab
Version: 2.8.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: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libkf6-kwindowsystem-devel
BuildRequires: libqtxdg-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxcb-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtsvg-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
* Wed Apr 24 2024 Automatic Build System <autodist@openmamba.org> 2.8.0-1mamba
- automatic version update by autodist
* Tue Nov 07 2023 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
- automatic version update by autodist
* Sat Apr 22 2023 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
- automatic version update by autodist
* Sat Nov 12 2022 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
- automatic version update by autodist
* 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