Init package

This commit is contained in:
dillon chen 2020-07-24 10:44:34 +08:00
parent 8401a36a66
commit 0044e62271
2 changed files with 50 additions and 0 deletions

Binary file not shown.

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

@ -0,0 +1,50 @@
%global xfceversion 4.14
Name: xfce4-wavelan-plugin
Version: 0.6.1
Release: 1
Summary: WaveLAN plugin 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}/0.6/%{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: gettext
BuildRequires: intltool
Requires: xfce4-panel >= %{xfceversion}
%description
The WaveLAN plugin monitors a wireless LAN interface. It displays
stats for signal state, signal quality and network name (SSID).
%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
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop
%changelog
* Fri Jul 24 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.6.1-1
- Init package