!6 [sync] PR-4: Package init

From: @openeuler-sync-bot
Reviewed-by: @dwl301
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2021-12-03 09:53:55 +00:00 committed by Gitee
commit c9decd39d8
2 changed files with 12 additions and 15 deletions

Binary file not shown.

View File

@ -1,15 +1,15 @@
%global minorversion 1.9
%global xfceversion 4.16
%global xfceversion 4.14
Name: xfce4-screenshooter
Version: 1.9.9
Version: 1.9.7
Release: 1
Summary: Screenshot utility for the Xfce desktop
License: GPLv2+
#Group: Development/Libraries
URL: http://goodies.xfce.org/projects/applications/%{name}
Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
Source0: http://archive.xfce.org/src/apps/%{name}/1.9/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: exo-devel
BuildRequires: libxfce4ui-devel >= %{xfceversion}
@ -21,7 +21,6 @@ BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: libappstream-glib
Requires: xfce4-panel >= %{xfceversion}
%description
@ -60,19 +59,17 @@ desktop-file-install \
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
%files -f %{name}.lang
%doc AUTHORS ChangeLog NEWS TODO
%doc AUTHORS ChangeLog NEWS README 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
%{_datadir}/xfce4/panel/plugins/*.desktop
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/applets-screenshooter.png
%{_datadir}/icons/hicolor/scalable/apps/applets-screenshooter.svg
%{_datadir}/metainfo/xfce4-screenshooter.appdata.xml
%{_mandir}/man1/*.1.*
%changelog
* 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
* Fri Jul 17 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.9.1-1
- Init package