%define url_ver %(echo %{version}|cut -d. -f1,2) #don't provide plugin .so %define _exclude_files_from_autoprov %{_libdir}/xfce4/panel/plugins/.*\\.so Summary: A places plugin for the Xfce panel Name: xfce4-places-plugin Version: 1.5.0 Release: %mkrel 2 License: GPLv2+ Group: Graphical desktop/Xfce URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-places-plugin Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{url_ver}/%{name}-%{version}.tar.bz2 BuildRequires: intltool BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libxfce4util-1.0) BuildRequires: pkgconfig(libxfce4ui-1) BuildRequires: pkgconfig(libxfce4panel-1.0) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(exo-1) Requires: xfce4-panel %description A places plugin for the Xfce panel. %prep %setup -q %apply_patches %build %configure2_5x %make %install %makeinstall_std #we don't want these find %{buildroot} -name "*.la" -delete %find_lang %{name} %files -f %{name}.lang %doc ChangeLog AUTHORS NEWS %{_bindir}/xfce4-popup-places %{_libdir}/xfce4/panel/plugins/libplaces.so %{_datadir}/xfce4/panel/plugins/places.desktop %changelog * Mon Jan 14 2013 umeabot <umeabot> 1.5.0-2.mga3 + Revision: 386860 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Sep 28 2012 wally <wally> 1.5.0-1.mga3 + Revision: 299052 - new version 1.5.0 - drop upstream applied patch - exclude plugin .so from provides * Sat Sep 01 2012 wally <wally> 1.4.0-2.mga3 + Revision: 286866 - add a patch from upstream bugzilla to use xdg icons (xfce#9253) * Tue Aug 28 2012 wally <wally> 1.4.0-1.mga3 + Revision: 284834 - new version 1.4.0 * Tue May 29 2012 wally <wally> 1.3.0-1.mga3 + Revision: 249350 - new version 1.3.0 - clean .spec + ahmad <ahmad> - imported package xfce4-places-plugin