Init package
This commit is contained in:
parent
f201d2e934
commit
bdc7d77936
BIN
xfce4-cpugraph-plugin-1.1.0.tar.bz2
Normal file
BIN
xfce4-cpugraph-plugin-1.1.0.tar.bz2
Normal file
Binary file not shown.
54
xfce4-cpugraph-plugin.spec
Normal file
54
xfce4-cpugraph-plugin.spec
Normal file
@ -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 <dillon.chen@turbolinux.com.cn> - 1.1.0-1
|
||||
- Init package
|
||||
Loading…
x
Reference in New Issue
Block a user