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