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