packages: vte0/vte0.spec - rel 2 - resurrected vte0 for gtk+2 (hooray to gn...

baggins baggins at pld-linux.org
Tue Oct 4 22:20:33 CEST 2011


Author: baggins                      Date: Tue Oct  4 20:20:33 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2
- resurrected vte0 for gtk+2 (hooray to gnome devs egomania!)

---- Files affected:
packages/vte0:
   vte0.spec (1.172 -> 1.173) 

---- Diffs:

================================================================
Index: packages/vte0/vte0.spec
diff -u packages/vte0/vte0.spec:1.172 packages/vte0/vte0.spec:1.173
--- packages/vte0/vte0.spec:1.172	Mon Sep 26 23:51:24 2011
+++ packages/vte0/vte0.spec	Tue Oct  4 22:20:27 2011
@@ -1,20 +1,20 @@
 # $Revision$, $Date$
 Summary:	VTE terminal widget library
 Summary(pl.UTF-8):	Biblioteka z kontrolką terminala VTE
-Name:		vte
-Version:	0.30.0
-Release:	1
+Name:		vte0
+Version:	0.28.2
+Release:	2
 License:	LGPL v2+
 Group:		X11/Libraries
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/vte/0.30/%{name}-%{version}.tar.xz
-# Source0-md5:	3eb5dd5831e383a376333d83000f1fa8
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/vte/0.28/vte-%{version}.tar.bz2
+# Source0-md5:	f07a4bf943194f94b7f142db8f7f36dc
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake >= 1:1.9
 BuildRequires:	docbook-dtd412-xml
 BuildRequires:	gettext-devel
 BuildRequires:	glib2-devel >= 1:2.28.0
 BuildRequires:	gobject-introspection-devel >= 0.10.0
-BuildRequires:	gtk+3-devel >= 3.1.9
+BuildRequires:	gtk+2-devel >= 2:2.20.0
 BuildRequires:	gtk-doc >= 1.13
 BuildRequires:	gtk-doc-automake >= 1.13
 BuildRequires:	intltool >= 0.40.0
@@ -22,104 +22,108 @@
 BuildRequires:	ncurses-devel
 BuildRequires:	pango-devel >= 1:1.22.0
 BuildRequires:	pkgconfig
+BuildRequires:	python-pygtk-devel >= 2:2.12.0
+BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.592
-BuildRequires:	tar >= 1:1.22
-BuildRequires:	xz
-Requires:	%{name}-common = %{version}-%{release}
+Requires(pre):	utempter
 Requires:	glib2 >= 1:2.28.0
 # sr at Latn vs. sr at latin
-Requires:	pango >= 1:1.22.0
 Conflicts:	glibc-misc < 6:2.7
+Requires:	gtk+2 >= 2:2.20.0
+Requires:	pango >= 1:1.22.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-The vte package contains a terminal widget for GTK+ 3.x. It's used by
+The vte package contains a terminal widget for GTK+ 2.x. It's used by
 gnome-terminal among other programs.
 
 %description -l pl.UTF-8
-Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany
+Ten pakiet zawiera kontrolkę terminala dla GTK+ 2.x. Jest używany
 przez gnome-terminal oraz inne programy.
 
-%package common
-Summary:	Common files for vte and vte0
-Summary(pl.UTF-8):	Pliki wspólne dla vte i vte0
-Group:		X11/Libraries
-Requires(pre):	utempter
-
-%description common
-Common files for GTK+ 3 based vte and GTK+ 2 based vte0.
-
-%description common -l pl.UTF-8
-Pliki wspólne dla vte opartego na GTK+ 3 oraz vte0 opartego na GTK+ 2.
-
 %package devel
-Summary:	Header files for VTE for GTK+ 3
-Summary(pl.UTF-8):	Pliki nagłówkowe VTE dla GTK+ 3
+Summary:	Header files for VTE for GTK+ 2
+Summary(pl.UTF-8):	Pliki nagłówkowe VTE dla GTK+ 2
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	glib2-devel >= 1:2.28.0
-Requires:	gtk+3-devel >= 3.1.9
+Requires:	gtk+2-devel >= 2:2.20.0
 Requires:	ncurses-devel
 Requires:	pango-devel >= 1:1.22.0
 Conflicts:	gnome-libs-devel < 1.4.1.2
 
 %description devel
-This package contains header files for GTK+ 3 based vte library.
+This package contains header files for GTK+ 2 based vte library.
 
 %description devel -l pl.UTF-8
 Pliki nagłówkowe potrzebne do kompilowania programów używających
-biblioteki vte opartej na GTK+ 3.
+biblioteki vte opartej na GTK+ 2.
 
 %package static
-Summary:	Static VTE library for GTK+ 3
-Summary(pl.UTF-8):	Statyczna biblioteka VTE dla GTK+ 3
+Summary:	Static VTE library for GTK+ 2
+Summary(pl.UTF-8):	Statyczna biblioteka VTE dla GTK+ 2
 Group:		X11/Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 Conflicts:	gnome-libs-static < 1.4.1.2
 
 %description static
-Static version of VTE library for GTK+ 3.
+Static version of VTE library for GTK+ 2.
 
 %description static -l pl.UTF-8
-Statyczna wersja biblioteki VTE dla GTK+ 3.
+Statyczna wersja biblioteki VTE dla GTK+ 2.
 
 %package apidocs
-Summary:	VTE API documentation (GTK+ 3 version)
-Summary(pl.UTF-8):	Dokumentacja API VTE (wersja dla GTK+ 3)
+Summary:	VTE API documentation - GTK+ 2.x version
+Summary(pl.UTF-8):	Dokumentacja API VTE - wersja dla GTK+ 2.x
 Group:		Documentation
 Requires:	gtk-doc-common
 
 %description apidocs
-VTE API documentation (GTK+ 3 version).
+VTE API documentation - GTK+ 2.x version.
 
 %description apidocs -l pl.UTF-8
-Dokumentacja API VTE (wersja dla GTK+ 3).
+Dokumentacja API VTE - wersja dla GTK+ 2.x.
+
+%package -n python-vte0
+Summary:	Python VTE module
+Summary(pl.UTF-8):	Moduł VTE dla pythona
+Group:		Libraries/Python
+%pyrequires_eq	python-libs
+Requires:	%{name} = %{version}-%{release}
+Requires:	python-pygtk-gtk >= 2:2.12.0
+
+%description -n python-vte0
+Python VTE library.
+
+%description -n python-vte0 -l pl.UTF-8
+Biblioteka VTE dla pythona.
+
+%package -n python-vte0-devel
+Summary:	Development files for VTE Python bindings
+Summary(pl.UTF-8):	Pliki programistyczne wiązań Pythona do VTE
+Group:		Development/Languages/Python
+Requires:	%{name}-devel = %{version}-%{release}
+Requires:	python-vte0 = %{version}-%{release}
+
+%description -n python-vte0-devel
+Development files for VTE Python bindings.
+
+%description -n python-vte0-devel -l pl.UTF-8
+Pliki programistyczne wiązań Pythona do VTE.
 
 %prep
-%setup -q
+%setup -q -n vte-%{version}
 
 %build
-%{__gtkdocize}
-%{__glib_gettextize}
-%{__intltoolize}
-%{__libtoolize}
-%{__aclocal}
-%{__autoheader}
-%{__automake}
-%{__autoconf}
-cd gnome-pty-helper
-%{__libtoolize}
-%{__aclocal}
-%{__autoheader}
-%{__automake}
-%{__autoconf}
-cd ..
 %configure \
+	--libexecdir=%{_libdir}/vte-0.0 \
+	--with-gtk=2.0 \
 	--disable-silent-rules \
 	--enable-gtk-doc \
 	--enable-introspection \
 	--with-default-emulation=xterm \
 	--with-html-dir=%{_gtkdocdir}
+
 %{__make}
 
 %install
@@ -129,8 +133,9 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \
+	$RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/vtemodule.{la,a}
 
-%find_lang %{name}-2.90
+%find_lang vte-0.0
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -138,33 +143,39 @@
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
-%files -f vte-2.90.lang
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/vte2_90
-%attr(755,root,root) %{_libdir}/libvte2_90.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libvte2_90.so.9
-%{_libdir}/girepository-1.0/Vte-2.90.typelib
-
-%files common
+%files -f vte-0.0.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
-%attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
+%attr(755,root,root) %{_bindir}/vte
+%attr(755,root,root) %{_libdir}/libvte.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libvte.so.9
+%attr(2755,root,utmp) %{_libdir}/vte-0.0/gnome-pty-helper
+%{_libdir}/girepository-1.0/Vte-0.0.typelib
 %{_datadir}/vte
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libvte2_90.so
-%{_includedir}/vte-2.90
-%{_pkgconfigdir}/vte-2.90.pc
-%{_datadir}/gir-1.0/Vte-2.90.gir
+%attr(755,root,root) %{_libdir}/libvte.so
+%{_includedir}/vte-0.0
+%{_pkgconfigdir}/vte.pc
+%{_datadir}/gir-1.0/Vte-0.0.gir
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/libvte2_90.a
+%{_libdir}/libvte.a
 
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/vte-2.90
+%{_gtkdocdir}/vte-0.0
+
+%files -n python-vte0
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so
+
+%files -n python-vte0-devel
+%defattr(644,root,root,755)
+%{_datadir}/pygtk/2.0/defs/vte.defs
+%{_pkgconfigdir}/pyvte.pc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -172,16 +183,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.172  2011/09/26 21:51:24  kiesiu
-- updated to 0.30; merged from DEVEL
-- no gtk+2 and python support
+Revision 1.173  2011/10/04 20:20:27  baggins
+- rel 2
+- resurrected vte0 for gtk+2 (hooray to gnome devs egomania!)
 
 Revision 1.171  2011/09/08 15:36:20  qboosh
 - updated required gtk+2/pango version
 - added versioned gtk+2/pango Rs
-
-Revision 1.170.2.1  2011/09/08 15:39:58  wiget
-- up to 0.29.1 (gtk2 version and static python bindings dropped)
 
 Revision 1.170  2011/09/04 19:17:09  kiesiu
 - updated to 0.28.2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vte0/vte0.spec?r1=1.172&r2=1.173&f=u



More information about the pld-cvs-commit mailing list