]>
Commit | Line | Data |
---|---|---|
ba53f3b0 JB |
1 | Summary: VTE terminal widget library for GTK+ 2 |
2 | Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE for GTK+ 2 | |
d3a7e9a1 JR |
3 | Name: vte0 |
4 | Version: 0.28.2 | |
cdd02563 | 5 | Release: 16 |
0dba45ff | 6 | License: LGPL v2+ |
e8267128 | 7 | Group: X11/Libraries |
d3a7e9a1 JR |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/vte/0.28/vte-%{version}.tar.bz2 |
9 | # Source0-md5: f07a4bf943194f94b7f142db8f7f36dc | |
c0fac737 | 10 | Patch0: vte-alt-meta.patch |
1e8dce16 | 11 | Patch1: repaint-bug.patch |
7a680fca | 12 | BuildRequires: autoconf >= 2.63 |
6edcfe02 | 13 | BuildRequires: automake >= 1:1.9 |
4b8a5265 | 14 | BuildRequires: docbook-dtd412-xml |
733be96e | 15 | BuildRequires: gettext-tools |
7a680fca | 16 | BuildRequires: glib2-devel >= 1:2.28.0 |
7a680fca | 17 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
d3a7e9a1 | 18 | BuildRequires: gtk+2-devel >= 2:2.20.0 |
0b8514c4 | 19 | BuildRequires: gtk-doc >= 1.13 |
117fafc1 | 20 | BuildRequires: gtk-doc-automake >= 1.13 |
6edcfe02 | 21 | BuildRequires: intltool >= 0.40.0 |
117fafc1 | 22 | BuildRequires: libtool >= 2:2.2 |
fab84d2b | 23 | BuildRequires: ncurses-devel |
117fafc1 | 24 | BuildRequires: pango-devel >= 1:1.22.0 |
fab84d2b | 25 | BuildRequires: pkgconfig |
d3a7e9a1 JR |
26 | BuildRequires: python-pygtk-devel >= 2:2.12.0 |
27 | BuildRequires: rpm-pythonprov | |
7a680fca | 28 | BuildRequires: rpmbuild(macros) >= 1.592 |
d3a7e9a1 | 29 | Requires(pre): utempter |
117fafc1 | 30 | Requires: glib2 >= 1:2.28.0 |
d3a7e9a1 JR |
31 | Requires: gtk+2 >= 2:2.20.0 |
32 | Requires: pango >= 1:1.22.0 | |
274d39ac ER |
33 | # sr@Latn vs. sr@latin |
34 | Conflicts: glibc-misc < 6:2.7 | |
e8267128 AF |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
e8267128 | 37 | %description |
d3a7e9a1 | 38 | The vte package contains a terminal widget for GTK+ 2.x. It's used by |
e8267128 AF |
39 | gnome-terminal among other programs. |
40 | ||
3e245f43 | 41 | %description -l pl.UTF-8 |
d3a7e9a1 | 42 | Ten pakiet zawiera kontrolkę terminala dla GTK+ 2.x. Jest używany |
73261104 | 43 | przez gnome-terminal oraz inne programy. |
82049e23 | 44 | |
e8267128 | 45 | %package devel |
d3a7e9a1 JR |
46 | Summary: Header files for VTE for GTK+ 2 |
47 | Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 2 | |
e8267128 | 48 | Group: X11/Development/Libraries |
26e85033 | 49 | Requires: %{name} = %{version}-%{release} |
7a680fca | 50 | Requires: glib2-devel >= 1:2.28.0 |
d3a7e9a1 | 51 | Requires: gtk+2-devel >= 2:2.20.0 |
132b7410 | 52 | Requires: ncurses-devel |
117fafc1 | 53 | Requires: pango-devel >= 1:1.22.0 |
e8267128 AF |
54 | Conflicts: gnome-libs-devel < 1.4.1.2 |
55 | ||
56 | %description devel | |
d3a7e9a1 | 57 | This package contains header files for GTK+ 2 based vte library. |
e8267128 | 58 | |
3e245f43 | 59 | %description devel -l pl.UTF-8 |
73261104 | 60 | Pliki nagłówkowe potrzebne do kompilowania programów używających |
d3a7e9a1 | 61 | biblioteki vte opartej na GTK+ 2. |
73261104 JB |
62 | |
63 | %package static | |
d3a7e9a1 JR |
64 | Summary: Static VTE library for GTK+ 2 |
65 | Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 2 | |
73261104 JB |
66 | Group: X11/Development/Libraries |
67 | Requires: %{name}-devel = %{version}-%{release} | |
68 | Conflicts: gnome-libs-static < 1.4.1.2 | |
69 | ||
70 | %description static | |
d3a7e9a1 | 71 | Static version of VTE library for GTK+ 2. |
73261104 JB |
72 | |
73 | %description static -l pl.UTF-8 | |
d3a7e9a1 | 74 | Statyczna wersja biblioteki VTE dla GTK+ 2. |
73261104 JB |
75 | |
76 | %package apidocs | |
d3a7e9a1 JR |
77 | Summary: VTE API documentation - GTK+ 2.x version |
78 | Summary(pl.UTF-8): Dokumentacja API VTE - wersja dla GTK+ 2.x | |
73261104 JB |
79 | Group: Documentation |
80 | Requires: gtk-doc-common | |
274d39ac ER |
81 | %if "%{_rpmversion}" >= "5" |
82 | BuildArch: noarch | |
83 | %endif | |
73261104 JB |
84 | |
85 | %description apidocs | |
d3a7e9a1 | 86 | VTE API documentation - GTK+ 2.x version. |
73261104 JB |
87 | |
88 | %description apidocs -l pl.UTF-8 | |
d3a7e9a1 JR |
89 | Dokumentacja API VTE - wersja dla GTK+ 2.x. |
90 | ||
91 | %package -n python-vte0 | |
92 | Summary: Python VTE module | |
93 | Summary(pl.UTF-8): Moduł VTE dla pythona | |
94 | Group: Libraries/Python | |
d3a7e9a1 | 95 | Requires: %{name} = %{version}-%{release} |
274d39ac | 96 | Requires: python-libs |
d3a7e9a1 | 97 | Requires: python-pygtk-gtk >= 2:2.12.0 |
bb2f028e JR |
98 | Provides: python-vte |
99 | Obsoletes: python-vte | |
d3a7e9a1 JR |
100 | |
101 | %description -n python-vte0 | |
102 | Python VTE library. | |
103 | ||
104 | %description -n python-vte0 -l pl.UTF-8 | |
105 | Biblioteka VTE dla pythona. | |
106 | ||
107 | %package -n python-vte0-devel | |
108 | Summary: Development files for VTE Python bindings | |
109 | Summary(pl.UTF-8): Pliki programistyczne wiązań Pythona do VTE | |
110 | Group: Development/Languages/Python | |
111 | Requires: %{name}-devel = %{version}-%{release} | |
112 | Requires: python-vte0 = %{version}-%{release} | |
bb2f028e JR |
113 | Provides: python-vte-devel |
114 | Obsoletes: python-vte-devel | |
d3a7e9a1 JR |
115 | |
116 | %description -n python-vte0-devel | |
117 | Development files for VTE Python bindings. | |
118 | ||
119 | %description -n python-vte0-devel -l pl.UTF-8 | |
120 | Pliki programistyczne wiązań Pythona do VTE. | |
73261104 | 121 | |
e8267128 | 122 | %prep |
d3a7e9a1 | 123 | %setup -q -n vte-%{version} |
c0fac737 | 124 | %patch0 -p1 |
1e8dce16 | 125 | %patch1 -p1 |
e8267128 AF |
126 | |
127 | %build | |
1703b6fa | 128 | %configure \ |
d3a7e9a1 JR |
129 | --libexecdir=%{_libdir}/vte-0.0 \ |
130 | --with-gtk=2.0 \ | |
1703b6fa | 131 | --disable-silent-rules \ |
c97b79a6 | 132 | --enable-gtk-doc \ |
7a680fca | 133 | --enable-introspection \ |
935df165 | 134 | --with-default-emulation=xterm \ |
315fbd5f | 135 | --with-html-dir=%{_gtkdocdir} |
d3a7e9a1 | 136 | |
82049e23 | 137 | %{__make} |
e8267128 AF |
138 | |
139 | %install | |
140 | rm -rf $RPM_BUILD_ROOT | |
141 | ||
1703b6fa | 142 | %{__make} install \ |
dee441fe | 143 | DESTDIR=$RPM_BUILD_ROOT |
c94b6bd6 | 144 | |
82049e23 | 145 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \ |
d3a7e9a1 | 146 | $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/vtemodule.{la,a} |
17cb21a5 | 147 | |
d3a7e9a1 | 148 | %find_lang vte-0.0 |
e8267128 AF |
149 | |
150 | %clean | |
151 | rm -rf $RPM_BUILD_ROOT | |
152 | ||
153 | %post -p /sbin/ldconfig | |
154 | %postun -p /sbin/ldconfig | |
155 | ||
d3a7e9a1 | 156 | %files -f vte-0.0.lang |
82049e23 AF |
157 | %defattr(644,root,root,755) |
158 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
d3a7e9a1 JR |
159 | %attr(755,root,root) %{_bindir}/vte |
160 | %attr(755,root,root) %{_libdir}/libvte.so.*.*.* | |
161 | %attr(755,root,root) %ghost %{_libdir}/libvte.so.9 | |
bb2f028e | 162 | %dir %{_libdir}/vte-0.0 |
d3a7e9a1 JR |
163 | %attr(2755,root,utmp) %{_libdir}/vte-0.0/gnome-pty-helper |
164 | %{_libdir}/girepository-1.0/Vte-0.0.typelib | |
101853b1 | 165 | %{_datadir}/vte |
e8267128 AF |
166 | |
167 | %files devel | |
168 | %defattr(644,root,root,755) | |
d3a7e9a1 JR |
169 | %attr(755,root,root) %{_libdir}/libvte.so |
170 | %{_includedir}/vte-0.0 | |
171 | %{_pkgconfigdir}/vte.pc | |
172 | %{_datadir}/gir-1.0/Vte-0.0.gir | |
e8267128 | 173 | |
73261104 JB |
174 | %files static |
175 | %defattr(644,root,root,755) | |
d3a7e9a1 | 176 | %{_libdir}/libvte.a |
73261104 JB |
177 | |
178 | %files apidocs | |
179 | %defattr(644,root,root,755) | |
d3a7e9a1 JR |
180 | %{_gtkdocdir}/vte-0.0 |
181 | ||
182 | %files -n python-vte0 | |
183 | %defattr(644,root,root,755) | |
184 | %attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so | |
185 | ||
186 | %files -n python-vte0-devel | |
187 | %defattr(644,root,root,755) | |
188 | %{_datadir}/pygtk/2.0/defs/vte.defs | |
189 | %{_pkgconfigdir}/pyvte.pc |