]> git.pld-linux.org Git - packages/vte.git/blame - vte.spec
- https://bugs.launchpad.net/ubuntu/+source/vte/+bug/91985 fixed by vte-branch.diff
[packages/vte.git] / vte.spec
CommitLineData
2d709f26 1#
2# Conditional build:
f1c2e26c 3%bcond_with glx # drawing using GLX
2d709f26 4#
cfe79c9b 5Summary: VTE terminal widget library
d2828306 6Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE
cfe79c9b 7Name: vte
62df6718 8Version: 0.16.0
36c42c8d 9Release: 2
cfe79c9b
AF
10License: LGPL
11Group: X11/Libraries
62df6718 12Source0: http://ftp.gnome.org/pub/gnome/sources/vte/0.16/%{name}-%{version}.tar.bz2
13# Source0-md5: 6b85967ba75ed574d0e5782697fbc79f
28fdb696 14Patch0: %{name}-keys.patch
f1c2e26c 15Patch1: %{name}-link.patch
a2a68dd9 16Patch2: %{name}-branch.diff
f1c2e26c
JB
17%{?with_glx:BuildRequires: OpenGL-GLU-devel}
18%{?with_glx:BuildRequires: OpenGL-GLX-devel}
19BuildRequires: autoconf >= 2.59-9
62df6718 20BuildRequires: automake >= 1:1.6
049c0677 21BuildRequires: gettext-devel
62df6718 22BuildRequires: gtk+2-devel >= 2:2.10.9
23BuildRequires: gtk-doc >= 1.8
864b9f3d 24BuildRequires: gtk-doc-automake
62df6718 25BuildRequires: intltool >= 0.35.5
cfe79c9b 26BuildRequires: libtool
049c0677
KK
27BuildRequires: ncurses-devel
28BuildRequires: pkgconfig
62df6718 29BuildRequires: python-pygtk-devel >= 2:2.10.4
0826a857 30BuildRequires: rpm-pythonprov
4e828b2a 31BuildRequires: rpmbuild(macros) >= 1.197
cfe79c9b
AF
32Requires(pre): utempter
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
cfe79c9b
AF
35%description
36The vte package contains a terminal widget for GTK+. It's used by
37gnome-terminal among other programs.
38
6c917d2d
JR
39%description -l pl.UTF-8
40Ten pakiet zawiera kontrolkę terminala dla GTK+. Jest używany przez
cfe79c9b
AF
41gnome-terminal oraz inne programy.
42
43%package devel
c98f6e1e 44Summary: Headers for VTE
d2828306 45Summary(pl.UTF-8): Pliki nagłówkowe VTE
cfe79c9b 46Group: X11/Development/Libraries
efc3b9e1 47Requires: %{name} = %{version}-%{release}
f1c2e26c 48%{?with_glx:Requires: OpenGL-GLU-devel}
62df6718 49Requires: gtk+2-devel >= 2:2.10.9
f41aff32 50Requires: ncurses-devel
cfe79c9b
AF
51Conflicts: gnome-libs-devel < 1.4.1.2
52
53%description devel
54The vte package contains a terminal widget for GTK+. It's used by
55gnome-terminal among other programs.
56
d74d41f0
MB
57You should install the vte-devel package if you would like to compile
58applications that use the vte terminal widget. You do not need to
59install vte-devel if you just want to use precompiled applications.
cfe79c9b 60
6c917d2d
JR
61%description devel -l pl.UTF-8
62Pliki nagłówkowe potrzebne do kompilowania programów używających vte.
cfe79c9b
AF
63
64%package static
c98f6e1e 65Summary: Static VTE library
d2828306 66Summary(pl.UTF-8): Statyczna biblioteka VTE
cfe79c9b 67Group: X11/Development/Libraries
efc3b9e1 68Requires: %{name}-devel = %{version}-%{release}
cfe79c9b
AF
69Conflicts: gnome-libs-static < 1.4.1.2
70
71%description static
c98f6e1e 72Static version of VTE libraries.
cfe79c9b 73
6c917d2d 74%description static -l pl.UTF-8
c98f6e1e 75Statyczna wersja bibliotek VTE.
cfe79c9b 76
bc58e180 77%package -n python-vte
c98f6e1e 78Summary: Python VTE module
d2828306 79Summary(pl.UTF-8): Moduł VTE dla pythona
bc58e180 80Group: Libraries
58ac5d7b 81%pyrequires_eq python-libs
efc3b9e1 82Requires: %{name} = %{version}-%{release}
62df6718 83Requires: python-pygtk-gtk >= 2:2.10.4
bc58e180 84
85%description -n python-vte
c98f6e1e 86Python VTE library.
bc58e180 87
6c917d2d 88%description -n python-vte -l pl.UTF-8
c98f6e1e 89Biblioteka VTE dla pythona.
bc58e180 90
895c278e 91%package apidocs
92Summary: VTE API documentation
d2828306 93Summary(pl.UTF-8): Dokumentacja API VTE
895c278e 94Group: Documentation
95Requires: gtk-doc-common
96
97%description apidocs
98VTE API documentation.
99
6c917d2d 100%description apidocs -l pl.UTF-8
895c278e 101Dokumentacja API VTE.
102
cfe79c9b 103%prep
28fdb696 104%setup -q
6c8a1130 105%patch0 -p1
f1c2e26c 106%patch1 -p1
864b9f3d 107%patch2 -p1
cfe79c9b
AF
108
109%build
62df6718 110%{__glib_gettextize}
a3456d5d 111%{__intltoolize}
dcd5996b 112%{__libtoolize}
113%{__aclocal}
114%{__autoheader}
115%{__automake}
116%{__autoconf}
6c8a1130 117cd gnome-pty-helper
118%{__libtoolize}
119%{__aclocal}
120%{__autoheader}
121%{__automake}
122%{__autoconf}
123cd ..
d146662f 124%configure \
125 --enable-gtk-doc \
f1c2e26c
JB
126 --with-default-emulation=xterm \
127 %{?with_glx:--with-glX} \
128 --with-html-dir=%{_gtkdocdir} \
129 --with-pangox \
130 --with-xft2
d74d41f0 131
7c0544b4 132%{__make}
cfe79c9b
AF
133
134%install
135rm -rf $RPM_BUILD_ROOT
136
137%{__make} install \
7c0544b4 138 DESTDIR=$RPM_BUILD_ROOT
ead4696e 139
efc3b9e1 140rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/*.{la,a}
cfe79c9b 141
7f894692 142%find_lang vte
cfe79c9b
AF
143
144%clean
145rm -rf $RPM_BUILD_ROOT
146
147%post -p /sbin/ldconfig
148%postun -p /sbin/ldconfig
149
7f894692 150%files -f vte.lang
cfe79c9b 151%defattr(644,root,root,755)
f1c2e26c 152%doc AUTHORS ChangeLog MAINTAINERS NEWS README
cfe79c9b 153%attr(755,root,root) %{_bindir}/vte
f1c2e26c 154%attr(755,root,root) %{_libdir}/libvte.so.*.*.*
cfe79c9b
AF
155%dir %{_libdir}/vte
156%attr(755,root,root) %{_libdir}/vte/*
157%attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
90bd3967 158%{_datadir}/vte
cfe79c9b
AF
159
160%files devel
161%defattr(644,root,root,755)
f1c2e26c
JB
162%attr(755,root,root) %{_libdir}/libvte.so
163%{_libdir}/libvte.la
164%{_includedir}/vte
165%{_pkgconfigdir}/vte.pc
cfe79c9b
AF
166
167%files static
168%defattr(644,root,root,755)
f1c2e26c 169%{_libdir}/libvte.a
bc58e180 170
895c278e 171%files apidocs
172%defattr(644,root,root,755)
f1c2e26c 173%{_gtkdocdir}/vte
895c278e 174
bc58e180 175%files -n python-vte
cba5de48 176%defattr(644,root,root,755)
f1c2e26c 177%attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so
This page took 0.070185 seconds and 4 git commands to generate.