Compare commits
11 Commits
f47b77bd00
...
a0d6124972
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0d6124972 | ||
|
|
f8a1aa0d24 | ||
|
|
a2d366ac84 | ||
|
|
ad4ca278cb | ||
|
|
e81191be6d | ||
|
|
0bd2331e11 | ||
|
|
0f02f379f3 | ||
|
|
0e0d0f8a61 | ||
|
|
aa7ad3ac97 | ||
|
|
903914cf66 | ||
|
|
ea44c0cc43 |
BIN
xfce4-systemload-plugin-1.2.3.tar.bz2
Normal file
BIN
xfce4-systemload-plugin-1.2.3.tar.bz2
Normal file
Binary file not shown.
52
xfce4-systemload-plugin.spec
Normal file
52
xfce4-systemload-plugin.spec
Normal file
@ -0,0 +1,52 @@
|
||||
%global xfceversion 4.14
|
||||
|
||||
Name: xfce4-systemload-plugin
|
||||
Version: 1.2.3
|
||||
Release: 1
|
||||
Summary: Systemload monitor for the Xfce panel
|
||||
License: BSD
|
||||
#Group: Development/Libraries
|
||||
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
|
||||
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.2/%{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: upower-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: intltool
|
||||
Requires: xfce4-panel >= %{xfceversion}
|
||||
|
||||
%description
|
||||
This plugins displays the current CPU load, the memory in use, the swap space
|
||||
and the system uptime in the Xfce4 panel.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
# remove la file
|
||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
# make sure debuginfo is generated properly
|
||||
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc AUTHORS ChangeLog NEWS README
|
||||
%license COPYING
|
||||
%{_libdir}/xfce4/panel/plugins/*.so
|
||||
%{_datadir}/xfce4/panel/plugins/*.desktop
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.2.3-1
|
||||
- Init package
|
||||
4
xfce4-systemload-plugin.yaml
Normal file
4
xfce4-systemload-plugin.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: git
|
||||
src_repo: https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin.git
|
||||
tag_prefix: "xfce4-systemload-plugin-"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user