]> git.pld-linux.org Git - packages/vte.git/blobdiff - vte.spec
- 0.11.20
[packages/vte.git] / vte.spec
index 8afd7b2fb7a42cd0f57b11ca222921a2c473bb26..a3a62e3e8b22ddfbcf188c94ddd081a64807a8c1 100644 (file)
--- a/vte.spec
+++ b/vte.spec
@@ -1,33 +1,32 @@
 #
 # Conditional build:
-%bcond_with    glx # build for glX support
+%bcond_with    glx # build for GLX support
 #
 Summary:       VTE terminal widget library
 Summary(pl):   Biblioteka z kontrolk± terminala VTE
 Name:          vte
-Version:       0.11.11
-Release:       11
+Version:       0.11.20
+Release:       1
 License:       LGPL
 Group:         X11/Libraries
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/0.11/%{name}-%{version}.tar.bz2
-# Source0-md5: 4d7a3674df5b8be7f1adffa981c1fc3d
+Source0:       http://ftp.gnome.org/pub/gnome/sources/vte/0.11/%{name}-%{version}.tar.bz2
+# Source0-md5: 913983275f47e235287c83e46a80535c
 Patch0:                %{name}-keys.patch
-Patch1:                %{name}-localenames.patch
-Patch2:                %{name}-atktextselection.patch
-Patch3:                %{name}-types-include.patch
-Patch4:                %{name}-performance.patch
-Patch5:                %{name}-nozvt.patch
+Patch1:                %{name}-nozvt.patch
 %{?with_glx:BuildRequires:     OpenGL-devel}
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: gettext-devel
 BuildRequires: glib2-devel >= 2.2.0
 BuildRequires: gtk+2-devel >= 2:2.2.0
 BuildRequires: gtk-doc
 BuildRequires: libart_lgpl-devel >= 2.3.10
 BuildRequires: libtool
-BuildRequires: rpm-pythonprov
+BuildRequires: ncurses-devel
+BuildRequires: pkgconfig
+BuildRequires: python
 BuildRequires: python-pygtk-devel >= 1.99.13
-BuildRequires: xft-devel >= 2.1.2
+BuildRequires: rpmbuild(macros) >= 1.197
 Requires(pre): utempter
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -44,10 +43,11 @@ Summary:    Headers for VTE
 Summary(pl):   Pliki nag³ówkowe VTE
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Requires:      OpenGL-devel
 Requires:      glib2-devel >= 2.2.0
 Requires:      gtk+2-devel >= 2.2.0
 Requires:      libart_lgpl-devel >= 2.3.10
-Requires:      OpenGL-devel
+Requires:      ncurses-devel
 Conflicts:     gnome-libs-devel < 1.4.1.2
 
 %description devel
@@ -94,21 +94,15 @@ Biblioteka VTE dla pythona.
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
-%patch3 -p0
-%patch4 -p0
-%patch5 -p1
-
-mv -f po/{no,nb}.po
 
 %build
-glib-gettextize --copy --force
+%{__glib_gettextize}
 %{__libtoolize}
 %{__aclocal}
 %{__autoheader}
 %{__automake}
 %{__autoconf}
-CFLAGS="-I/usr/include/ncurses"
+CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
 %configure \
        --with-xft2 \
        --with-pangox \
@@ -125,6 +119,7 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/*.{la,a}
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 
 %find_lang vte
 
This page took 0.100915 seconds and 4 git commands to generate.