!10 [sync] PR-8: Package init

From: @openeuler-sync-bot
Reviewed-by: @zhang__3125
Signed-off-by: @zhang__3125
This commit is contained in:
openeuler-ci-bot 2021-12-03 09:51:41 +00:00 committed by Gitee
commit 90fe8d2ce1
2 changed files with 8 additions and 12 deletions

Binary file not shown.

View File

@ -1,16 +1,16 @@
%global minorversion 1.6
%global xfceversion 4.16
%global xfceversion 4.14
%global _hardened_build 1
%global minorversion 1.6
Name: xfce4-clipman-plugin
Version: 1.6.2
Release: 1
Version: 1.6.1
Release: 3
Summary: Clipboard manager plugin for the Xfce panel
License: GPLv2+
#Group: Development/Libraries
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: exo-devel >= 0.6.0
BuildRequires: libxfce4ui-devel >= %{xfceversion}
@ -23,7 +23,6 @@ BuildRequires: unique-devel >= 1.0.0
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: desktop-file-utils
Requires: xfce4-panel >= %{xfceversion}
%description
@ -62,7 +61,7 @@ desktop-file-install \
%files -f %{name}.lang
%doc AUTHORS ChangeLog NEWS README.md
%doc AUTHORS ChangeLog NEWS README
%license COPYING
%config %{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
%config(noreplace) %{_sysconfdir}/xdg/xfce4/panel/xfce4-clipman-actions.xml
@ -76,13 +75,10 @@ desktop-file-install \
%{_datadir}/applications/xfce4-clipman.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_datadir}/xfce4/panel/plugins/%{name}.desktop
%{_datadir}/metainfo/xfce4-clipman.appdata.xml
%{_datadir}/appdata/xfce4-clipman.appdata.xml
%{_datadir}/icons/hicolor/16x16/apps/clipman-symbolic.svg
%changelog
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.6.2-1
- Update to 1.6.2
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.6.1-3
- add extra macros : minorversion