%define url_ver %(echo %{version} | cut -d. -f1,2) #don't provide plugin .so %global __provides_exclude_from %{_libdir}/xfce4/panel/plugins/.*\\.so Summary: Mount plugin for the Xfce panel Name: xfce4-mount-plugin Version: 1.1.5 Release: %mkrel 1 License: GPLv2+ Group: Graphical desktop/Xfce URL: https://docs.xfce.org/panel-plugins/xfce4-mount-plugin Source0: https://archive.xfce.org/src/panel-plugins/%{name}/%{url_ver}/%{name}-%{version}.tar.bz2 BuildRequires: intltool BuildRequires: pkgconfig(libxfce4ui-2) BuildRequires: pkgconfig(libxfce4panel-2.0) Requires: xfce4-panel >= 4.12.0 %description A mount panel plugin for the Xfce Desktop Environment. %prep %autosetup -p1 %build %configure %make_build %install %make_install #we don't want these find %{buildroot} -name "*.la" -delete %find_lang %{name} %files -f %{name}.lang %doc README* ChangeLog AUTHORS %{_datadir}/xfce4/panel/plugins/%{name}.desktop %{_libdir}/xfce4/panel/plugins/libmount.so %{_iconsdir}/hicolor/scalable/apps/xfce-mount.svg