package created using the webbuild interface [release 2.1.0-1mamba;Mon Nov 09 2020]
This commit is contained in:
parent
f7a6ac90a9
commit
923582c631
@ -1,2 +1,4 @@
|
||||
# screengrab
|
||||
|
||||
A program for fast creating screenshots, and easily publishing them on internet image hosting services.
|
||||
|
||||
|
71
screengrab.spec
Normal file
71
screengrab.spec
Normal file
@ -0,0 +1,71 @@
|
||||
Name: screengrab
|
||||
Version: 2.1.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: 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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%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
|
||||
* Mon Nov 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user