Compare commits
No commits in common. "7db72333a48ed9ae25bb2f7b02d4c745bd5aaadb" and "11e825c3de59d860742fefec1c25fdd3d6f8f8dc" have entirely different histories.
7db72333a4
...
11e825c3de
Binary file not shown.
@ -1,84 +0,0 @@
|
|||||||
%global minorversion 1.10
|
|
||||||
%global xfceversion 4.16
|
|
||||||
|
|
||||||
Name: xfce4-screenshooter
|
|
||||||
Version: 1.10.0
|
|
||||||
Release: 1
|
|
||||||
Summary: Screenshot utility for the Xfce desktop
|
|
||||||
License: GPLv2+
|
|
||||||
URL: http://goodies.xfce.org/projects/applications/%{name}
|
|
||||||
Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: exo-devel
|
|
||||||
BuildRequires: libxfce4ui-devel >= %{xfceversion}
|
|
||||||
BuildRequires: xfce4-panel-devel >= %{xfceversion}
|
|
||||||
BuildRequires: libsoup-devel >= 2.26.0
|
|
||||||
BuildRequires: libXext-devel >= 1.0.0
|
|
||||||
BuildRequires: libXfixes-devel >= 4.0.0
|
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
BuildRequires: gettext
|
|
||||||
BuildRequires: intltool
|
|
||||||
BuildRequires: libappstream-glib
|
|
||||||
|
|
||||||
Requires: xfce4-panel >= %{xfceversion}
|
|
||||||
|
|
||||||
%description
|
|
||||||
The Xfce Screenshooter utility allows you to capture the entire screen, the
|
|
||||||
active window or a selected region. You can set the delay that elapses before
|
|
||||||
the screenshot is taken and the action that will be done with the screenshot:
|
|
||||||
save it to a PNG file, copy it to the clipboard, or open it using another
|
|
||||||
application. A panel plugin is provided too.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup
|
|
||||||
|
|
||||||
# KDE and GNOME have their own screenshot utils
|
|
||||||
echo "NotShowIn=KDE;GNOME;" >> src/xfce4-screenshooter.desktop.in.in
|
|
||||||
|
|
||||||
%build
|
|
||||||
%configure --disable-static
|
|
||||||
%make_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%make_install
|
|
||||||
|
|
||||||
# remove la file
|
|
||||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
||||||
|
|
||||||
# make sure debuginfo is generated properly
|
|
||||||
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
|
|
||||||
|
|
||||||
%find_lang %{name}
|
|
||||||
|
|
||||||
desktop-file-install \
|
|
||||||
--dir %{buildroot}%{_datadir}/applications \
|
|
||||||
--delete-original \
|
|
||||||
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
||||||
|
|
||||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
|
||||||
%doc AUTHORS ChangeLog NEWS TODO
|
|
||||||
%license COPYING
|
|
||||||
%{_bindir}/%{name}
|
|
||||||
%{_datadir}/applications/%{name}.desktop
|
|
||||||
%{_datadir}/icons/hicolor/*/apps/org.xfce*screenshooter*
|
|
||||||
%{_datadir}/metainfo/xfce4-screenshooter.appdata.xml
|
|
||||||
%{_datadir}/xfce4/panel/plugins/*.desktop
|
|
||||||
%{_libdir}/xfce4/panel/plugins/*.so
|
|
||||||
%{_mandir}/man1/*.1.*
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 1.10.0-1
|
|
||||||
- update to 1.10.0
|
|
||||||
|
|
||||||
* Mon Jun 20 2022 zhanglin <lin.zhang@turbolinux.com.cn> - 1.9.10-1
|
|
||||||
- Update to 1.9.10
|
|
||||||
|
|
||||||
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.9.9-1
|
|
||||||
- Update to 1.9.9
|
|
||||||
|
|
||||||
* Fri Jul 17 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.9.7-1
|
|
||||||
- Init package
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: git
|
|
||||||
src_repo: https://gitlab.xfce.org/apps/xfce4-screenshooter.git
|
|
||||||
tag_prefix: "xfce4-screenshooter-"
|
|
||||||
seperator: "."
|
|
||||||
Loading…
x
Reference in New Issue
Block a user