SPECS (AC-branch): python-pygtk.spec - Merged (copied) 2.12.1-2 fr...

matkor matkor at pld-linux.org
Sat May 3 10:00:41 CEST 2008


Author: matkor                       Date: Sat May  3 08:00:41 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- Merged (copied) 2.12.1-2 from HEAD.

---- Files affected:
SPECS:
   python-pygtk.spec (1.123.2.1 -> 1.123.2.2) 

---- Diffs:

================================================================
Index: SPECS/python-pygtk.spec
diff -u SPECS/python-pygtk.spec:1.123.2.1 SPECS/python-pygtk.spec:1.123.2.2
--- SPECS/python-pygtk.spec:1.123.2.1	Mon May 15 15:25:38 2006
+++ SPECS/python-pygtk.spec	Sat May  3 10:00:35 2008
@@ -8,155 +8,154 @@
 %define		module	pygtk
 
 Summary:	Python bindings for GTK+ 2.x libraries
-Summary(pl):	Wi±zania Pythona do bibliotek GTK+ 2.x
+Summary(pl.UTF-8):	WiÄ…zania Pythona do bibliotek GTK+ 2.x
 Name:		python-%{module}
-Version:	2.8.6
-Release:	1
+Version:	2.12.1
+Release:	2
 Epoch:		2
-License:	LGPL
+License:	LGPL v2.1+
 Group:		Libraries/Python
-Source0:	http://ftp.gnome.org/pub/gnome/sources/pygtk/2.8/%{module}-%{version}.tar.bz2
-# Source0-md5:	c69c2e5e86a8f21a5773df20e265fc3a
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.12/%{module}-%{version}.tar.bz2
+# Source0-md5:	a816346d750d61e3fa67a200e4292694
 Source1:	%{name}-python.m4
 Source2:	%{name}-jhflags.m4
 Patch0:		%{name}-pyc.patch
 URL:		http://www.pygtk.org/
-BuildRequires:	atk-devel >= 1:1.8.1
+BuildRequires:	atk-devel >= 1:1.20.0
 BuildRequires:	autoconf >= 2.52
-BuildRequires:	automake
-BuildRequires:	glib2-devel >= 1:2.8.0
-BuildRequires:	gtk+2-devel >= 2:2.8.0
-BuildRequires:	libglade2-devel >= 1:2.5.1
+BuildRequires:	automake >= 1:1.7
+BuildRequires:	gtk+2-devel >= 2:2.12.0
+BuildRequires:	libglade2-devel >= 1:2.6.0-4
 BuildRequires:	libtool
-BuildRequires:	pango-devel >= 1:1.10.0
+BuildRequires:	pkgconfig
+%{?with_numpy:BuildRequires:	python-Numeric-devel}
 BuildRequires:	python-devel >= 1:2.3.2
-%{?with_numpy:BuildRequires:	python-numpy-devel}
-BuildRequires:	python-pycairo-devel >= 1.0.0-1
+BuildRequires:	python-pycairo-devel >= 1.2.6
+BuildRequires:	python-pygobject-devel >= 2.14.1
+# needs /usr/share/doc/gtk-doc/html/pygobject/style.css
+BuildRequires:	python-pygobject-apidocs
+BuildRequires:	rpm-pythonprov
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Python bindings for GTK+ 2.x libraries. This package contains
 documentation and examples.
 
-%description -l pl
-Wi±zania Pythona do bibliotek GTK+ 2.x. Pakiet zawiera dokumentacjê
-oraz przyk³ady.
+%description -l pl.UTF-8
+WiÄ…zania Pythona do bibliotek GTK+ 2.x. Pakiet zawiera dokumentacjÄ™
+oraz przykłady.
 
 %package devel
 Summary:	Python bindings for GTK+ 2.x libraries - development files
-Summary(pl):	Wi±zania Pythona do bibliotek GTK+ 2.x - czê¶æ rozwojowa
+Summary(pl.UTF-8):	Wiązania Pythona do bibliotek GTK+ 2.x - część rozwojowa
 Group:		Development/Languages/Python
-Requires:	glib2-devel >= 1:2.8.0
-Requires:	gtk+2-devel >= 2:2.8.0
 Requires:	%{name}-atk = %{epoch}:%{version}-%{release}
 Requires:	%{name}-glade = %{epoch}:%{version}-%{release}
-Requires:	%{name}-gobject = %{epoch}:%{version}-%{release}
 Requires:	%{name}-gtk = %{epoch}:%{version}-%{release}
 Requires:	%{name}-pango = %{epoch}:%{version}-%{release}
