#exclude plugin .so from provides %global __provides_exclude_from %{_libdir}/xfce4/panel/plugins/.*\\.so %define url_ver %(echo %{version} | cut -d. -f1,2) Summary: Clipboard history plugin for the Xfce panel Name: xfce4-clipman-plugin Version: 1.4.3 Release: %mkrel 1 License: BSD Group: Graphical desktop/Xfce URL: https://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin Source0: https://archive.xfce.org/src/panel-plugins/xfce4-clipman-plugin/%{url_ver}/%{name}-%{version}.tar.bz2 Patch0: xfce4-clipman-plugin-1.2.6-Mageia-bug-action.patch BuildRequires: intltool BuildRequires: pkgconfig(exo-1) BuildRequires: pkgconfig(libxfce4ui-2) BuildRequires: pkgconfig(libxfce4panel-2.0) BuildRequires: pkgconfig(xtst) BuildRequires: pkgconfig(unique-1.0) BuildRequires: pkgconfig(libqrencode) Requires: xfce4-panel %description Clipboard history panel plugin for the Xfce Desktop Environment. %prep %setup -q %autopatch -p1 %build %configure2_5x \ --disable-static \ --enable-libqrencode %make %install %makeinstall_std #we don't want these find %{buildroot} -name "*.la" -delete %find_lang %{name} %files -f %{name}.lang %doc README ChangeLog COPYING AUTHORS %{_sysconfdir}/xdg/autostart/xfce4-clipman-plugin-autostart.desktop %{_sysconfdir}/xdg/xfce4/panel/xfce4-clipman-actions.xml %{_bindir}/xfce4-* %{_libdir}/xfce4/panel/plugins/libclipman.so %{_datadir}/xfce4/panel/plugins/%{name}.desktop %{_datadir}/applications/xfce4-clipman.desktop %{_datadir}/appdata/xfce4-clipman.appdata.xml %{_datadir}/icons/hicolor/*/apps/*