]> git.pld-linux.org Git - packages/python-gnome.git/blame - python-gnome.spec
- tabs in preamble
[packages/python-gnome.git] / python-gnome.spec
CommitLineData
bca112f3 1%define module gnome-python
06686f7e 2%define pygtk_req 2:2.10.3
21b12030 3%define pyorbit_req 2.14.1
b97890eb 4Summary: GNOME bindings for Python
1b162a5c 5Summary(pl.UTF-8): Wiązania Pythona do bibliotek GNOME
b9570cb0 6Name: python-gnome
06686f7e
MB
7Version: 2.16.2
8Release: 1
9bf44066 9License: GPL v2+/LGPL v2.1+
b9570cb0 10Group: Libraries/Python
31016246 11Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-python/2.16/%{module}-%{version}.tar.bz2
06686f7e
MB
12# Source0-md5: b365a772c8c9eac24b368c7e26845dc8
13BuildRequires: GConf2-devel >= 2.16.0
76ec07d5 14BuildRequires: automake
bd4a4a97 15BuildRequires: autoconf
fb7b9f42 16BuildRequires: gnome-common >= 2.12.0
06686f7e
MB
17BuildRequires: gnome-vfs2-devel >= 2.16.1
18BuildRequires: gtk+2-devel >= 2:2.10.6
31016246 19BuildRequires: libbonobo-devel >= 2.16.0
06686f7e 20BuildRequires: libgnomeui-devel >= 2.16.1
bd4a4a97 21BuildRequires: libtool
4c510e20 22BuildRequires: pkgconfig
271f44c6 23BuildRequires: popt-devel
97159388 24BuildRequires: python-devel >= 1:2.3.2
8fec1a7c
JB
25BuildRequires: python-pyorbit-devel >= %{pyorbit_req}
26BuildRequires: python-pygtk-devel >= %{pygtk_req}
fb7b9f42 27BuildRequires: rpm-pythonprov
4dd5a82f 28BuildRequires: rpmbuild(macros) >= 1.197
b9570cb0 29%pyrequires_eq python-modules
c072c7c5 30Requires: %{name}-bonobo = %{version}-%{release}
31Requires: %{name}-gconf = %{version}-%{release}
32Requires: %{name}-vfs = %{version}-%{release}
06686f7e 33Requires: libgnomeui >= 2.16.1
9bf44066 34Obsoletes: gnome-python
35Obsoletes: gnome-python-nautilus
8101b240 36Obsoletes: python-gnome-nautilus
b9570cb0 37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
4c510e20 39%define pydefsdir %(pkg-config --variable=defsdir pygtk-2.0)
40
b9570cb0 41%description
b97890eb 42GNOME bindings for Python.
b9570cb0 43
de97f07e
JR
44%description -l pl.UTF-8
45Wiązania Pythona do bibliotek GNOME.
b9570cb0 46
4c510e20 47%package bonobo
48Summary: Bonobo bindings for Python
1b162a5c 49Summary(pl.UTF-8): Wiązania Pythona do biblioteki Bonobo
4c510e20 50Group: Libraries/Python
06686f7e 51Requires: python-pygobject >= 2.12.2
8fec1a7c 52Requires: python-pyorbit >= %{pyorbit_req}
4c510e20 53
54%description bonobo
55Bonobo bindings for Python.
56
de97f07e
JR
57%description bonobo -l pl.UTF-8
58Wiązania Pythona do biblioteki Bonobo.
6b176ae5 59
4c510e20 60%package bonobo-ui
61Summary: Bonobo User Interface bindings for Python
1b162a5c 62Summary(pl.UTF-8): Wiązania Pythona do biblioteki interfejsu użytkownika Bonobo
4c510e20 63Group: Libraries/Python
c072c7c5 64Requires: %{name} = %{version}-%{release}
9c5e43ae
JB
65Requires: %{name}-bonobo = %{version}-%{release}
66Requires: %{name}-canvas = %{version}-%{release}
c072c7c5 67Requires: %{name}-gconf = %{version}-%{release}
59b784c9 68Requires: %{name}-vfs = %{version}-%{release}
4c510e20 69
70%description bonobo-ui
71Bonobo User Interface bindings for Python.
72
de97f07e
JR
73%description bonobo-ui -l pl.UTF-8
74Wiązania Pythona do biblioteki interfejsu użytkownika Bonobo.
6b176ae5 75
4c510e20 76%package canvas
b97890eb 77Summary: GNOME Canvas bindings for Python
1b162a5c 78Summary(pl.UTF-8): Wiązania Pythona do biblioteki GNOME Canvas
4c510e20 79Group: Libraries/Python
8fec1a7c 80Requires: python-pygtk-gtk >= %{pygtk_req}
4c510e20 81
82%description canvas
b97890eb 83GNOME Canvas bindings for Python.
4c510e20 84
de97f07e
JR
85%description canvas -l pl.UTF-8
86Wiązania Pythona do biblioteki GNOME Canvas.
6b176ae5 87
4c510e20 88%package gconf
89Summary: GConf bindings for Python
1b162a5c 90Summary(pl.UTF-8): Wiązania Pythona do biblioteki GConf
4c510e20 91Group: Libraries/Python
06686f7e 92Requires: python-pygobject >= 2.12.2
c072c7c5 93Requires: python-pyorbit >= %{pyorbit_req}
4c510e20 94
95%description gconf
96GConf bindings for Python.
97
de97f07e
JR
98%description gconf -l pl.UTF-8
99Wiązania Pythona do biblioteki GConf.
6b176ae5 100
4c510e20 101%package ui
b97890eb 102Summary: GNOME User Interface bindings for Python
1b162a5c 103Summary(pl.UTF-8): Wiązania Pythona do biblioteki interfejsu użytkownika GNOME
4c510e20 104Group: Libraries/Python
9c5e43ae 105Requires: %{name}-bonobo-ui = %{version}-%{release}
4c510e20 106
107%description ui
b97890eb 108GNOME User Interface bindings for Python.
4c510e20 109
de97f07e
JR
110%description ui -l pl.UTF-8
111Wiązania Pythona do biblioteki interfejsu użytkownika GNOME.
6b176ae5 112
4c510e20 113%package vfs
b97890eb 114Summary: GNOME VFS bindings for Python
1b162a5c 115Summary(pl.UTF-8): Wiązania Pythona do biblioteki GNOME VFS
4c510e20 116Group: Libraries/Python
c072c7c5 117Requires: %{name}-bonobo = %{version}-%{release}
118Requires: %{name}-gconf = %{version}-%{release}
4c510e20 119
120%description vfs
b97890eb 121GNOME VFS bindings for Python.
4c510e20 122
de97f07e
JR
123%description vfs -l pl.UTF-8
124Wiązania Pythona do biblioteki GNOME VFS.
6b176ae5 125
4c510e20 126%package devel
b97890eb 127Summary: Development files for GNOME bindings for Python
1b162a5c 128Summary(pl.UTF-8): Pliki programistyczne wiązań Pythona do GNOME
4c510e20 129Group: Libraries/Python
9c5e43ae 130Requires: %{name}-ui = %{version}-%{release}
3ec4c547 131Requires: python-pygtk-devel >= %{pygtk_req}
4c510e20 132
133%description devel
b97890eb 134Development files for GNOME bindings for Python.
4c510e20 135
de97f07e
JR
136%description devel -l pl.UTF-8
137Pliki programistyczne wiązań Pythona do GNOME.
6b176ae5 138
890b5ea3 139%package examples
8c909570 140Summary: Example programs for python-gnome
1b162a5c 141Summary(pl.UTF-8): Przykładowe programy do python-gnome
8c909570 142Group: Libraries/Python
890b5ea3 143Requires: %{name}-devel = %{version}-%{release}
144
145%description examples
146This package contains example programs for python-gnome.
147
de97f07e
JR
148%description examples -l pl.UTF-8
149Ten pakiet zawiera przykładowe programy dla python-gnome.
890b5ea3 150
b9570cb0 151%prep
152%setup -q -n %{module}-%{version}
153
154%build
bd4a4a97 155%{__libtoolize}
156%{__aclocal}
157%{__autoconf}
158%{__autoheader}
159%{__automake}
b9570cb0 160%configure
161%{__make}
162
163%install
164rm -rf $RPM_BUILD_ROOT
165
890b5ea3 166install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
167
8fec1a7c
JB
168%{__make} install \
169 DESTDIR=$RPM_BUILD_ROOT
170
890b5ea3 171cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
172
3ec4c547 173rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/{*.la,*/{*.la,*.py}}
2a30251e 174rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.la
b9570cb0 175
176%clean
177rm -rf $RPM_BUILD_ROOT
178
3606f544 179%post -p /sbin/ldconfig
180%postun -p /sbin/ldconfig
4c510e20 181
b9570cb0 182%files
183%defattr(644,root,root,755)
0a64c096 184%doc ChangeLog AUTHORS
4c510e20 185%dir %{py_sitedir}/gtk-2.0/gnome
186%{py_sitedir}/gtk-2.0/gnome/__init__.py?
187%attr(755,root,root) %{py_sitedir}/gtk-2.0/gnome/_gnome*.so
9bf44066 188%dir %{_datadir}/pygtk/2.0/argtypes
80364dcc 189
890b5ea3 190%files devel
191%defattr(644,root,root,755)
192%{_includedir}/%{module}-2.0
193%{pydefsdir}/*
194%{_pkgconfigdir}/*
195
196%files examples
197%defattr(644,root,root,755)
198%{_examplesdir}/%{name}-%{version}
199
4c510e20 200%files bonobo
201%defattr(644,root,root,755)
80364dcc 202%dir %{py_sitedir}/gtk-2.0/bonobo
203%{py_sitedir}/gtk-2.0/bonobo/__init__.py?
4c510e20 204%attr(755,root,root) %{py_sitedir}/gtk-2.0/bonobo/_bonobo*.so
4c510e20 205%attr(755,root,root) %{py_sitedir}/gtk-2.0/bonobo/activation*.so
9bf44066 206%{_datadir}/pygtk/2.0/argtypes/bonobo-arg-types.py*
80364dcc 207
4c510e20 208%files bonobo-ui
209%defattr(644,root,root,755)
210%attr(755,root,root) %{py_sitedir}/gtk-2.0/bonobo/ui*.so
4c510e20 211
4c510e20 212%files canvas
213%defattr(644,root,root,755)
9bf44066 214%attr(755,root,root) %{py_sitedir}/gtk-2.0/gnomecanvas*.so
215%{py_sitedir}/gtk-2.0/gnome/canvas.py[co]
4c510e20 216
217%files gconf
218%defattr(644,root,root,755)
219%attr(755,root,root) %{py_sitedir}/gtk-2.0/gconf*.so
9bf44066 220%{_datadir}/pygtk/2.0/argtypes/gconf-arg-types.py*
581322de 221
4c510e20 222%files ui
223%defattr(644,root,root,755)
224%attr(755,root,root) %{py_sitedir}/gtk-2.0/gnome/ui*.so
4c510e20 225
226%files vfs
227%defattr(644,root,root,755)
9e32f8d6 228%dir %{py_sitedir}/gtk-2.0/gnomevfs
229%attr(755,root,root) %{py_sitedir}/gtk-2.0/gnomevfs/*.so
2a30251e 230%attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/*.so
9e32f8d6 231%{py_sitedir}/gtk-2.0/gnomevfs/*.py[co]
9bf44066 232%{py_sitedir}/gtk-2.0/gnome/vfs.py[co]
This page took 0.098208 seconds and 4 git commands to generate.