+Requires:	gtk+2-devel >= 2:2.12.0
 Requires:	python-devel >= 1:2.3.2
-Obsoletes:	python-pygtk < 1:1.0
+Requires:	python-pygobject-devel >= 2.14.1
+Obsoletes:	python-pygtk < 2:2.12.1-2
 
 %description devel
 This package contains files required to build wrappers for GTK+ addon
 libraries so that they interoperate with Python bindings.
 
-%description devel -l pl
+%description devel -l pl.UTF-8
 Pakiet zawiera pliki wymagane do zbudowania funkcji do bibliotek GTK+,
-tak by mog³y te biblioteki kooperowaæ z wi±zaniami Pythona.
+tak by mogły te biblioteki kooperować z wiązaniami Pythona.
 
 %package examples
 Summary:	Example programs for pygtk
-Summary(pl):	Programy przyk³adowe do pygtk
+Summary(pl.UTF-8):	Programy przykładowe do pygtk
 Group:		Development/Languages/Python
 Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
-Obsoletes:	python-pygtk
 
 %description examples
 This package contains example programs for pygtk.
 
-%description examples -l pl
-Ten pakiet zawiera przyk³adowe programy dla pygtk.
-
-%package gobject
-Summary:	Python bindings for GObject library
-Summary(pl):	Wi±zania Pythona do biblioteki GObject
-Group:		Libraries/Python
-%pyrequires_eq	python-modules
-Requires:	glib2 >= 1:2.8.0
-Conflicts:	python-pygtk < 1:1.0
-Obsoletes:	python-pygtk-glarea
-
-%description gobject
-Python bindings for GObject library.
-
-%description gobject -l pl
-Wi±zania Pythona do biblioteki GObject.
+%description examples -l pl.UTF-8
+Ten pakiet zawiera przykładowe programy dla pygtk.
 
 %package gtk
 Summary:	Python bindings for GTK+ library
-Summary(pl):	Wi±zania Pythona do biblioteki GTK+
+Summary(pl.UTF-8):	WiÄ…zania Pythona do biblioteki GTK+
 Group:		Libraries/Python
 Requires:	%{name}-atk = %{epoch}:%{version}-%{release}
 Requires:	%{name}-pango = %{epoch}:%{version}-%{release}
-Requires:	gtk+2 >= 2:2.8.0
-Requires:	python-pycairo >= 0.5.0
-Conflicts:	python-pygtk < 1:1.0
+Requires:	gtk+2 >= 2:2.12.0
+Requires:	python-pycairo >= 1.2.3
 Obsoletes:	python-pygtk-glarea
+Conflicts:	python-pygtk < 1:1.0
 
 %description gtk
 Python bindings for GTK+ library.
 
-%description gtk -l pl
-Wi±zania Pythona do biblioteki GTK+.
+%description gtk -l pl.UTF-8
+WiÄ…zania Pythona do biblioteki GTK+.
 
 %package atk
 Summary:	Python bindings for ATK library
-Summary(pl):	Wi±zania Pythona do biblioteki ATK
+Summary(pl.UTF-8):	WiÄ…zania Pythona do biblioteki ATK
 Group:		Libraries/Python
-Requires:	%{name}-gobject = %{epoch}:%{version}-%{release}
-Requires:	atk >= 1:1.8.0
+Requires:	atk >= 1:1.20.0
+Requires:	python-pygobject >= 2.14.1
 
 %description atk
 Python bindings for ATK library.
 
-%description atk -l pl
-Wi±zania Pythona do biblioteki ATK.
+%description atk -l pl.UTF-8
+WiÄ…zania Pythona do biblioteki ATK.
 
 %package pango
 Summary:	Python bindings for Pango library
-Summary(pl):	Wi±zania Pythona do biblioteki Pango
+Summary(pl.UTF-8):	WiÄ…zania Pythona do biblioteki Pango
 Group:		Libraries/Python
-Requires:	%{name}-gobject = %{epoch}:%{version}-%{release}
-Requires:	pango >= 1:1.10.0
-Requires:	python-pycairo
+Requires:	pango >= 1:1.18.1
+Requires:	python-pycairo >= 1.2.2
+Requires:	python-pygobject >= 2.14.1
 
 %description pango
 Python bindings for Pango library.
 
-%description pango -l pl
-Wi±zania Pythona do biblioteki Pango.
+%description pango -l pl.UTF-8
+WiÄ…zania Pythona do biblioteki Pango.
 
 %package glade
 Summary:	Python bindings for Glade library
