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