xfce4-netload-plugin/xfce4-netload-plugin.spec

51 lines
1.4 KiB
RPMSpec
Raw Permalink Normal View History

2021-06-25 12:17:24 +08:00
%global minorversion 1.4
%global xfceversion 4.16
2020-07-15 19:17:00 +08:00
%global _hardened_build 1
Name: xfce4-netload-plugin
2021-06-25 12:17:24 +08:00
Version: 1.4.0
2020-07-15 19:17:00 +08:00
Release: 1
Summary: Network-load monitor for the Xfce panel
License: GPLv2+
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
2021-06-25 12:17:24 +08:00
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
2020-07-15 19:17:00 +08:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-c++
2021-06-25 12:17:24 +08:00
BuildRequires: pkgconfig(libxfce4panel-2.0) >= %{xfceversion}
BuildRequires: pkgconfig(libxfce4ui-2) >= %{xfceversion}
2020-07-15 19:17:00 +08:00
BuildRequires: libxml2-devel
BuildRequires: gettext, intltool
2021-06-25 12:17:24 +08:00
2020-07-15 19:17:00 +08:00
Requires: xfce4-panel >= %{xfceversion}
%description
A network-load monitor plugin for the Xfce panel.
%prep
%autosetup
%build
%configure
%make_build
%install
%make_install
%find_lang %{name}
2021-06-25 12:17:24 +08:00
chmod 755 %{buildroot}/%{_libdir}/xfce4/panel/plugins/libnetload.so
rm -f %{buildroot}/%{_libdir}/xfce4/panel/plugins/libnetload.la
2020-07-15 19:17:00 +08:00
%files -f %{name}.lang
%doc AUTHORS ChangeLog README
%license COPYING
%{_datadir}/icons/hicolor/*/*/*
2021-06-25 12:17:24 +08:00
%{_libdir}/xfce4/panel/plugins/libnetload.so
2020-07-15 19:17:00 +08:00
%{_datadir}/xfce4/panel/plugins/*.desktop
%changelog
2021-06-25 12:17:24 +08:00
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.4.0-1
- Update to 1.4.0
2020-07-15 19:17:00 +08:00
* Wed Jul 15 2020 <dillon.chen@turbolinux.com.cn> - 1.3.2-1
- Init package