Package init

(cherry picked from commit 92c8abd2974e1af2d166a8efb07532ac765b5a62)
This commit is contained in:
cherry530 2021-09-09 16:42:36 +08:00 committed by openeuler-sync-bot
parent ac004e6d8a
commit 2a5d92338b
2 changed files with 7 additions and 10 deletions

Binary file not shown.

View File

@ -1,22 +1,21 @@
%global minorversion 1.2
%global xfceversion 4.16
%global xfceversion 4.14
%global _hardened_build 1
Name: xfce4-cpugraph-plugin
Version: 1.2.3
Version: 1.1.0
Release: 1
Summary: CPU load graph plugin for the Xfce4 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}/1.1/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: libxfce4ui-devel
BuildRequires: xfce4-panel-devel
BuildRequires: intltool
BuildRequires: gettext
Requires: xfce4-panel >= %{xfceversion}
%description
@ -39,19 +38,17 @@ chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
%find_lang %{name}
%check
make check
%files -f %{name}.lang
%doc AUTHORS ChangeLog NEWS
%doc AUTHORS ChangeLog README NEWS
%license COPYING
%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop
%{_datadir}/icons/hicolor/*/*/*
%changelog
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.2.3-1
- Update to 1.2.3
* Tue Jul 14 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.1.0-1
- Init package