-Summary(pl):	Wi±zania Pythona do biblioteki Glade
+Summary(pl.UTF-8):	WiÄ…zania Pythona do biblioteki Glade
 Group:		Libraries/Python
 Requires:	%{name}-gtk = %{epoch}:%{version}-%{release}
-Requires:	libglade2 >= 1:2.5.0
+Requires:	libglade2 >= 1:2.6.2
 Obsoletes:	python-pygtk-libglade < 1:1.0
 
 %description glade
 Python bindings for Glade library.
 
-%description glade -l pl
-Wi±zania Pythona do biblioteki Glade.
+%description glade -l pl.UTF-8
+WiÄ…zania Pythona do biblioteki Glade.
+
+%package apidocs
+Summary:	pygtk API documentation
+Summary(pl.UTF-8):	Dokumentacja API pygtk
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+pygtk API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API pygtk.
 
 %prep
 %setup -q -n %{module}-%{version}
 %patch0 -p1
 
-mkdir m4
-cp %{SOURCE1} m4/python.m4
-cp %{SOURCE2} m4/jhflags.m4
+# don't remove it
+#mkdir m4
+#cp %{SOURCE1} m4/python.m4
+#cp %{SOURCE2} m4/jhflags.m4
 
 %build
 %{__libtoolize}
@@ -165,15 +164,17 @@
 %{__autoheader}
 %{__automake}
 %configure \
+	--enable-gtk-doc \
 	--enable-thread \
