diff --git a/xfce4-fsguard-plugin-1.1.1.tar.bz2 b/xfce4-fsguard-plugin-1.1.1.tar.bz2 new file mode 100644 index 0000000..783b0ce Binary files /dev/null and b/xfce4-fsguard-plugin-1.1.1.tar.bz2 differ diff --git a/xfce4-fsguard-plugin.spec b/xfce4-fsguard-plugin.spec new file mode 100644 index 0000000..4f04ffe --- /dev/null +++ b/xfce4-fsguard-plugin.spec @@ -0,0 +1,52 @@ +%global xfceversion 4.14 +%global _hardened_build 1 +Name: xfce4-fsguard-plugin +Version: 1.1.1 +Release: 1 +Summary: Filesystem monitor 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}/1.1/%{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 fsguard plugin checks free space on a chosen mount point frequently and +displays an alarm if free space is less than given alarm limit. + +%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 +%doc AUTHORS NEWS README +%license COPYING +%{_libdir}/xfce4/panel/plugins/*.so +%{_datadir}/xfce4/panel/plugins/*.desktop +%{_datadir}/icons/hicolor/*/*/* + +%changelog +* Wed Jul 15 2020 - 1.1.1-1 +- Init package