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