%define oname nautilus-python Name: python-nautilus Summary: Python bindings for GNOME 2's nautilus Version: 0.4.0 Release: 1mdk Source: http://ftp.gnome.org/pub/GNOME/sources/nautilus-python/%{oname}-%{version}.tar.bz2 URL: http://www.gnome.org License: LGPL Group: Development/Python BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: gnome-python-gconf BuildRequires: pygtk2.0-devel BuildRequires: gnome-python BuildRequires: python-devel BuildRequires: nautilus-devel >= 2.8 %description These are unstable bindings for the nautilus extension library introduced in Gnome 2.6. %prep %setup -q -n %{oname}-%{version} %build %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall NAUTILUS_LIBDIR=$RPM_BUILD_ROOT%{_libdir} find $RPM_BUILD_ROOT -name '*.la' -exec rm {} \; %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog NEWS %{_libdir}/nautilus-python %{_libdir}/nautilus/extensions-1.0/* %{_libdir}/pkgconfig/nautilus-python.pc %changelog * Tue May 31 2005 Götz Waschk <waschk@mandriva.org> 0.4.0-1mdk - initial mdk package * Sat Dec 11 2004 Thomas Vander Stichele <thomas at apestaart dot org> - initial spec file