Hello community,
here is the log from the commit of package vte
checked in at Tue Jan 9 17:56:17 CET 2007.
--------
--- GNOME/vte/vte.changes 2006-11-28 18:22:55.000000000 +0100
+++ /mounts/work_src_done/STABLE/vte/vte.changes 2006-12-08 20:14:56.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Dec 8 11:25:41 CST 2006 - maw@suse.de
+
+- Move to /usr, and remove most hardcoded paths
+- BuildRequire pkg-config
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vte.spec ++++++
--- /var/tmp/diff_new_pack.GL7093/_old 2007-01-09 17:56:08.000000000 +0100
+++ /var/tmp/diff_new_pack.GL7093/_new 2007-01-09 17:56:08.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package vte (Version 0.14.1)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -11,20 +11,20 @@
# norootforbuild
Name: vte
-BuildRequires: gnome-common gtk-doc gtk2-devel intltool python-devel python-gtk-devel update-desktop-files
+BuildRequires: gnome-common gtk-doc gtk2-devel intltool ncurses-devel python-devel python-gtk-devel update-desktop-files
URL: http://www.gnome.org
-%define prefix /opt/gnome
License: GNU General Public License (GPL)
Group: Development/Libraries/GNOME
Autoreqprov: on
Version: 0.14.1
-Release: 18
+Release: 29
Summary: Terminal Emulator
-Source: ftp://ftp.gnome.org/pub/gnome/sources/vte/0.11/vte-%{version}.tar.bz2
+Source: ftp://ftp.gnome.org/pub/gnome/sources/vte/0.14/%{name}-%{version}.tar.bz2
Source1: permissions.tar.bz2
Patch: %{name}-%{version}.dif
Patch1: %{name}-no-pwd.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+PreReq: permissions
%py_requires
@@ -42,13 +42,7 @@
%package devel
Summary: Include Files and Libraries mandatory for Development.
Group: Development/Libraries/GNOME
-Requires: %{name} = %{version} gtk2-devel glib2-devel
-Requires: ncurses-devel
-Requires: xorg-x11-devel
-Requires: pango-devel
-Requires: fontconfig-devel
-Requires: pango-devel
-Autoreqprov: on
+Requires: %{name} = %{version} fontconfig-devel glib2-devel gtk2-devel pango-devel xorg-x11-devel
%description devel
VTE is an experimental terminal emulator widget for use with GTK+ 2.0.
@@ -61,42 +55,54 @@
--------
Nalin Dahyabhai
+%package doc
+Summary: Additional Package Documentation.
+Group: Development/Libraries/GNOME
+Requires: %{name} = %{version}
+
+%description doc
+VTE is a terminal emulator library that provides a terminal widget for
+use with GTK+ 2.0 as well as handling of child process and terminal
+emulation settings.
+
+
+
+Authors:
+--------
+ Nalin Dahyabhai
+
%prep
-%setup -q -n vte-%{version}
+%if %suse_version <= 1020
+%setup -q -a 1
+%else
+%setup -q
+%endif
%patch -p1
%patch1 -p1
-%if %suse_version <= 1000
-%setup -n %{name}-%{version} -T -D 0 -b 1
-%endif
%build
-%{?suse_update_config:%{suse_update_config -f}}
-libtoolize --force
-aclocal
-automake -c -a -f
-autoconf
-CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
-./configure --prefix=/opt/gnome \
- --libdir=/opt/gnome/%_lib \
- --libexecdir=/opt/gnome/lib/vte \
- --mandir=%{_mandir} \
- --infodir=%{_infodir}
+autoreconf -f -i
+# needed for vte-0.14.1:
+export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+%configure\
+ --libexecdir=%{_prefix}/lib/vte
make %{?jobs:-j%jobs}
%install
-export LIBRARY_PATH=$RPM_BUILD_ROOT/opt/gnome/%_lib
make install DESTDIR=$RPM_BUILD_ROOT
-# move the python stuff
-mkdir -p $RPM_BUILD_ROOT/usr/%_lib
-mv $RPM_BUILD_ROOT/opt/gnome/%_lib/python%py_ver/ $RPM_BUILD_ROOT/usr/%_lib/python%py_ver
%find_lang %{name}
-%if %suse_version <= 1000
+%if %suse_version <= 1020
mkdir -p $RPM_BUILD_ROOT/etc/permissions.d
-install -m644 ../permissions/* $RPM_BUILD_ROOT/etc/permissions.d
+install -m644 permissions/* $RPM_BUILD_ROOT/etc/permissions.d
%endif
+rm $RPM_BUILD_ROOT%{py_sitedir}/*/*.*a
%post
%run_ldconfig
+%run_permissions
+
+%verifyscript
+%verify_permissions -e %{_prefix}/lib/vte/gnome-pty-helper
%postun
%run_ldconfig
@@ -104,33 +110,38 @@
%files -f %files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING README NEWS ChangeLog
-%{prefix}/%_lib/*.so.*
-%{prefix}/bin/*
-%{prefix}/share/vte
-/usr/%_lib/python2.?/site-packages/gtk-2.0/vte*.so
-%dir %{prefix}/%_lib/vte
-%if "%_lib" != "lib"
-%dir %{prefix}/lib/vte
-%endif
-%attr (2755, root, tty) /opt/gnome/lib/vte/gnome-pty-helper
-/opt/gnome/%_lib/vte/[a-fh-z]*
-%{prefix}/share/gtk-doc/html/vte
-%if %suse_version <= 1000
+%if %suse_version <= 1020
/etc/permissions.d/*
%endif
+%{_bindir}/*
+%{_libdir}/*.so.*
+%dir %{_libdir}/vte
+%{_libdir}/vte/[a-fh-z]*
+%{_datadir}/vte
+%if "%{_libdir}" != "%{_prefix}/lib"
+%dir %{_prefix}/lib/vte
+%endif
+%verify (not mode) %attr (2755, root, tty) %{_prefix}/lib/vte/gnome-pty-helper
+%{py_sitedir}/gtk-2.0/*.so
%files devel
%defattr(-,root,root)
-%{prefix}/%_lib/pkgconfig/*.pc
-%{prefix}/%_lib/*.so
-%{prefix}/%_lib/*.*a
-%{prefix}/include/vte
-/usr/%_lib/python%py_ver/site-packages/gtk-2.0/vte*.*a
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/*.so
+%{_libdir}/*.*a
+%{_includedir}/vte
+
+%files doc
+%defattr(-,root,root)
+%{_datadir}/gtk-doc/html/vte
%clean
rm -rf $RPM_BUILD_ROOT
%changelog -n vte
+* Fri Dec 08 2006 - maw@suse.de
+- Move to /usr, and remove most hardcoded paths
+- BuildRequire pkg-config
* Tue Nov 28 2006 - sbrabec@suse.cz
- Build as user.
* Sat Oct 14 2006 - danw@suse.de
++++++ permissions.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/permissions/vte.easy new/permissions/vte.easy
--- old/permissions/vte.easy 2004-10-19 17:59:16.000000000 +0200
+++ new/permissions/vte.easy 2007-01-09 12:00:09.000000000 +0100
@@ -1 +1 @@
-/opt/gnome/lib/vte/gnome-pty-helper root.tty 2755
+/usr/lib/vte/gnome-pty-helper root.tty 2755
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/permissions/vte.paranoid new/permissions/vte.paranoid
--- old/permissions/vte.paranoid 2004-10-19 17:59:20.000000000 +0200
+++ new/permissions/vte.paranoid 2007-01-09 12:00:09.000000000 +0100
@@ -1 +1 @@
-/opt/gnome/lib/vte/gnome-pty-helper root.tty 0755
+/usr/lib/vte/gnome-pty-helper root.tty 0755
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/permissions/vte.secure new/permissions/vte.secure
--- old/permissions/vte.secure 2004-10-19 17:59:26.000000000 +0200
+++ new/permissions/vte.secure 2007-01-09 12:00:09.000000000 +0100
@@ -1 +1 @@
-/opt/gnome/lib/vte/gnome-pty-helper root.tty 2755
+/usr/lib/vte/gnome-pty-helper root.tty 2755
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org