~ubuntu-branches/ubuntu/maverick/nautilus-python/maverick

« back to all changes in this revision

Viewing changes to nautilus-python.spec.in

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-02-11 11:06:14 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060211110614-pwyig7smnmor9udv
Tags: 0.4.2-0ubuntu1
* Sync with Debian
* New upstream version:
  - Make it work again with nautilus >= 2.13.4
  - Minor bug fixes
* debian/patches/01_fix_python.patch:
  - changes from the CVS, fix the python path and a crasher when 
    no .py is used
* debian/rules:
  - use simple-patchsys.mk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Name:           nautilus-python
 
2
Summary:        python bindings for GNOME 2's nautilus.
 
3
Version:        @VERSION@
 
4
Release:        1
 
5
 
 
6
%define python python2
 
7
%define pyver %(%{__python} -c "import sys; print sys.version[:3]")
 
8
 
 
9
Source:         %{name}-%{version}.tar.gz
 
10
 
 
11
License:        LGPL
 
12
Group:          Development/Languages
 
13
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
14
 
 
15
Requires:       gnome-python2-gconf
 
16
Requires:       pygtk2 >= 2.3.95
 
17
 
 
18
BuildRequires:  pygtk2-devel >= 2.3.95
 
19
BuildRequires:  %{python}-devel >= 2.3.0
 
20
BuildRequires:  eel2-devel >= 2.8.1
 
21
BuildRequires:  nautilus-devel
 
22
 
 
23
Provides:       nautilus-python-devel
 
24
 
 
25
%description
 
26
These are unstable bindings for the nautilus extension library
 
27
introduced in Gnome 2.6.
 
28
 
 
29
%prep
 
30
%setup -q -n %{name}-%{version}
 
31
 
 
32
%build
 
33
%configure
 
34
make
 
35
 
 
36
%install
 
37
rm -rf $RPM_BUILD_ROOT
 
38
%makeinstall NAUTILUS_LIBDIR=$RPM_BUILD_ROOT%{_libdir}
 
39
find $RPM_BUILD_ROOT -name '*.la' -exec rm {} \;
 
40
 
 
41
%clean
 
42
rm -rf $RPM_BUILD_ROOT
 
43
 
 
44
%files
 
45
%defattr(-,root,root,-)
 
46
%doc AUTHORS ChangeLog NEWS
 
47
%{_libdir}/nautilus-python
 
48
%{_libdir}/nautilus/extensions-1.0
 
49
%{_libdir}/pkgconfig/nautilus-python.pc
 
50
 
 
51
%changelog
 
52
* Sat Dec 11 2004 Thomas Vander Stichele <thomas at apestaart dot org>
 
53
- initial spec file