57 lines
1.5 KiB
RPMSpec
57 lines
1.5 KiB
RPMSpec
%global minorversion 4.1
|
|
%global xfceversion 4.16
|
|
%global _hardened_build 1
|
|
|
|
Name: xfce4-genmon-plugin
|
|
Version: 4.1.1
|
|
Release: 1
|
|
Summary: Generic monitor plugin for the Xfce panel
|
|
License: LGPLv2+
|
|
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
|
|
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libxfce4ui-devel >= %{xfceversion}
|
|
BuildRequires: xfce4-panel-devel >= %{xfceversion}
|
|
BuildRequires: intltool
|
|
BuildRequires: gettext
|
|
|
|
Requires: xfce4-panel >= %{xfceversion}
|
|
|
|
%description
|
|
This plugin repeatedly spawns the indicated script/program, displaying its
|
|
output as a string in the panel. It is useful for periodic status monitoring.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%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
|
|
%{_libdir}/xfce4/panel/plugins/*.so
|
|
%{_datadir}/icons/hicolor/*/apps/org.xfce.genmon.*g
|
|
%{_datadir}/xfce4/panel/plugins/*.desktop
|
|
|
|
%changelog
|
|
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 4.1.1-1
|
|
- Update to 4.1.1
|
|
|
|
* Wed Jul 15 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 4.0.2-1
|
|
- Init package
|