!8 [sync] PR-6: 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 10:00:54 +00:00 committed by Gitee
commit 52316ce2aa
2 changed files with 6 additions and 9 deletions

Binary file not shown.

View File

@ -1,22 +1,21 @@
%global minorversion 0.8
%global xfceversion 4.16
%global xfceversion 4.14
%global _hardened_build 1
Name: xfce4-datetime-plugin
Version: 0.8.1
Version: 0.8.0
Release: 1
Summary: Date/time 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
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/0.8/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: libxfce4ui-devel >= %{xfceversion}
BuildRequires: xfce4-panel-devel >= %{xfceversion}
BuildRequires: gettext
BuildRequires: intltool
Requires: xfce4-panel >= %{xfceversion}
%description
@ -41,6 +40,7 @@ chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
%find_lang %{name}
%files -f %{name}.lang
%doc AUTHORS ChangeLog NEWS THANKS
%license COPYING
@ -48,8 +48,5 @@ chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop
%changelog
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 0.8.1-1
- Update to 0.8.1
* Tue Jul 14 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.8.0-1
- Init package