#don't provide plugin .so %global __provides_exclude_from %{_libdir}/xfce4/panel/plugins/.*\\.so %define url_ver %(echo %{version}| cut -d. -f1,2) Summary: Mail Watcher plugin for the Xfce panel Name: xfce4-mailwatch-plugin Version: 1.3.0 Release: %mkrel 1 License: GPLv2+ Group: Graphical desktop/Xfce URL: https://docs.xfce.org/panel-plugins/xfce4-mailwatch-plugin Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{url_ver}/%{name}-%{version}.tar.bz2 # Patch originally from Fedora Patch3: xfce4-mailwatch-plugin-1.1.0-mbox-refresh-interval.patch BuildRequires: intltool BuildRequires: pkgconfig(exo-2) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libxfce4util-1.0) BuildRequires: pkgconfig(libxfce4ui-2) BuildRequires: pkgconfig(libxfce4panel-2.0) BuildRequires: pkgconfig(gnutls) Requires: xfce4-panel %description Mailwatch is a mail watcher plugin for the Xfce 4 panel. %prep %setup -q %autopatch -p1 %build %configure \ --disable-static \ --enable-ssl %make_build %install %make_install #we don't want these find %{buildroot} -name "*.la" -delete %find_lang %{name} %files -f %{name}.lang %doc AUTHORS ChangeLog README %{_libdir}/xfce4/panel/plugins/libmailwatch.so %{_datadir}/xfce4/panel/plugins/mailwatch.desktop %{_iconsdir}/hicolor/*/apps/*.png %{_iconsdir}/hicolor/scalable/apps/*.svg