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