]> git.pld-linux.org Git - packages/vte0.git/blame - vte0.spec
- updated to 0.28.1
[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
4a297eeb
ŁK
4Version: 0.28.1
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
4a297eeb 9# Source0-md5: 771ff368d4e5ac8e91be4f525b676292
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
315fbd5f 15BuildRequires: gnome-common
7a680fca 16BuildRequires: gobject-introspection-devel >= 0.10.0
82049e23 17BuildRequires: gtk+2-devel >= 2:2.14.0
7a680fca 18BuildRequires: gtk+3-devel >= 3.0.0
0b8514c4 19BuildRequires: gtk-doc >= 1.13
d759b5c6 20BuildRequires: gtk-doc-automake
6edcfe02 21BuildRequires: intltool >= 0.40.0
e8267128 22BuildRequires: libtool
fab84d2b
KK
23BuildRequires: ncurses-devel
24BuildRequires: pkgconfig
82049e23 25BuildRequires: python-pygtk-devel >= 2:2.12.0
e3046928 26BuildRequires: rpm-pythonprov
7a680fca 27BuildRequires: rpmbuild(macros) >= 1.592
e8267128 28Requires(pre): utempter
82049e23 29Requires: %{name}-common = %{version}-%{release}
8f963d26
MB
30# sr@Latn vs. sr@latin
31Conflicts: glibc-misc < 6:2.7
e8267128
AF
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
e8267128 34%description
82049e23 35The vte package contains a terminal widget for GTK+ 3.x. It's used by
e8267128
AF
36gnome-terminal among other programs.
37
3e245f43 38%description -l pl.UTF-8
82049e23 39Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany przez
e8267128
AF
40gnome-terminal oraz inne programy.
41
82049e23
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
e8267128 63%package devel
4f8c8d7b 64Summary: Headers for VTE
81d2c6d7 65Summary(pl.UTF-8): Pliki nagłówkowe VTE
e8267128 66Group: X11/Development/Libraries
26e85033 67Requires: %{name} = %{version}-%{release}
7a680fca
MB
68Requires: glib2-devel >= 1:2.28.0
69Requires: gtk+3-devel >= 3.0.0
132b7410 70Requires: ncurses-devel
e8267128
AF
71Conflicts: gnome-libs-devel < 1.4.1.2
72
73%description devel
82049e23 74The vte package contains a terminal widget for GTK+ 3.x. It's used by
e8267128
AF
75gnome-terminal among other programs.
76
cf2bbec3
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.
e8267128 80
3e245f43
JR
81%description devel -l pl.UTF-8
82Pliki nagłówkowe potrzebne do kompilowania programów używających vte.
e8267128 83
82049e23
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
e8267128 105%package static
4f8c8d7b 106Summary: Static VTE library
81d2c6d7 107Summary(pl.UTF-8): Statyczna biblioteka VTE
e8267128 108Group: X11/Development/Libraries
26e85033 109Requires: %{name}-devel = %{version}-%{release}
e8267128
AF
110Conflicts: gnome-libs-static < 1.4.1.2
111
112%description static
4f8c8d7b 113Static version of VTE libraries.
e8267128 114
3e245f43 115%description static -l pl.UTF-8
4f8c8d7b 116Statyczna wersja bibliotek VTE.
e8267128 117
82049e23
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
c8a7fd75 158%package apidocs
159Summary: VTE API documentation
81d2c6d7 160Summary(pl.UTF-8): Dokumentacja API VTE
c8a7fd75 161Group: Documentation
162Requires: gtk-doc-common
163
164%description apidocs
165VTE API documentation.
166
3e245f43 167%description apidocs -l pl.UTF-8
c8a7fd75 168Dokumentacja API VTE.
169
82049e23
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
e8267128 182%prep
302939c7 183%setup -q
e8267128
AF
184
185%build
315fbd5f 186%{__gtkdocize}
7535a758 187%{__glib_gettextize}
f7f6359f 188%{__intltoolize}
75acc4b3 189%{__libtoolize}
190%{__aclocal}
191%{__autoheader}
192%{__automake}
193%{__autoconf}
094ec31e 194cd gnome-pty-helper
195%{__libtoolize}
196%{__aclocal}
197%{__autoheader}
198%{__automake}
199%{__autoconf}
200cd ..
82049e23 201COMMON_OPTIONS="--disable-silent-rules \
c97b79a6 202 --enable-gtk-doc \
7a680fca 203 --enable-introspection \
935df165 204 --with-default-emulation=xterm \
315fbd5f 205 --with-html-dir=%{_gtkdocdir}
82049e23
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
dee441fe 217%{__make}
82049e23 218cd ..
e8267128
AF
219
220%install
221rm -rf $RPM_BUILD_ROOT
222
82049e23
AF
223cd gtk2
224%{__make} install \
225 DESTDIR=$RPM_BUILD_ROOT
226cd ../gtk3
e8267128 227%{__make} install \
dee441fe 228 DESTDIR=$RPM_BUILD_ROOT
82049e23 229cd ..
c94b6bd6 230
82049e23
AF
231%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \
232 $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/vtemodule.{la,a}
17cb21a5 233
7a680fca 234%find_lang %{name}-2.90
82049e23 235%find_lang %{name}-0.0
e8267128
AF
236
237%clean
238rm -rf $RPM_BUILD_ROOT
239
240%post -p /sbin/ldconfig
241%postun -p /sbin/ldconfig
242
7438f09c
MB
243%post -n vte0 -p /sbin/ldconfig
244%postun -n vte0 -p /sbin/ldconfig
245
7a680fca 246%files -f vte-2.90.lang
e8267128 247%defattr(644,root,root,755)
7a680fca
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
82049e23
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
e8267128 263%attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
101853b1 264%{_datadir}/vte
e8267128
AF
265
266%files devel
267%defattr(644,root,root,755)
7a680fca
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
e8267128 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
e8267128
AF
280%files static
281%defattr(644,root,root,755)
7a680fca 282%{_libdir}/libvte2_90.a
b8a1281d 283
82049e23
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
c8a7fd75 297%files apidocs
298%defattr(644,root,root,755)
7a680fca 299%{_gtkdocdir}/vte-2.90
82049e23
AF
300
301%files -n vte0-apidocs
302%defattr(644,root,root,755)
303%{_gtkdocdir}/vte-0.0
This page took 0.104641 seconds and 4 git commands to generate.