Hello community,

here is the log from the commit of package vte for openSUSE:Factory
checked in at Mon May 30 16:14:22 CEST 2011.



--------
--- GNOME/vte/vte.changes       2010-11-16 17:49:00.000000000 +0100
+++ vte/vte.changes     2011-05-18 17:22:34.000000000 +0200
@@ -1,0 +2,74 @@
+Wed May 18 17:21:42 CEST 2011 - vu...@opensuse.org
+
+- Drop rpmlintrc as the new path for gnome-pty-helper is now known
+  by the permissions system.
+
+-------------------------------------------------------------------
+Thu May  5 19:53:33 CEST 2011 - vu...@opensuse.org
+
+- Use %set_permissions instead of deprecated %run_permissions in
+  %post of gnome-pty-helper.
+- Move %verify_permissions to %verifyscript of gnome-pty-helper.
+- Only put gnome-pty-helper scriptlets if %{build_for_gtk2} is not
+  set, since we don't build gnome-pty-helper when building for
+  gtk2.
+
+-------------------------------------------------------------------
+Wed Apr 27 12:26:01 CEST 2011 - vu...@opensuse.org
+
+- Split gnome-pty-helper in its own package, and stop installing it
+  in a non-default libexecdir: it is needed by both gtk2 and gtk3
+  versions of vte, and we don't want to have it twice. So only keep
+  the one we get with the gtk3 build.
+- Add Requires for gnome-pty-helper to libvte9 and libvte2_90.
+- Update rpmlintrc accordingly.
+
+-------------------------------------------------------------------
+Mon Apr  4 15:01:44 UTC 2011 - fcro...@novell.com
+
+- Update to version 0.28.0:
+  + bgo#642184: vte does not build against new glade (with
+    gladeui-2.0).
+  + Updated translations.
+- Changes with version 0.27.90:
+  + Remove gsettings .enums.xml.
+  + Fix shrinking terminal on gtk3
+  + Updated translations.
+- Changes with version 0.27.5:
+  + Fix build with recent GTK+
+  + Updated translations.
+- Changes with version 0.27.4:
+  + Fix build with recent GTK+
+  + Introspection fixes for fork_command_full
+  + Updated translations.
+- Changes with version 0.27.3:
+  + Add a gsettings .enums.xml file for vte's enum types
+  + Fix build with latest gtk 3
+  + Fix introspection annotations and require gobject-introspection 0.9.0
+  + Bugs fixed: bgo#628870.
+  + Updated translations.
+- Changes with version 0.27.2:
+  + GTK+ 3 fixes.
+  + Updated translations.
+- Changes with version 0.27.1:
+  + Bugs fixed:
+    - bgo#631589: Pass the correct TERM value inside envp when
+      spawning
+    - bgo#631903: Report correct minimum/natural sizes for GTK+ 3
+    - bgo#632257: vte leaks FDs
+  + Updated translations.
+- Add pre_checkin.sh to build gtk2 and gtk3 version of the package
+  and add some macros to handle dual gtk2 / gtk3 packages.
+- Differences between gtk2 / gtk3 packages:
+  + Pass --with-gtk=2.0/--with-gtk=3.0 to configure as appropriate.
+  + python-vte is only built for gtk2, as introspection is used for
+    gtk3.
+- Disable glade catalogue build for gtk3 with build_glade_catalog
+  macro, as we don't have a gtk3-powered glade right now.
+- Remove %py_requires from main package since we don't build a vte
+  binary package.
+- Add rpmlintrc files to avoid a permissions-file-setuid-bit error
+  that makes the build fail. Security team will review that
+  (bnc#690202).
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ vte/vte2.changes    2011-05-18 17:22:35.000000000 +0200
@@ -0,0 +1,888 @@
+-------------------------------------------------------------------
+Wed May 18 17:21:42 CEST 2011 - vu...@opensuse.org
+
+- Drop rpmlintrc as the new path for gnome-pty-helper is now known
+  by the permissions system.
+
+-------------------------------------------------------------------
+Thu May  5 19:53:33 CEST 2011 - vu...@opensuse.org
+
+- Use %set_permissions instead of deprecated %run_permissions in
+  %post of gnome-pty-helper.
+- Move %verify_permissions to %verifyscript of gnome-pty-helper.
+- Only put gnome-pty-helper scriptlets if %{build_for_gtk2} is not
+  set, since we don't build gnome-pty-helper when building for
+  gtk2.
+
+-------------------------------------------------------------------
+Wed Apr 27 12:26:01 CEST 2011 - vu...@opensuse.org
+
+- Split gnome-pty-helper in its own package, and stop installing it
+  in a non-default libexecdir: it is needed by both gtk2 and gtk3
+  versions of vte, and we don't want to have it twice. So only keep
+  the one we get with the gtk3 build.
+- Add Requires for gnome-pty-helper to libvte9 and libvte2_90.
+- Update rpmlintrc accordingly.
+
+-------------------------------------------------------------------
+Mon Apr  4 15:01:44 UTC 2011 - fcro...@novell.com
+
+- Update to version 0.28.0:
+  + bgo#642184: vte does not build against new glade (with
+    gladeui-2.0).
+  + Updated translations.
+- Changes with version 0.27.90:
+  + Remove gsettings .enums.xml.
+  + Fix shrinking terminal on gtk3
+  + Updated translations.
+- Changes with version 0.27.5:
+  + Fix build with recent GTK+
+  + Updated translations.
+- Changes with version 0.27.4:
+  + Fix build with recent GTK+
+  + Introspection fixes for fork_command_full
+  + Updated translations.
+- Changes with version 0.27.3:
+  + Add a gsettings .enums.xml file for vte's enum types
+  + Fix build with latest gtk 3
+  + Fix introspection annotations and require gobject-introspection 0.9.0
+  + Bugs fixed: bgo#628870.
+  + Updated translations.
+- Changes with version 0.27.2:
+  + GTK+ 3 fixes.
+  + Updated translations.
+- Changes with version 0.27.1:
+  + Bugs fixed:
+    - bgo#631589: Pass the correct TERM value inside envp when
+      spawning
+    - bgo#631903: Report correct minimum/natural sizes for GTK+ 3
+    - bgo#632257: vte leaks FDs
+  + Updated translations.
+- Add pre_checkin.sh to build gtk2 and gtk3 version of the package
+  and add some macros to handle dual gtk2 / gtk3 packages.
+- Differences between gtk2 / gtk3 packages:
+  + Pass --with-gtk=2.0/--with-gtk=3.0 to configure as appropriate.
+  + python-vte is only built for gtk2, as introspection is used for
+    gtk3.
+- Disable glade catalogue build for gtk3 with build_glade_catalog
+  macro, as we don't have a gtk3-powered glade right now.
+- Remove %py_requires from main package since we don't build a vte
+  binary package.
+- Add rpmlintrc files to avoid a permissions-file-setuid-bit error
+  that makes the build fail. Security team will review that
+  (bnc#690202).
+
+-------------------------------------------------------------------
+Mon Nov 16 11:42:41 CET 2010 - dims...@opensuse.org
+
+- Update to version 0.26.2:
+  + bgo#632257: Plug FD leak.
+
+-------------------------------------------------------------------
+Tue Nov 16 09:21:49 UTC 2010 - a...@suse.de
+
+- Use group utmp for gnome-pty-helper (bnc#652877).
+
+-------------------------------------------------------------------
+Wed Oct 13 22:57:07 CEST 2010 - vu...@opensuse.org
+
+- Update to version 0.26.1:
+  + Pass the correct TERM value inside envp when spawning.
+  + bgo#631589: set_emulation does not work in the python bindings
+
+-------------------------------------------------------------------
+Tue Oct  5 15:02:43 CEST 2010 - vu...@opensuse.org
+
+- Split vte according to the shared library policy (bnc#634199):
+  + create libvte9, vte-tools, python-vte, glade3-catalog-vte
+    subpackages.
+  + add Provides/Obsoletes for vte to libvte9, for migration and
+    for the lang package
+  + use Recommends for the lang package in libvte9
+  + add glade3 Requires to glade3-catalog-vte, as well as a
+    Supplements for packageand(glade3:vte-devel) for automatic
+    installation for people who are developing with VTE.
+  + use {_libexecdir}/libvte9 as libexecdir, to potentially have
+    multiple versions of gnome-pty-helper parallel-installable (the
+    protocol used between the helper and vte could change).
+- The glade3-catalog-vte subpackage is part of bnc#637694.
+- Remove explicit Requires of devel packages in vte-devel: they
+  will be added automatically the pkgconfig() way.
+- Update summaries and descriptions.
+
+-------------------------------------------------------------------
+Mon Sep 27 07:55:04 CEST 2010 - vu...@opensuse.org
+
+- Update to version 0.26.0:
+  + Clarify TERM env var handling with VtePty.
+  + Build fixes.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Sun Aug 29 17:04:21 CEST 2010 - dims...@opensuse.org
+
+- Update to version 0.25.91:
+  + bgo#627764: mismanaged GtkStyle lifecycle
+  + bgo#601926: Don't hardcode meta to alt
+  + Various build fixes.
+  + Updated translations
+
+-------------------------------------------------------------------
+Tue Aug 24 22:41:12 CEST 2010 - vu...@opensuse.org
+
+- Add gobject-introspection-devel BuildRequires and pass
+  --enable-introspection to configure to build introspection
+  support.
+
+-------------------------------------------------------------------
+Mon Aug 16 23:01:06 CEST 2010 - dims...@opensuse.org
+
+- Update to version 0.25.90:
+  + Make vte parallel-buildable with gtk 2 and gtk 3
+  + Bugs fixed:
+    - bgo#617690: Setting default fg color should not cancel
+      underline
+    - bgo#614658: text selection with mouse is buggy when using
+      the shift key
+    - bgo#618749: set terminal widget background color to terminal
+      background
+    - bgo#601926: Don't hardcode meta to alt
+    - bgo#618097: Broken backtab (cbt)
+    - bgo#621298: Cursor invisible (plain black) in (xfce) Terminal
+      & terminator
+    - bgo#626676: Cleanup vte_terminal_determine_colors
+    - bgo#620493: strict aliasing warning
+  + Translation updates.
+
+-------------------------------------------------------------------
+Tue Jul 13 13:56:17 UTC 2010 - dims...@opensuse.org
+
+- Update to version 0.25.1:
+  + Add support for searching the buffer. New public API:
+    - vte_terminal_search_[sg]et_regex
+    - vte_terminal_search_find_(previous|next)
+
+-------------------------------------------------------------------
+Wed Jun 23 11:20:41 CEST 2010 - dims...@opensuse.org
+
+- Update to version 0.24.2:
+  + Fix reversed logic for saturation level of background.
+  + Build fixes.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Thu Apr 29 20:34:42 CEST 2010 - dims...@opensuse.org
+
+- Update to version 0.24.1:
+  + bgo#613525: current git head does not build (undefined
+    reference to XGetGeometry)
+  + bgo#614469: Does no longer compile with -DX_DISPLAY_MISSING
+  + bgo#615417: Reversed and one error saturation level in 0.24.0
+- Drop vte-0.24.0-no-transparent-background-bnc594590.patch,
+  merged a more complete patch.
+
+-------------------------------------------------------------------
+Tue Apr 13 12:25:05 UTC 2010 - and...@opensuse.org
+
+- Add vte-0.24.0-no-transparent-background-bnc594590.patch to fix
+  segfaults on programs using vte (lxterminal, gnome-terminal)
+  with a transparent background. Fix bnc#594590.
+
+-------------------------------------------------------------------
+Mon Mar 29 16:43:53 CEST 2010 - vu...@opensuse.org
+
+- Update to version 0.24.0:
+  + Updated API docs
+  + Cache backgrounds as cairo surfaces
+  + Updated translations.
++++ 691 more lines (skipped)
++++ between /dev/null
++++ and vte/vte2.changes

calling whatdependson for head-i586


Old:
----
  vte-0.26.2.tar.bz2

New:
----
  pre_checkin.sh
  vte-0.28.0.tar.bz2
  vte2.changes
  vte2.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vte.spec ++++++
--- /var/tmp/diff_new_pack.xKTogX/_old  2011-05-30 16:10:50.000000000 +0200
+++ /var/tmp/diff_new_pack.xKTogX/_new  2011-05-30 16:10:50.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package vte (Version 0.26.2)
+# spec file for package vte
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,47 +17,82 @@
 
 # norootforbuild
 
+%define build_for_gtk2 0
+%define build_glade_catalog 0
+
+%if %{build_for_gtk2}
+%define _sover 9
+%define _apiver 0.0
+# empty:
+#%%define _binver
+%define _gtkver 2.0
+%else
+%define _sover 2_90-9
+%define _apiver 2.90
+%define _binver 2_90
+%define _gtkver 3.0
+%endif
 
 Name:           vte
+%define _name   vte
+Url:            http://www.gnome.org
+License:        GPLv2+
+Group:          Development/Libraries/GNOME
+Version:        0.28.0
+Release:        1
+Summary:        Terminal Emulator Library
+Source:         
ftp://ftp.gnome.org/pub/gnome/sources/vte/0.16/%{_name}-%{version}.tar.bz2
 BuildRequires:  fdupes
 BuildRequires:  gobject-introspection-devel
+%if %{build_for_gtk2}
 BuildRequires:  gtk2-devel
-BuildRequires:  intltool
 BuildRequires:  libgladeui-1_0-devel
 BuildRequires:  python-devel
 BuildRequires:  python-gtk-devel
+%else
+BuildRequires:  gtk3-devel
+%endif
+BuildRequires:  intltool
 BuildRequires:  ncurses-devel
 BuildRequires:  translation-update-upstream
-Url:            http://www.gnome.org
-License:        GPLv2+
-Group:          Development/Libraries/GNOME
-AutoReqProv:    on
-Version:        0.26.2
-Release:        1
-Summary:        Terminal Emulator Library
-Source:         
ftp://ftp.gnome.org/pub/gnome/sources/vte/0.16/%{name}-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%py_requires
 
 %description
 VTE is a terminal emulator library that provides a terminal widget for
 use with GTK+ as well as handling of child process and terminal
 emulation settings.
 
-%package -n libvte9
+%package -n libvte%{_sover}
+
+
 License:        GPLv2+
 Summary:        Terminal Emulator Library
 Group:          System/Libraries
-PreReq:         permissions
+Requires:       gnome-pty-helper
 Recommends:     %{name}-lang
+# Needed to make lang package installable (and because we used to
+# have a vte package earlier).
 Provides:       %{name} = %{version}
 Obsoletes:      %{name} < %{version}
 
-%description -n libvte9
+%description -n libvte%{_sover}
+VTE is a terminal emulator library that provides a terminal widget for
+use with GTK+ as well as handling of child process and terminal
+emulation settings.
+
+%package -n gnome-pty-helper
+License:        GPLv2+
+Summary:        Terminal Emulator Library -- Helper for utmp/wtmp/lastlog 
logging
+Group:          System/Libraries
+PreReq:         permissions
+
+%description -n gnome-pty-helper
 VTE is a terminal emulator library that provides a terminal widget for
 use with GTK+ as well as handling of child process and terminal
 emulation settings.
 
+This package provides a helper for utmp/wtmp/lastlog logging.
+
 %package tools
 License:        GPLv2+
 Summary:        Terminal Emulator Library -- Tools
@@ -70,6 +105,8 @@
 
 This package provides tools using VTE.
 
+%if %{build_for_gtk2}
+
 %package -n python-vte
 License:        GPLv2+
 Summary:        Terminal Emulator Library -- Python Bindings
@@ -83,6 +120,9 @@
 emulation settings.
 
 This package provides the python bindings for VTE.
+%endif
+
+%if %{build_glade_catalog}
 
 %package -n glade3-catalog-vte
 License:        GPLv2+
@@ -99,12 +139,13 @@
 
 This package provides a catalog for Glade, to allow the use of VTE
 widgets in Glade.
+%endif
 
 %package devel
 License:        GPLv2+
 Summary:        Terminal Emulator Library -- Development Files
 Group:          Development/Libraries/GNOME
-Requires:       libvte9 = %{version}
+Requires:       libvte%{_sover} = %{version}
 Provides:       vte-doc = %{version}
 Obsoletes:      vte-doc < %{version}
 
@@ -118,83 +159,99 @@
 
 %lang_package
 %prep
-%setup -q
+%setup -q -n %{_name}-%{version}
 translation-update-upstream
 
 %build
 %configure --with-pic\
-       --libexecdir=%{_libexecdir}/libvte9 \
+        --with-gtk=%{_gtkver}\
        --disable-static \
-        --enable-introspection \
-        -enable-glade-catalogue
-%__make %{?jobs:-j%jobs}
+%if %{build_glade_catalog}
+        --enable-glade-catalogue \
+%endif
+        --enable-introspection
+%__make %{?jobs:-j%jobs} V=1
 
 %install
 %makeinstall
 %if 0%{?suse_version} <= 1120
 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
 %endif
-%find_lang %{name}-0.0
+%if %{build_for_gtk2}
+# Files that will come with gtk3 build
+rm %{buildroot}%{_libexecdir}/gnome-pty-helper
+%endif
+%find_lang vte-%{_apiver}
 find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
 %fdupes $RPM_BUILD_ROOT
 
-%post -n libvte9
-/sbin/ldconfig
-%run_permissions
-%verifyscript
-%verify_permissions -e %{_prefix}/lib/vte/gnome-pty-helper
+%post -n libvte%{_sover} -p /sbin/ldconfig
+
+%postun -n libvte%{_sover} -p /sbin/ldconfig
 
-%postun -n libvte9 -p /sbin/ldconfig
+%if !%{build_for_gtk2}
 
-%files -n libvte9
+%post -n gnome-pty-helper
+%set_permissions %{_libexecdir}/gnome-pty-helper
+
+%verifyscript -n gnome-pty-helper
+%verify_permissions -e %{_libexecdir}/gnome-pty-helper
+%endif
+
+%files -n libvte%{_sover}
 %defattr(-,root,root)
 %doc AUTHORS COPYING README NEWS ChangeLog
 %{_libdir}/*.so.*
-%{_libdir}/girepository-1.0/Vte-0.0.typelib
-%dir %{_libexecdir}/libvte9
-%verify (not mode) %attr (2755, root, utmp) 
%{_libexecdir}/libvte9/gnome-pty-helper
-# this is a violation of the slpp, but future  versions of vte will use a
-# versioned directory, so let's pretend it's okay
+%{_libdir}/girepository-1.0/Vte-%{_apiver}.typelib
 %dir %{_datadir}/vte
-%dir %{_datadir}/vte/termcap
-%{_datadir}/vte/termcap/xterm
+%dir %{_datadir}/vte/termcap-%{_apiver}
+%{_datadir}/vte/termcap-%{_apiver}/xterm
+
+%if !%{build_for_gtk2}
+
+%files -n gnome-pty-helper
+%defattr(-,root,root)
+%verify (not mode) %attr (2755, root, utmp) %{_libexecdir}/gnome-pty-helper
+%endif
 
 %files tools
 %defattr(-,root,root)
-%{_bindir}/vte
-%dir %{_libdir}/vte-0.0
-%{_libdir}/vte-0.0/decset
-%{_libdir}/vte-0.0/interpret
-%{_libdir}/vte-0.0/osc
-%{_libdir}/vte-0.0/slowcat
-%{_libdir}/vte-0.0/window
+%{_bindir}/vte%{?_binver}
+
+%if %{build_for_gtk2}
 
 %files -n python-vte
 %defattr(-,root,root)
 %doc python/vte-demo.py
 %{py_sitedir}/gtk-2.0/*.so
+%endif
+
+%if %{build_glade_catalog}
 
 %files -n glade3-catalog-vte
 %defattr(-,root,root)
 %{_datadir}/glade3/catalogs/vte.xml
 %{_datadir}/glade3/pixmaps/hicolor/*/*/widget-vte-terminal.png
+%endif
 
 %files devel
 %defattr(-,root,root)
 %{_libdir}/pkgconfig/*.pc
 %{_libdir}/*.so
-%{_includedir}/vte-0.0/
+%{_includedir}/vte-%{_apiver}/
 %{_datadir}/gir-1.0/*.gir
+%if %{build_for_gtk2}
 %dir %{_datadir}/pygtk
 %dir %{_datadir}/pygtk/2.0
 %dir %{_datadir}/pygtk/2.0/defs
 %{_datadir}/pygtk/2.0/defs/vte.defs
+%endif
 # Own these repositories to not depend on gtk-doc while building:
 %dir %{_datadir}/gtk-doc
 %dir %{_datadir}/gtk-doc/html
-%{_datadir}/gtk-doc/html/vte-0.0/
+%{_datadir}/gtk-doc/html/vte-%{_apiver}/
 
-%files lang -f %{name}-0.0.lang
+%files lang -f vte-%{_apiver}.lang
 
 %clean
 rm -rf $RPM_BUILD_ROOT

++++++ vte2.spec ++++++
#
# spec file for package vte2
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

%define build_for_gtk2 1
%define build_glade_catalog 1

%if %{build_for_gtk2}
%define _sover 9
%define _apiver 0.0
# empty:
#%%define _binver
%define _gtkver 2.0
%else
%define _sover 2_90-9
%define _apiver 2.90
%define _binver 2_90
%define _gtkver 3.0
%endif

Name:           vte2
%define _name   vte
Url:            http://www.gnome.org
License:        GPLv2+
Group:          Development/Libraries/GNOME
Version:        0.28.0
Release:        1
Summary:        Terminal Emulator Library
Source:         
ftp://ftp.gnome.org/pub/gnome/sources/vte/0.16/%{_name}-%{version}.tar.bz2
BuildRequires:  fdupes
BuildRequires:  gobject-introspection-devel
%if %{build_for_gtk2}
BuildRequires:  gtk2-devel
BuildRequires:  libgladeui-1_0-devel
BuildRequires:  python-devel
BuildRequires:  python-gtk-devel
%else
BuildRequires:  gtk3-devel
%endif
BuildRequires:  intltool
BuildRequires:  ncurses-devel
BuildRequires:  translation-update-upstream
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
VTE is a terminal emulator library that provides a terminal widget for
use with GTK+ as well as handling of child process and terminal
emulation settings.

%package -n libvte%{_sover}

License:        GPLv2+
Summary:        Terminal Emulator Library
Group:          System/Libraries
Requires:       gnome-pty-helper
Recommends:     %{name}-lang
# Needed to make lang package installable (and because we used to
# have a vte package earlier).
Provides:       %{name} = %{version}
Obsoletes:      %{name} < %{version}

%description -n libvte%{_sover}
VTE is a terminal emulator library that provides a terminal widget for
use with GTK+ as well as handling of child process and terminal
emulation settings.

%package -n gnome-pty-helper
License:        GPLv2+
Summary:        Terminal Emulator Library -- Helper for utmp/wtmp/lastlog 
logging
Group:          System/Libraries
PreReq:         permissions

%description -n gnome-pty-helper
VTE is a terminal emulator library that provides a terminal widget for
use with GTK+ as well as handling of child process and terminal
emulation settings.

This package provides a helper for utmp/wtmp/lastlog logging.

%package tools
License:        GPLv2+
Summary:        Terminal Emulator Library -- Tools
Group:          System/Libraries

%description tools
VTE is a terminal emulator library that provides a terminal widget for
use with GTK+ as well as handling of child process and terminal
emulation settings.

This package provides tools using VTE.

%if %{build_for_gtk2}

%package -n python-vte
License:        GPLv2+
Summary:        Terminal Emulator Library -- Python Bindings
Group:          System/Libraries
Requires:       libvte9 = %{version}
%py_requires

%description -n python-vte
VTE is a terminal emulator library that provides a terminal widget for
use with GTK+ as well as handling of child process and terminal
emulation settings.

This package provides the python bindings for VTE.
%endif

%if %{build_glade_catalog}

%package -n glade3-catalog-vte
License:        GPLv2+
Summary:        Terminal Emulator Library -- Catalog for Glade
Group:          Development/Tools/GUI Builders
Requires:       libvte9 = %{version}
Requires:       glade3
Supplements:    packageand(glade3:%{name}-devel)

%description -n glade3-catalog-vte
VTE is a terminal emulator library that provides a terminal widget for
use with GTK+ as well as handling of child process and terminal
emulation settings.

This package provides a catalog for Glade, to allow the use of VTE
widgets in Glade.
%endif

%package devel
License:        GPLv2+
Summary:        Terminal Emulator Library -- Development Files
Group:          Development/Libraries/GNOME
Requires:       libvte%{_sover} = %{version}
Provides:       vte-doc = %{version}
Obsoletes:      vte-doc < %{version}

%description devel
VTE is a terminal emulator library that provides a terminal widget for
use with GTK+ as well as handling of child process and terminal
emulation settings.

This package contains the files needed for building applications using
VTE.

%lang_package
%prep
%setup -q -n %{_name}-%{version}
translation-update-upstream

%build
%configure --with-pic\
        --with-gtk=%{_gtkver}\
        --disable-static \
%if %{build_glade_catalog}
        --enable-glade-catalogue \
%endif
        --enable-introspection
%__make %{?jobs:-j%jobs} V=1

%install
%makeinstall
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
%if %{build_for_gtk2}
# Files that will come with gtk3 build
rm %{buildroot}%{_libexecdir}/gnome-pty-helper
%endif
%find_lang vte-%{_apiver}
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%fdupes $RPM_BUILD_ROOT

%post -n libvte%{_sover} -p /sbin/ldconfig

%postun -n libvte%{_sover} -p /sbin/ldconfig

%if !%{build_for_gtk2}

%post -n gnome-pty-helper
%set_permissions %{_libexecdir}/gnome-pty-helper

%verifyscript -n gnome-pty-helper
%verify_permissions -e %{_libexecdir}/gnome-pty-helper
%endif

%files -n libvte%{_sover}
%defattr(-,root,root)
%doc AUTHORS COPYING README NEWS ChangeLog
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/Vte-%{_apiver}.typelib
%dir %{_datadir}/vte
%dir %{_datadir}/vte/termcap-%{_apiver}
%{_datadir}/vte/termcap-%{_apiver}/xterm

%if !%{build_for_gtk2}

%files -n gnome-pty-helper
%defattr(-,root,root)
%verify (not mode) %attr (2755, root, utmp) %{_libexecdir}/gnome-pty-helper
%endif

%files tools
%defattr(-,root,root)
%{_bindir}/vte%{?_binver}

%if %{build_for_gtk2}

%files -n python-vte
%defattr(-,root,root)
%doc python/vte-demo.py
%{py_sitedir}/gtk-2.0/*.so
%endif

%if %{build_glade_catalog}

%files -n glade3-catalog-vte
%defattr(-,root,root)
%{_datadir}/glade3/catalogs/vte.xml
%{_datadir}/glade3/pixmaps/hicolor/*/*/widget-vte-terminal.png
%endif

%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%{_includedir}/vte-%{_apiver}/
%{_datadir}/gir-1.0/*.gir
%if %{build_for_gtk2}
%dir %{_datadir}/pygtk
%dir %{_datadir}/pygtk/2.0
%dir %{_datadir}/pygtk/2.0/defs
%{_datadir}/pygtk/2.0/defs/vte.defs
%endif
# Own these repositories to not depend on gtk-doc while building:
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/vte-%{_apiver}/

%files lang -f vte-%{_apiver}.lang

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
++++++ pre_checkin.sh ++++++
#!/bin/sh

sed 's,build_for_gtk2 0,build_for_gtk2 1,;s,build_glade_catalog 
.*,build_glade_catalog 1,;s,^\(Name: *\)vte,\1vte2,' vte.spec > vte2.spec
cp vte.changes vte2.changes
++++++ vte-0.26.2.tar.bz2 -> vte-0.28.0.tar.bz2 ++++++
++++ 10735 lines of diff (skipped)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to