diff --git a/xfce4-cpugraph-plugin-1.1.0.tar.bz2 b/xfce4-cpugraph-plugin-1.1.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..b1af7aae4647e6473954af47d51556d10c685ee3 Binary files /dev/null and b/xfce4-cpugraph-plugin-1.1.0.tar.bz2 differ diff --git a/xfce4-cpugraph-plugin.spec b/xfce4-cpugraph-plugin.spec new file mode 100644 index 0000000000000000000000000000000000000000..3472ecce54fdce3de40e65951ee9dde5bf99f40a --- /dev/null +++ b/xfce4-cpugraph-plugin.spec @@ -0,0 +1,54 @@ +%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 - 1.1.0-1 +- Init package