]> git.pld-linux.org Git - packages/vte.git/blame - vte.spec
- grouped subpackages by library version
[packages/vte.git] / vte.spec
CommitLineData
cfe79c9b 1Summary: VTE terminal widget library
d2828306 2Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE
cfe79c9b 3Name: vte
a1363de7
ŁK
4Version: 0.28.1
5Release: 1
175e6d03 6License: LGPL v2+
cfe79c9b 7Group: X11/Libraries
89ff5c97 8Source0: http://ftp.gnome.org/pub/GNOME/sources/vte/0.28/%{name}-%{version}.tar.bz2
a1363de7 9# Source0-md5: 771ff368d4e5ac8e91be4f525b676292
89ff5c97 10BuildRequires: autoconf >= 2.63
caeedbd5 11BuildRequires: automake >= 1:1.9
b20f4843 12BuildRequires: docbook-dtd412-xml
049c0677 13BuildRequires: gettext-devel
89ff5c97 14BuildRequires: glib2-devel >= 1:2.28.0
89ff5c97 15BuildRequires: gobject-introspection-devel >= 0.10.0
81a45b35 16BuildRequires: gtk+2-devel >= 2:2.14.0
89ff5c97 17BuildRequires: gtk+3-devel >= 3.0.0
0471d6bf 18BuildRequires: gtk-doc >= 1.13
864b9f3d 19BuildRequires: gtk-doc-automake
caeedbd5 20BuildRequires: intltool >= 0.40.0
cfe79c9b 21BuildRequires: libtool
049c0677
KK
22BuildRequires: ncurses-devel
23BuildRequires: pkgconfig
81a45b35 24BuildRequires: python-pygtk-devel >= 2:2.12.0
0826a857 25BuildRequires: rpm-pythonprov
89ff5c97 26BuildRequires: rpmbuild(macros) >= 1.592
81a45b35 27Requires: %{name}-common = %{version}-%{release}
ee7305dd
MB
28# sr@Latn vs. sr@latin
29Conflicts: glibc-misc < 6:2.7
cfe79c9b
AF
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
cfe79c9b 32%description
81a45b35 33The vte package contains a terminal widget for GTK+ 3.x. It's used by
cfe79c9b
AF
34gnome-terminal among other programs.
35
6c917d2d 36%description -l pl.UTF-8
a7366067
JB
37Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany
38przez gnome-terminal oraz inne programy.
81a45b35
AF
39
40%package common
41Summary: Common files for vte and vte0
a7366067 42Summary(pl.UTF-8): Pliki wspólne dla vte i vte0
81a45b35 43Group: X11/Libraries
a7366067 44Requires(pre): utempter
81a45b35
AF
45
46%description common
a7366067
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.
81a45b35 51
cfe79c9b 52%package devel
a7366067
JB
53Summary: Header files for VTE for GTK+ 3
54Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 3
cfe79c9b 55Group: X11/Development/Libraries
efc3b9e1 56Requires: %{name} = %{version}-%{release}
89ff5c97
MB
57Requires: glib2-devel >= 1:2.28.0
58Requires: gtk+3-devel >= 3.0.0
f41aff32 59Requires: ncurses-devel
cfe79c9b
AF
60Conflicts: gnome-libs-devel < 1.4.1.2
61
62%description devel
a7366067 63This package contains header files for GTK+ 3 based vte library.
cfe79c9b 64
6c917d2d 65%description devel -l pl.UTF-8
a7366067
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.
cfe79c9b 107
81a45b35 108%package -n vte0-devel
a7366067
JB
109Summary: Header files for VTE for GTK+ 2
110Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 2
81a45b35
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
a7366067 119This package contains header files for GTK+ 2 based vte library.
81a45b35
AF
120
121%description -n vte0-devel -l pl.UTF-8
a7366067
JB
122Pliki nagłówkowe potrzebne do kompilowania programów używających
123biblioteki vte opartej na GTK+ 2.
cfe79c9b 124
81a45b35 125%package -n vte0-static
a7366067
JB
126Summary: Static VTE library for GTK+ 2
127Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 2
81a45b35
AF
128Group: X11/Development/Libraries
129Requires: vte0-devel = %{version}-%{release}
130Conflicts: gnome-libs-static < 1.4.1.2
131
132%description -n vte0-static
a7366067 133Static version of VTE library for GTK+ 2.
81a45b35
AF
134
135%description -n vte0-static -l pl.UTF-8
a7366067
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.
81a45b35
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
cfe79c9b 177%prep
28fdb696 178%setup -q
cfe79c9b
AF
179
180%build
65f8a03f 181%{__gtkdocize}
62df6718 182%{__glib_gettextize}
a3456d5d 183%{__intltoolize}
dcd5996b 184%{__libtoolize}
185%{__aclocal}
186%{__autoheader}
187%{__automake}
188%{__autoconf}
6c8a1130 189cd gnome-pty-helper
190%{__libtoolize}
191%{__aclocal}
192%{__autoheader}
193%{__automake}
194%{__autoconf}
195cd ..
81a45b35 196COMMON_OPTIONS="--disable-silent-rules \
d146662f 197 --enable-gtk-doc \
89ff5c97 198 --enable-introspection \
f1c2e26c 199 --with-default-emulation=xterm \
65f8a03f 200 --with-html-dir=%{_gtkdocdir}
81a45b35
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
7c0544b4 212%{__make}
81a45b35 213cd ..
cfe79c9b
AF
214
215%install
216rm -rf $RPM_BUILD_ROOT
217
a7366067 218%{__make} -C gtk2 install \
81a45b35 219 DESTDIR=$RPM_BUILD_ROOT
a7366067 220%{__make} -C gtk3 install \
7c0544b4 221 DESTDIR=$RPM_BUILD_ROOT
ead4696e 222
81a45b35
AF
223%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \
224 $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/vtemodule.{la,a}
e6a03317 225
89ff5c97 226%find_lang %{name}-2.90
81a45b35 227%find_lang %{name}-0.0
cfe79c9b
AF
228
229%clean
230rm -rf $RPM_BUILD_ROOT
231
232%post -p /sbin/ldconfig
233%postun -p /sbin/ldconfig
234
a7366067 235%post -n vte0 -p /sbin/ldconfig
8a6a29c0
MB
236%postun -n vte0 -p /sbin/ldconfig
237
89ff5c97 238%files -f vte-2.90.lang
cfe79c9b 239%defattr(644,root,root,755)
89ff5c97
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
81a45b35 244
81a45b35
AF
245%files common
246%defattr(644,root,root,755)
247%doc AUTHORS ChangeLog MAINTAINERS NEWS README
cfe79c9b 248%attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
90bd3967 249%{_datadir}/vte
cfe79c9b
AF
250
251%files devel
252%defattr(644,root,root,755)
89ff5c97
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
cfe79c9b 257
a7366067
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
81a45b35
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
81a45b35
AF
280%files -n vte0-static
281%defattr(644,root,root,755)
282%{_libdir}/libvte.a
283
a7366067
JB
284%files -n vte0-apidocs
285%defattr(644,root,root,755)
286%{_gtkdocdir}/vte-0.0
287
81a45b35
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)
a7366067 294%{_datadir}/pygtk/2.0/defs/vte.defs
81a45b35 295%{_pkgconfigdir}/pyvte.pc
This page took 0.123514 seconds and 4 git commands to generate.