From ec828f5633ebaa1e3a201aeaf50e126ae65f1428 Mon Sep 17 00:00:00 2001 From: Trond Danielsen Date: Tue, 24 Apr 2007 20:12:10 +0000 Subject: [PATCH] Inital import. --- .cvsignore | 1 + nautilus-python.spec | 78 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 80 insertions(+) create mode 100644 nautilus-python.spec diff --git a/.cvsignore b/.cvsignore index e69de29..d45fc9f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +nautilus-python-0.4.3.tar.gz diff --git a/nautilus-python.spec b/nautilus-python.spec new file mode 100644 index 0000000..533da7c --- /dev/null +++ b/nautilus-python.spec @@ -0,0 +1,78 @@ +Name: nautilus-python +Version: 0.4.3 +Release: 3%{?dist} +Summary: Python bindings for Nautilus + +Group: Development/Libraries +License: GPL +URL: http://www.gnome.org/ +Source0: http://ftp.acc.umu.se/pub/GNOME/sources/%{name}/0.4/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: python-devel +BuildRequires: nautilus-devel +BuildRequires: gnome-python2-devel +BuildRequires: eel2-devel +BuildRequires: pygtk2-devel +Requires: nautilus + +%description +Python bindings for Nautilus + + +%package devel +Summary: Python bindings for Nautilus +Group: Development/Libraries +License: GPL +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +Python bindings for Nautilus + + +%prep +%setup -q + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +mv $RPM_BUILD_ROOT/%{_docdir}/%{name} installed_docs +rm $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-1.0/*.la +rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc README AUTHORS COPYING NEWS +%{_libdir}/%{name} +%{_libdir}/nautilus/extensions-1.0/lib%{name}.* + + +%files devel +%defattr(-,root,root,-) +%doc installed_docs/examples +%{_libdir}/pkgconfig/%{name}.pc + + +%changelog +* Sat Apr 21 2007 Trond Danelsen - 0.4.3-3 +- Moved example code to devel package. + +* Thu Apr 19 2007 Jef Spaleta - 0.4.3-2 +- Package review corrections + +* Wed Apr 04 2007 Trond Danielsen - 0.4.3-1 +- Initial version diff --git a/sources b/sources index e69de29..751a1d7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f4bd5de3a9e01c80fc0a2ef7aeb64dd7 nautilus-python-0.4.3.tar.gz