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