!1 Init package

Merge pull request !1 from 陈棋德/master
This commit is contained in:
openeuler-ci-bot 2020-08-03 07:30:04 +08:00 committed by Gitee
commit 2264c2ffd6
2 changed files with 50 additions and 0 deletions

Binary file not shown.

50
xfce4-netload-plugin.spec Normal file
View File

@ -0,0 +1,50 @@
%global xfceversion 4.14
%global _hardened_build 1
Name: xfce4-netload-plugin
Version: 1.3.2
Release: 1
Summary: Network-load monitor for the Xfce 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.3/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: pkgconfig(libxfce4panel-1.0) >= %{xfceversion}
BuildRequires: pkgconfig(libxfce4ui-1) >= %{xfceversion}
BuildRequires: libxml2-devel
BuildRequires: gettext, intltool
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}
# 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
%files -f %{name}.lang
%doc AUTHORS ChangeLog README
%license COPYING
%{_datadir}/icons/hicolor/*/*/*
%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop
%changelog
* Wed Jul 15 2020 <dillon.chen@turbolinux.com.cn> - 1.3.2-1
- Init package