]> git.pld-linux.org Git - packages/vte.git/blobdiff - vte.spec
- added localenames patch, rename no->nb
[packages/vte.git] / vte.spec
index d6906405ec916c52684ccc32f10bc663ed019a03..2dea5f3751e59d89885065901a007e9d167ff7af 100644 (file)
--- a/vte.spec
+++ b/vte.spec
@@ -1,24 +1,27 @@
-
 %include        /usr/lib/rpm/macros.python
-
 Summary:       VTE terminal widget library
 Summary(pl):   Biblioteka z kontrolk± terminala VTE
 Name:          vte
-Version:       0.11.6
-Release:       1
+Version:       0.11.10
+Release:       3
 License:       LGPL
 Group:         X11/Libraries
 Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/0.11/%{name}-%{version}.tar.bz2
+# Source0-md5: 71facdedd477749908402a6931d36e64
 Patch0:                %{name}-keys.patch
+Patch1:                %{name}-localenames.patch
+Patch2:                %{name}-link.patch
+BuildRequires: OpenGL-devel
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: Xft-devel >= 2.1-2
 BuildRequires: glib2-devel >= 2.2.0
 BuildRequires: gtk+2-devel >= 2.2.0
+BuildRequires: gtk-doc
 BuildRequires: libart_lgpl-devel >= 2.3.10
 BuildRequires: libtool
-BuildRequires:  rpm-pythonprov
+BuildRequires: rpm-pythonprov
 BuildRequires: python-pygtk-devel >= 1.99.13
+BuildRequires: xft-devel >= 2.1.2
 Requires(pre): utempter
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,6 +41,7 @@ Requires:     %{name} = %{version}
 Requires:      glib2-devel >= 2.2.0
 Requires:      gtk+2-devel >= 2.2.0
 Requires:      libart_lgpl-devel >= 2.3.10
+Requires:      OpenGL-devel
 Conflicts:     gnome-libs-devel < 1.4.1.2
 
 %description devel
@@ -81,6 +85,10 @@ Biblioteka VTE dla pythona.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+mv -f po/{no,nb}.po
 
 %build
 glib-gettextize --copy --force
@@ -90,21 +98,21 @@ glib-gettextize --copy --force
 %{__automake}
 %{__autoconf}
 CFLAGS="-I/usr/include/ncurses"
-LDFLAGS="-lncurses"
 %configure \
+       --with-xft2 \
+       --with-pangox \
+       --with-glX \
        --enable-gtk-doc \
-       --with-html-path=%{_gtkdocdir} 
-       
-%{__make} pythonsiteexecdir=%{py_sitedir}
+       --with-html-dir=%{_gtkdocdir}
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       pkgconfigdir=%{_pkgconfigdir} \
-       pythonsiteexecdir=%{py_sitedir} \
-       HTML_DIR=%{_gtkdocdir}
+       DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
 
 %find_lang vte
 
This page took 0.030939 seconds and 4 git commands to generate.