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