]> git.pld-linux.org Git - packages/vte.git/blame - vte.spec
- updated required gtk+2/pango version
[packages/vte.git] / vte.spec
CommitLineData
cfe79c9b 1Summary: VTE terminal widget library
d2828306 2Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE
cfe79c9b 3Name: vte
de6591dc
ŁK
4Version: 0.28.2
5Release: 1
175e6d03 6License: LGPL v2+
cfe79c9b 7Group: X11/Libraries
89ff5c97 8Source0: http://ftp.gnome.org/pub/GNOME/sources/vte/0.28/%{name}-%{version}.tar.bz2
de6591dc 9# Source0-md5: f07a4bf943194f94b7f142db8f7f36dc
89ff5c97 10BuildRequires: autoconf >= 2.63
caeedbd5 11BuildRequires: automake >= 1:1.9
b20f4843 12BuildRequires: docbook-dtd412-xml
049c0677 13BuildRequires: gettext-devel
89ff5c97 14BuildRequires: glib2-devel >= 1:2.28.0
89ff5c97 15BuildRequires: gobject-introspection-devel >= 0.10.0
882367f4 16BuildRequires: gtk+2-devel >= 2:2.20.0
89ff5c97 17BuildRequires: gtk+3-devel >= 3.0.0
0471d6bf 18BuildRequires: gtk-doc >= 1.13
882367f4 19BuildRequires: gtk-doc-automake >= 1.13
caeedbd5 20BuildRequires: intltool >= 0.40.0
882367f4 21BuildRequires: libtool >= 2:2.2
049c0677 22BuildRequires: ncurses-devel
882367f4 23BuildRequires: pango-devel >= 1:1.22.0
049c0677 24BuildRequires: pkgconfig
81a45b35 25BuildRequires: python-pygtk-devel >= 2:2.12.0
0826a857 26BuildRequires: rpm-pythonprov
89ff5c97 27BuildRequires: rpmbuild(macros) >= 1.592
81a45b35 28Requires: %{name}-common = %{version}-%{release}
882367f4 29Requires: glib2 >= 1:2.28.0
ee7305dd
MB
30# sr@Latn vs. sr@latin
31Conflicts: glibc-misc < 6:2.7
882367f4 32Requires: pango >= 1:1.22.0
cfe79c9b
AF
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
cfe79c9b 35%description
81a45b35 36The vte package contains a terminal widget for GTK+ 3.x. It's used by
cfe79c9b
AF
37gnome-terminal among other programs.
38
6c917d2d 39%description -l pl.UTF-8
a7366067
JB
40Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany
41przez gnome-terminal oraz inne programy.
81a45b35
AF
42
43%package common
44Summary: Common files for vte and vte0
a7366067 45Summary(pl.UTF-8): Pliki wspólne dla vte i vte0
81a45b35 46Group: X11/Libraries
a7366067 47Requires(pre): utempter
81a45b35
AF
48
49%description common
a7366067
JB
50Common files for GTK+ 3 based vte and GTK+ 2 based vte0.
51
52%description common -l pl.UTF-8
53Pliki wspólne dla vte opartego na GTK+ 3 oraz vte0 opartego na GTK+ 2.
81a45b35 54
cfe79c9b 55%package devel
a7366067
JB
56Summary: Header files for VTE for GTK+ 3
57Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 3
cfe79c9b 58Group: X11/Development/Libraries
efc3b9e1 59Requires: %{name} = %{version}-%{release}
89ff5c97
MB
60Requires: glib2-devel >= 1:2.28.0
61Requires: gtk+3-devel >= 3.0.0
f41aff32 62Requires: ncurses-devel
882367f4 63Requires: pango-devel >= 1:1.22.0
cfe79c9b
AF
64Conflicts: gnome-libs-devel < 1.4.1.2
65
66%description devel
a7366067 67This package contains header files for GTK+ 3 based vte library.
cfe79c9b 68
6c917d2d 69%description devel -l pl.UTF-8
a7366067
JB
70Pliki nagłówkowe potrzebne do kompilowania programów używających
71biblioteki vte opartej na GTK+ 3.
72
73%package static
74Summary: Static VTE library for GTK+ 3
75Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 3
76Group: X11/Development/Libraries
77Requires: %{name}-devel = %{version}-%{release}
78Conflicts: gnome-libs-static < 1.4.1.2
79
80%description static
81Static version of VTE library for GTK+ 3.
82
83%description static -l pl.UTF-8
84Statyczna wersja biblioteki VTE dla GTK+ 3.
85
86%package apidocs
87Summary: VTE API documentation (GTK+ 3 version)
88Summary(pl.UTF-8): Dokumentacja API VTE (wersja dla GTK+ 3)
89Group: Documentation
90Requires: gtk-doc-common
91
92%description apidocs
93VTE API documentation (GTK+ 3 version).
94
95%description apidocs -l pl.UTF-8
96Dokumentacja API VTE (wersja dla GTK+ 3).
97
98%package -n vte0
99Summary: VTE terminal widget library for GTK+ 2
100Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE dla GTK+ 2
101Group: X11/Libraries
102Requires: %{name}-common = %{version}-%{release}
882367f4
JB
103Requires: glib2 >= 1:2.28.0
104Requires: gtk+2 >= 2:2.20.0
105Requires: pango >= 1:1.22.0
a7366067
JB
106
107%description -n vte0
108The vte package contains a terminal widget for GTK+ 2.x. It's used by
109gnome-terminal among other programs.
110
111%description -n vte0 -l pl.UTF-8
112Ten pakiet zawiera kontrolkę terminala dla GTK+ 2.x. Jest używany
113przez gnome-terminal oraz inne programy.
cfe79c9b 114
81a45b35 115%package -n vte0-devel
a7366067
JB
116Summary: Header files for VTE for GTK+ 2
117Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 2
81a45b35
AF
118Group: X11/Development/Libraries
119Requires: vte0 = %{version}-%{release}
120Requires: glib2-devel >= 1:2.28.0
882367f4 121Requires: gtk+2-devel >= 2:2.20.0
81a45b35 122Requires: ncurses-devel
882367f4 123Requires: pango-devel >= 1:1.22.0
81a45b35
AF
124Conflicts: gnome-libs-devel < 1.4.1.2
125
126%description -n vte0-devel
a7366067 127This package contains header files for GTK+ 2 based vte library.
81a45b35
AF
128
129%description -n vte0-devel -l pl.UTF-8
a7366067
JB
130Pliki nagłówkowe potrzebne do kompilowania programów używających
131biblioteki vte opartej na GTK+ 2.
cfe79c9b 132
81a45b35 133%package -n vte0-static
a7366067
JB
134Summary: Static VTE library for GTK+ 2
135Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 2
81a45b35
AF
136Group: X11/Development/Libraries
137Requires: vte0-devel = %{version}-%{release}
138Conflicts: gnome-libs-static < 1.4.1.2
139
140%description -n vte0-static
a7366067 141Static version of VTE library for GTK+ 2.
81a45b35
AF
142
143%description -n vte0-static -l pl.UTF-8
a7366067
JB
144Statyczna wersja biblioteki VTE dla GTK+ 2.
145
146%package -n vte0-apidocs
147Summary: VTE API documentation - GTK+ 2.x version
148Summary(pl.UTF-8): Dokumentacja API VTE - wersja dla GTK+ 2.x
149Group: Documentation
150Requires: gtk-doc-common
151
152%description -n vte0-apidocs
153VTE API documentation - GTK+ 2.x version.
154
155%description -n vte0-apidocs -l pl.UTF-8
156Dokumentacja API VTE - wersja dla GTK+ 2.x.
81a45b35
AF
157
158%package -n python-vte
159Summary: Python VTE module
160Summary(pl.UTF-8): Moduł VTE dla pythona
161Group: Libraries/Python
162%pyrequires_eq python-libs
163Requires: vte0 = %{version}-%{release}
164Requires: python-pygtk-gtk >= 2:2.12.0
165
166%description -n python-vte
167Python VTE library.
168
169%description -n python-vte -l pl.UTF-8
170Biblioteka VTE dla pythona.
171
172%package -n python-vte-devel
173Summary: Development files for VTE Python bindings
174Summary(pl.UTF-8): Pliki programistyczne wiązań Pythona do VTE
175Group: Development/Languages/Python
176Requires: vte0-devel = %{version}-%{release}
177Requires: python-vte = %{version}-%{release}
178
179%description -n python-vte-devel
180Development files for VTE Python bindings.
181
182%description -n python-vte-devel -l pl.UTF-8
183Pliki programistyczne wiązań Pythona do VTE.
184
cfe79c9b 185%prep
28fdb696 186%setup -q
cfe79c9b
AF
187
188%build
65f8a03f 189%{__gtkdocize}
62df6718 190%{__glib_gettextize}
a3456d5d 191%{__intltoolize}
dcd5996b 192%{__libtoolize}
193%{__aclocal}
194%{__autoheader}
195%{__automake}
196%{__autoconf}
6c8a1130 197cd gnome-pty-helper
198%{__libtoolize}
199%{__aclocal}
200%{__autoheader}
201%{__automake}
202%{__autoconf}
203cd ..
81a45b35 204COMMON_OPTIONS="--disable-silent-rules \
d146662f 205 --enable-gtk-doc \
89ff5c97 206 --enable-introspection \
f1c2e26c 207 --with-default-emulation=xterm \
65f8a03f 208 --with-html-dir=%{_gtkdocdir}
81a45b35
AF
209"
210mkdir gtk{2,3}
211cd gtk2
212../%configure \
213 --with-gtk=2.0 \
214 $COMMON_OPTIONS
215%{__make}
216cd ../gtk3
217../%configure \
218 --with-gtk=3.0 \
219 $COMMON_OPTIONS
7c0544b4 220%{__make}
81a45b35 221cd ..
cfe79c9b
AF
222
223%install
224rm -rf $RPM_BUILD_ROOT
225
a7366067 226%{__make} -C gtk2 install \
81a45b35 227 DESTDIR=$RPM_BUILD_ROOT
a7366067 228%{__make} -C gtk3 install \
7c0544b4 229 DESTDIR=$RPM_BUILD_ROOT
ead4696e 230
81a45b35
AF
231%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \
232 $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/vtemodule.{la,a}
e6a03317 233
89ff5c97 234%find_lang %{name}-2.90
81a45b35 235%find_lang %{name}-0.0
cfe79c9b
AF
236
237%clean
238rm -rf $RPM_BUILD_ROOT
239
240%post -p /sbin/ldconfig
241%postun -p /sbin/ldconfig
242
a7366067 243%post -n vte0 -p /sbin/ldconfig
8a6a29c0
MB
244%postun -n vte0 -p /sbin/ldconfig
245
89ff5c97 246%files -f vte-2.90.lang
cfe79c9b 247%defattr(644,root,root,755)
89ff5c97
MB
248%attr(755,root,root) %{_bindir}/vte2_90
249%attr(755,root,root) %{_libdir}/libvte2_90.so.*.*.*
250%attr(755,root,root) %ghost %{_libdir}/libvte2_90.so.9
251%{_libdir}/girepository-1.0/Vte-2.90.typelib
81a45b35 252
81a45b35
AF
253%files common
254%defattr(644,root,root,755)
255%doc AUTHORS ChangeLog MAINTAINERS NEWS README
cfe79c9b 256%attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
90bd3967 257%{_datadir}/vte
cfe79c9b
AF
258
259%files devel
260%defattr(644,root,root,755)
89ff5c97
MB
261%attr(755,root,root) %{_libdir}/libvte2_90.so
262%{_includedir}/vte-2.90
263%{_pkgconfigdir}/vte-2.90.pc
264%{_datadir}/gir-1.0/Vte-2.90.gir
cfe79c9b 265
a7366067
JB
266%files static
267%defattr(644,root,root,755)
268%{_libdir}/libvte2_90.a
269
270%files apidocs
271%defattr(644,root,root,755)
272%{_gtkdocdir}/vte-2.90
273
274%files -n vte0 -f vte-0.0.lang
275%defattr(644,root,root,755)
276%attr(755,root,root) %{_bindir}/vte
277%attr(755,root,root) %{_libdir}/libvte.so.*.*.*
278%attr(755,root,root) %ghost %{_libdir}/libvte.so.9
279%{_libdir}/girepository-1.0/Vte-0.0.typelib
280
81a45b35
AF
281%files -n vte0-devel
282%defattr(644,root,root,755)
283%attr(755,root,root) %{_libdir}/libvte.so
284%{_includedir}/vte-0.0
285%{_pkgconfigdir}/vte.pc
286%{_datadir}/gir-1.0/Vte-0.0.gir
287
81a45b35
AF
288%files -n vte0-static
289%defattr(644,root,root,755)
290%{_libdir}/libvte.a
291
a7366067
JB
292%files -n vte0-apidocs
293%defattr(644,root,root,755)
294%{_gtkdocdir}/vte-0.0
295
81a45b35
AF
296%files -n python-vte
297%defattr(644,root,root,755)
298%attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so
299
300%files -n python-vte-devel
301%defattr(644,root,root,755)
a7366067 302%{_datadir}/pygtk/2.0/defs/vte.defs
81a45b35 303%{_pkgconfigdir}/pyvte.pc
This page took 0.370442 seconds and 4 git commands to generate.