xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.spec
2020-07-14 18:35:41 +08:00

55 lines
1.3 KiB
RPMSpec

%global xfceversion 4.14
%global _hardened_build 1
Name: xfce4-cpugraph-plugin
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}/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
It displays a graph of the recent system load using information provided
by the kernel. The colors and the size of the plugin are customizable.
%prep
%autosetup
%build
%configure
%make_build
%install
%make_install
find %{buildroot} -name '*.la' -exec rm -f {} ';'
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
%find_lang %{name}
%check
make check
%files -f %{name}.lang
%doc AUTHORS ChangeLog README NEWS
%license COPYING
%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop
%{_datadir}/icons/hicolor/*/*/*
%changelog
* Tue Jul 14 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.1.0-1
- Init package