%define url_ver %(echo %{version}|cut -d. -f1,2) %define _exclude_files_from_autoreq %_docdir/%name/examples/.* Name: nautilus-python Summary: Python bindings for GNOME nautilus Version: 1.1 Release: %mkrel 4 Source: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.bz2 URL: http://www.gnome.org License: GPLv2+ and LGPLv2+ Group: Development/Python BuildRequires: python-devel BuildRequires: pkgconfig(pygobject-3.0) >= 3.0.0 BuildRequires: pkgconfig(libnautilus-extension) >= 2.32 %description Python bindings for the Nautilus extension framework. %prep %setup -q %build %configure2_5x %make %install %makeinstall_std #we don't want these find %{buildroot} -name '*.la' -exec rm {} \; #handle docs in files section mv %buildroot%_datadir/doc/%name installed-docs mkdir -p %{buildroot}%{_libdir}/nautilus/extensions-3.0/python %files %doc AUTHORS ChangeLog NEWS installed-docs/* %dir %{_libdir}/nautilus/extensions-3.0/python/ %{_libdir}/nautilus/extensions-3.0/lib%{name}.so %{_libdir}/pkgconfig/%{name}.pc %changelog * Sat Jan 12 2013 umeabot <umeabot> 1.1-4.mga3 + Revision: 360803 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Oct 29 2012 fwang <fwang> 1.1-3.mga3 + Revision: 311440 - pygconf is not required now * Tue Feb 14 2012 ovitters <ovitters> 1.1-2.mga2 + Revision: 208946 - clean spec * Mon Oct 17 2011 wally <wally> 1.1-1.mga2 + Revision: 155947 - own nautilus python extensions dir - new version 1.1 - build with pygobject-3.0 - drop old provides/obsoletes * Sun Jul 10 2011 wally <wally> 1.0-1.mga2 + Revision: 121761 - new version 1.0 * Sat Apr 23 2011 sander85 <sander85> 0.7.3-1.mga1 + Revision: 89931 - imported package nautilus-python