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