-	%{!?with_numpy:--disable-numpy}
+	%{!?with_numpy:--disable-numeric}
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	TARGET_DIR='%{_gtkdocdir}/%{name}'
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
@@ -188,45 +189,45 @@
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
-%dir %{_datadir}/%{module}
-%dir %{_datadir}/%{module}/2.0
-%dir %{_datadir}/%{module}/2.0/codegen
-%{_datadir}/%{module}/2.0/codegen/*.py[co]
-%{_datadir}/%{module}/2.0/defs
+%attr(755,root,root) %{_bindir}/pygtk-codegen-2.0
+%attr(755,root,root) %{_bindir}/pygtk-demo
+%dir %{_datadir}/pygtk
+%dir %{_datadir}/pygtk/2.0
+%dir %{_datadir}/pygtk/2.0/codegen
+%{_datadir}/pygtk/2.0/codegen/*.py[co]
+%dir %{_datadir}/pygtk/2.0/defs
+%{_datadir}/pygtk/2.0/defs/*.defs
+%{_datadir}/pygtk/2.0/defs/*.override
 %{_includedir}/pygtk-2.0
-%{_pkgconfigdir}/*.pc
+%{_pkgconfigdir}/pygtk-2.0.pc
 
 %files examples
 %defattr(644,root,root,755)
 %{_examplesdir}/%{name}-%{version}
 
-%files gobject
-%defattr(644,root,root,755)
-%doc README ChangeLog NEWS MAPPING TODO THREADS AUTHORS
-%dir %{py_sitedir}/gtk-2.0
-%{py_sitedir}/pygtk.pth
-%attr(755,root,root) %{py_sitedir}/gtk-2.0/gobject*.so
-
 %files gtk
 %defattr(644,root,root,755)
 %dir %{py_sitedir}/gtk-2.0/gtk
-%attr(755,root,root) %{py_sitedir}/gtk-2.0/gtk/_gtk*.so
+%attr(755,root,root) %{py_sitedir}/gtk-2.0/gtk/_gtk.so
+%attr(755,root,root) %{py_sitedir}/gtk-2.0/gtkunixprint.so
 %{py_sitedir}/gtk-2.0/gtk/*.py[co]
-%{py_sitedir}/gtk-2.0/*.py[co]
-%{py_sitedir}/*.py[co]
 
 %files atk
 %defattr(644,root,root,755)
-%attr(755,root,root) %{py_sitedir}/gtk-2.0/atk*.so
+%attr(755,root,root) %{py_sitedir}/gtk-2.0/atk.so
 
 %files pango
 %defattr(644,root,root,755)
-%attr(755,root,root) %{py_sitedir}/gtk-2.0/pango*.so
+%attr(755,root,root) %{py_sitedir}/gtk-2.0/pango.so
+%attr(755,root,root) %{py_sitedir}/gtk-2.0/pangocairo.so
 
 %files glade
 %defattr(644,root,root,755)
-%attr(755,root,root) %{py_sitedir}/gtk-2.0/gtk/glade*.so
+%attr(755,root,root) %{py_sitedir}/gtk-2.0/gtk/glade.so
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -234,8 +235,111 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.123.2.1  2006-05-15 13:25:38  baggins
-- merged from HEAD
+Revision 1.123.2.2  2008-05-03 08:00:35  matkor
+- Merged (copied) 2.12.1-2 from HEAD.
+
+Revision 1.160  2008-04-15 21:50:10  qboosh
+- devel dirs moved back to -devel (their users fixed instead)
+- release 2
+
+Revision 1.159  2008-01-04 11:19:15  megabajt
+- updated to 2.12.1
+
+Revision 1.158  2007-11-07 00:23:21  glen
+- rel 5
+
+Revision 1.157  2007/10/09 13:55:13  blues
+- rel.4 - drop obsoletes for main package
+
+Revision 1.156  2007/09/21 22:06:06  blues
+- rel.3 - one more dir that forces all the devel crap in regular system
+
+Revision 1.155  2007/09/21 13:20:46  blues
+- rel.2 - create main package with empty dirs to avoid fetching hundreds
+  of devel packages... because of one dir required...
+
+Revision 1.154  2007/09/16 14:59:16  megabajt
+- updated to 2.12.0
+
+Revision 1.153  2007/09/03 17:31:10  baggins
+- rel 2
+
+Revision 1.152  2007/07/31 19:14:40  qboosh
+- LGPL v2.1+
+
+Revision 1.151  2007/07/26 09:02:21  megabajt
+- updated to 2.10.6
+
+Revision 1.150  2007/06/19 09:47:51  glen
+- require libglade with fixed .la
+
+Revision 1.149  2007/02/13 08:06:43  glen
+- tabs in preamble
+
+Revision 1.148  2007/02/12 01:06:29  baggins
+- converted to UTF-8
+
+Revision 1.147  2007/02/07 10:20:30  megabajt
+- updated to 2.10.4
+
+Revision 1.146  2006/10/04 19:33:02  grzegol
+- 2.10.3
+
+Revision 1.145  2006/10/03 10:53:04  grzegol
+- 2.10.2
+
+Revision 1.144  2006/09/27 18:39:22  wrobell
+- rel. 5 to rebuild with python 2.5 (final)
+
+Revision 1.143  2006/09/09 17:32:06  arekm
+- rel 4
+
+Revision 1.142  2006/09/09 16:24:40  arekm
+- rel 3
+
+Revision 1.141  2006/09/09 01:10:03  patrys
+- rebuild
+
+Revision 1.140  2006/09/06 18:13:00  grzegol
+- 2.10.1
+
+Revision 1.139  2006/08/27 11:08:59  havner
+- rebuild with 2.5
+- rel 2
+
+Revision 1.138  2006/08/26 17:17:43  qboosh
+- needs am >= 1.7
+
+Revision 1.137  2006/08/10 20:29:05  freetz
+- 2.9.6, apidocs subpkg, updated deps
+
+Revision 1.136  2006/08/07 20:18:28  freetz
+- 2.9.5, updated file list
+
+Revision 1.135  2006/07/17 14:53:51  qboosh
+- numpy->Numeric update (except for bcond name)
+
+Revision 1.134  2006/07/12 17:08:28  freetz
+- 2.9.3, removed gtk-API-update patch (already in sources), updated deps
+
+Revision 1.133  2006/07/11 20:50:51  freetz
+- updated deps, rel.3
+
+Revision 1.132  2006/06/24 19:29:39  freetz
+- added gtk_print_API_update patch, rel.2
+
+Revision 1.131  2006/06/18 18:32:06  freetz
+- 2.9.2, updated deps, gtkunixprint patch applied upstream
+
+Revision 1.130  2006/06/15 15:19:57  freetz
+- 2.9.1, fixed http://bugzilla.gnome.org/show_bug.cgi?id=344957 (patch
+  added), updated deps
+
+Revision 1.129  2006/06/07 12:30:15  qboosh
+- Source0 fix
+
+Revision 1.128  2006/06/07 12:20:18  freetz
+- 2.9.0, bleeding edge deps, removed gobject subkpg (now in separate pkg)
 
 Revision 1.127  2006/05/15 08:58:11  qboosh
 - tab
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-pygtk.spec?r1=1.123.2.1&r2=1.123.2.2&f=u



More information about the pld-cvs-commit mailing list