]> git.pld-linux.org Git - packages/vte0.git/blame - vte0.spec
- updated required gtk+2/pango version
[packages/vte0.git] / vte0.spec
CommitLineData
e8267128 1Summary: VTE terminal widget library
81d2c6d7 2Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE
e8267128 3Name: vte
7be9c8ef
ŁK
4Version: 0.28.2
5Release: 1
0dba45ff 6License: LGPL v2+
e8267128 7Group: X11/Libraries
7a680fca 8Source0: http://ftp.gnome.org/pub/GNOME/sources/vte/0.28/%{name}-%{version}.tar.bz2
7be9c8ef 9# Source0-md5: f07a4bf943194f94b7f142db8f7f36dc
7a680fca 10BuildRequires: autoconf >= 2.63
6edcfe02 11BuildRequires: automake >= 1:1.9
4b8a5265 12BuildRequires: docbook-dtd412-xml
fab84d2b 13BuildRequires: gettext-devel
7a680fca 14BuildRequires: glib2-devel >= 1:2.28.0
7a680fca 15BuildRequires: gobject-introspection-devel >= 0.10.0
117fafc1 16BuildRequires: gtk+2-devel >= 2:2.20.0
7a680fca 17BuildRequires: gtk+3-devel >= 3.0.0
0b8514c4 18BuildRequires: gtk-doc >= 1.13
117fafc1 19BuildRequires: gtk-doc-automake >= 1.13
6edcfe02 20BuildRequires: intltool >= 0.40.0
117fafc1 21BuildRequires: libtool >= 2:2.2
fab84d2b 22BuildRequires: ncurses-devel
117fafc1 23BuildRequires: pango-devel >= 1:1.22.0
fab84d2b 24BuildRequires: pkgconfig
82049e23 25BuildRequires: python-pygtk-devel >= 2:2.12.0
e3046928 26BuildRequires: rpm-pythonprov
7a680fca 27BuildRequires: rpmbuild(macros) >= 1.592
82049e23 28Requires: %{name}-common = %{version}-%{release}
117fafc1 29Requires: glib2 >= 1:2.28.0
8f963d26
MB
30# sr@Latn vs. sr@latin
31Conflicts: glibc-misc < 6:2.7
117fafc1 32Requires: pango >= 1:1.22.0
e8267128
AF
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
e8267128 35%description
82049e23 36The vte package contains a terminal widget for GTK+ 3.x. It's used by
e8267128
AF
37gnome-terminal among other programs.
38
3e245f43 39%description -l pl.UTF-8
73261104
JB
40Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany
41przez gnome-terminal oraz inne programy.
82049e23
AF
42
43%package common
44Summary: Common files for vte and vte0
73261104 45Summary(pl.UTF-8): Pliki wspólne dla vte i vte0
82049e23 46Group: X11/Libraries
73261104 47Requires(pre): utempter
82049e23
AF
48
49%description common
73261104
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.
82049e23 54
e8267128 55%package devel
73261104
JB
56Summary: Header files for VTE for GTK+ 3
57Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 3
e8267128 58Group: X11/Development/Libraries
26e85033 59Requires: %{name} = %{version}-%{release}
7a680fca
MB
60Requires: glib2-devel >= 1:2.28.0
61Requires: gtk+3-devel >= 3.0.0
132b7410 62Requires: ncurses-devel
117fafc1 63Requires: pango-devel >= 1:1.22.0
e8267128
AF
64Conflicts: gnome-libs-devel < 1.4.1.2
65
66%description devel
73261104 67This package contains header files for GTK+ 3 based vte library.
e8267128 68
3e245f43 69%description devel -l pl.UTF-8
73261104
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}
117fafc1
JB
103Requires: glib2 >= 1:2.28.0
104Requires: gtk+2 >= 2:2.20.0
105Requires: pango >= 1:1.22.0
73261104
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.
e8267128 114
82049e23 115%package -n vte0-devel
73261104
JB
116Summary: Header files for VTE for GTK+ 2
117Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 2
82049e23
AF
118Group: X11/Development/Libraries
119Requires: vte0 = %{version}-%{release}
120Requires: glib2-devel >= 1:2.28.0
117fafc1 121Requires: gtk+2-devel >= 2:2.20.0
82049e23 122Requires: ncurses-devel
117fafc1 123Requires: pango-devel >= 1:1.22.0
82049e23
AF
124Conflicts: gnome-libs-devel < 1.4.1.2
125
126%description -n vte0-devel
73261104 127This package contains header files for GTK+ 2 based vte library.
82049e23
AF
128
129%description -n vte0-devel -l pl.UTF-8
73261104
JB
130Pliki nagłówkowe potrzebne do kompilowania programów używających
131biblioteki vte opartej na GTK+ 2.
e8267128 132
82049e23 133%package -n vte0-static
73261104
JB
134Summary: Static VTE library for GTK+ 2
135Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 2
82049e23
AF
136Group: X11/Development/Libraries
137Requires: vte0-devel = %{version}-%{release}
138Conflicts: gnome-libs-static < 1.4.1.2
139
140%description -n vte0-static
73261104 141Static version of VTE library for GTK+ 2.
82049e23
AF
142
143%description -n vte0-static -l pl.UTF-8
73261104
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.
82049e23
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
e8267128 185%prep
302939c7 186%setup -q
e8267128
AF
187
188%build
315fbd5f 189%{__gtkdocize}
7535a758 190%{__glib_gettextize}
f7f6359f 191%{__intltoolize}
75acc4b3 192%{__libtoolize}
193%{__aclocal}
194%{__autoheader}
195%{__automake}
196%{__autoconf}
094ec31e 197cd gnome-pty-helper
198%{__libtoolize}
199%{__aclocal}
200%{__autoheader}
201%{__automake}
202%{__autoconf}
203cd ..
82049e23 204COMMON_OPTIONS="--disable-silent-rules \
c97b79a6 205 --enable-gtk-doc \
7a680fca 206 --enable-introspection \
935df165 207 --with-default-emulation=xterm \
315fbd5f 208 --with-html-dir=%{_gtkdocdir}
82049e23
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
dee441fe 220%{__make}
82049e23 221cd ..
e8267128
AF
222
223%install
224rm -rf $RPM_BUILD_ROOT
225
73261104 226%{__make} -C gtk2 install \
82049e23 227 DESTDIR=$RPM_BUILD_ROOT
73261104 228%{__make} -C gtk3 install \
dee441fe 229 DESTDIR=$RPM_BUILD_ROOT
c94b6bd6 230
82049e23
AF
231%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \
232 $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/vtemodule.{la,a}
17cb21a5 233
7a680fca 234%find_lang %{name}-2.90
82049e23 235%find_lang %{name}-0.0
e8267128
AF
236
237%clean
238rm -rf $RPM_BUILD_ROOT
239
240%post -p /sbin/ldconfig
241%postun -p /sbin/ldconfig
242
73261104 243%post -n vte0 -p /sbin/ldconfig
7438f09c
MB
244%postun -n vte0 -p /sbin/ldconfig
245
7a680fca 246%files -f vte-2.90.lang
e8267128 247%defattr(644,root,root,755)
7a680fca
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
82049e23 252
82049e23
AF
253%files common
254%defattr(644,root,root,755)
255%doc AUTHORS ChangeLog MAINTAINERS NEWS README
e8267128 256%attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
101853b1 257%{_datadir}/vte
e8267128
AF
258
259%files devel
260%defattr(644,root,root,755)
7a680fca
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
e8267128 265
73261104
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
82049e23
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
82049e23
AF
288%files -n vte0-static
289%defattr(644,root,root,755)
290%{_libdir}/libvte.a
291
73261104
JB
292%files -n vte0-apidocs
293%defattr(644,root,root,755)
294%{_gtkdocdir}/vte-0.0
295
82049e23
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)
73261104 302%{_datadir}/pygtk/2.0/defs/vte.defs
82049e23 303%{_pkgconfigdir}/pyvte.pc
This page took 0.158708 seconds and 4 git commands to generate.