]>
Commit | Line | Data |
---|---|---|
cfe79c9b | 1 | Summary: VTE terminal widget library |
d2828306 | 2 | Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE |
cfe79c9b | 3 | Name: vte |
ef8a55d9 | 4 | Version: 0.26.2 |
794b8eb3 | 5 | Release: 3 |
c7e82011 | 6 | Epoch: 1 |
175e6d03 | 7 | License: LGPL v2+ |
cfe79c9b | 8 | Group: X11/Libraries |
b4c60e6d | 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/vte/0.26/%{name}-%{version}.tar.bz2 |
ef8a55d9 | 10 | # Source0-md5: 54bf0d31851fa942758e700d5b6bc96c |
f1c2e26c | 11 | BuildRequires: autoconf >= 2.59-9 |
caeedbd5 | 12 | BuildRequires: automake >= 1:1.9 |
b20f4843 | 13 | BuildRequires: docbook-dtd412-xml |
049c0677 | 14 | BuildRequires: gettext-devel |
0471d6bf | 15 | BuildRequires: glib2-devel >= 1:2.22.0 |
65f8a03f | 16 | BuildRequires: gnome-common |
2ff5d7c6 | 17 | BuildRequires: gobject-introspection-devel >= 0.6.7 |
caeedbd5 | 18 | BuildRequires: gtk+2-devel >= 2:2.14.0 |
0471d6bf | 19 | BuildRequires: gtk-doc >= 1.13 |
864b9f3d | 20 | BuildRequires: gtk-doc-automake |
caeedbd5 | 21 | BuildRequires: intltool >= 0.40.0 |
cfe79c9b | 22 | BuildRequires: libtool |
049c0677 KK |
23 | BuildRequires: ncurses-devel |
24 | BuildRequires: pkgconfig | |
175e6d03 | 25 | BuildRequires: python-pygtk-devel >= 2:2.12.0 |
0826a857 | 26 | BuildRequires: rpm-pythonprov |
4e828b2a | 27 | BuildRequires: rpmbuild(macros) >= 1.197 |
cfe79c9b | 28 | Requires(pre): utempter |
ee7305dd MB |
29 | # sr@Latn vs. sr@latin |
30 | Conflicts: glibc-misc < 6:2.7 | |
cfe79c9b AF |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
cfe79c9b AF |
33 | %description |
34 | The vte package contains a terminal widget for GTK+. It's used by | |
35 | gnome-terminal among other programs. | |
36 | ||
6c917d2d JR |
37 | %description -l pl.UTF-8 |
38 | Ten pakiet zawiera kontrolkę terminala dla GTK+. Jest używany przez | |
cfe79c9b AF |
39 | gnome-terminal oraz inne programy. |
40 | ||
41 | %package devel | |
c98f6e1e | 42 | Summary: Headers for VTE |
d2828306 | 43 | Summary(pl.UTF-8): Pliki nagłówkowe VTE |
cfe79c9b | 44 | Group: X11/Development/Libraries |
c7e82011 | 45 | Requires: %{name} = %{epoch}:%{version}-%{release} |
0471d6bf | 46 | Requires: glib2-devel >= 1:2.22.0 |
caeedbd5 | 47 | Requires: gtk+2-devel >= 2:2.14.0 |
f41aff32 | 48 | Requires: ncurses-devel |
cfe79c9b AF |
49 | Conflicts: gnome-libs-devel < 1.4.1.2 |
50 | ||
51 | %description devel | |
52 | The vte package contains a terminal widget for GTK+. It's used by | |
53 | gnome-terminal among other programs. | |
54 | ||
d74d41f0 MB |
55 | You should install the vte-devel package if you would like to compile |
56 | applications that use the vte terminal widget. You do not need to | |
57 | install vte-devel if you just want to use precompiled applications. | |
cfe79c9b | 58 | |
6c917d2d JR |
59 | %description devel -l pl.UTF-8 |
60 | Pliki nagłówkowe potrzebne do kompilowania programów używających vte. | |
cfe79c9b AF |
61 | |
62 | %package static | |
c98f6e1e | 63 | Summary: Static VTE library |
d2828306 | 64 | Summary(pl.UTF-8): Statyczna biblioteka VTE |
cfe79c9b | 65 | Group: X11/Development/Libraries |
c7e82011 | 66 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
cfe79c9b AF |
67 | Conflicts: gnome-libs-static < 1.4.1.2 |
68 | ||
69 | %description static | |
c98f6e1e | 70 | Static version of VTE libraries. |
cfe79c9b | 71 | |
6c917d2d | 72 | %description static -l pl.UTF-8 |
c98f6e1e | 73 | Statyczna wersja bibliotek VTE. |
cfe79c9b | 74 | |
bc58e180 | 75 | %package -n python-vte |
c98f6e1e | 76 | Summary: Python VTE module |
d2828306 | 77 | Summary(pl.UTF-8): Moduł VTE dla pythona |
65f8a03f | 78 | Group: Libraries/Python |
58ac5d7b | 79 | %pyrequires_eq python-libs |
c7e82011 | 80 | Requires: %{name} = %{epoch}:%{version}-%{release} |
175e6d03 | 81 | Requires: python-pygtk-gtk >= 2:2.12.0 |
bc58e180 | 82 | |
83 | %description -n python-vte | |
c98f6e1e | 84 | Python VTE library. |
bc58e180 | 85 | |
6c917d2d | 86 | %description -n python-vte -l pl.UTF-8 |
c98f6e1e | 87 | Biblioteka VTE dla pythona. |
bc58e180 | 88 | |
65f8a03f MB |
89 | %package -n python-vte-devel |
90 | Summary: Development files for VTE Python bindings | |
91 | Summary(pl.UTF-8): Pliki programistyczne wiązań Pythona do VTE | |
92 | Group: Development/Languages/Python | |
c7e82011 | 93 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
65f8a03f MB |
94 | Requires: python-vte = %{version}-%{release} |
95 | ||
96 | %description -n python-vte-devel | |
97 | Development files for VTE Python bindings. | |
98 | ||
99 | %description -n python-vte-devel -l pl.UTF-8 | |
100 | Pliki programistyczne wiązań Pythona do VTE. | |
101 | ||
895c278e | 102 | %package apidocs |
103 | Summary: VTE API documentation | |
d2828306 | 104 | Summary(pl.UTF-8): Dokumentacja API VTE |
895c278e | 105 | Group: Documentation |
106 | Requires: gtk-doc-common | |
107 | ||
108 | %description apidocs | |
109 | VTE API documentation. | |
110 | ||
6c917d2d | 111 | %description apidocs -l pl.UTF-8 |
895c278e | 112 | Dokumentacja API VTE. |
113 | ||
cfe79c9b | 114 | %prep |
28fdb696 | 115 | %setup -q |
cfe79c9b AF |
116 | |
117 | %build | |
65f8a03f | 118 | %{__gtkdocize} |
62df6718 | 119 | %{__glib_gettextize} |
a3456d5d | 120 | %{__intltoolize} |
dcd5996b | 121 | %{__libtoolize} |
122 | %{__aclocal} | |
123 | %{__autoheader} | |
124 | %{__automake} | |
125 | %{__autoconf} | |
6c8a1130 | 126 | cd gnome-pty-helper |
127 | %{__libtoolize} | |
128 | %{__aclocal} | |
129 | %{__autoheader} | |
130 | %{__automake} | |
131 | %{__autoconf} | |
132 | cd .. | |
d146662f | 133 | %configure \ |
0471d6bf | 134 | --disable-silent-rules \ |
d146662f | 135 | --enable-gtk-doc \ |
f1c2e26c | 136 | --with-default-emulation=xterm \ |
65f8a03f | 137 | --with-html-dir=%{_gtkdocdir} |
7c0544b4 | 138 | %{__make} |
cfe79c9b AF |
139 | |
140 | %install | |
141 | rm -rf $RPM_BUILD_ROOT | |
142 | ||
143 | %{__make} install \ | |
7c0544b4 | 144 | DESTDIR=$RPM_BUILD_ROOT |
ead4696e | 145 | |
725b31d3 | 146 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/*.{la,a} |
e6a03317 | 147 | |
2ff5d7c6 | 148 | %find_lang %{name}-0.0 |
cfe79c9b AF |
149 | |
150 | %clean | |
151 | rm -rf $RPM_BUILD_ROOT | |
152 | ||
153 | %post -p /sbin/ldconfig | |
154 | %postun -p /sbin/ldconfig | |
155 | ||
2ff5d7c6 | 156 | %files -f vte-0.0.lang |
cfe79c9b | 157 | %defattr(644,root,root,755) |
f1c2e26c | 158 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README |
cfe79c9b | 159 | %attr(755,root,root) %{_bindir}/vte |
f1c2e26c | 160 | %attr(755,root,root) %{_libdir}/libvte.so.*.*.* |
ebb96e2a | 161 | %attr(755,root,root) %ghost %{_libdir}/libvte.so.9 |
2ff5d7c6 MB |
162 | %dir %{_libdir}/vte-0.0 |
163 | %attr(755,root,root) %{_libdir}/vte-0.0/decset | |
164 | %attr(755,root,root) %{_libdir}/vte-0.0/interpret | |
165 | %attr(755,root,root) %{_libdir}/vte-0.0/osc | |
166 | %attr(755,root,root) %{_libdir}/vte-0.0/slowcat | |
167 | %attr(755,root,root) %{_libdir}/vte-0.0/window | |
cfe79c9b | 168 | %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper |
90bd3967 | 169 | %{_datadir}/vte |
cfe79c9b AF |
170 | |
171 | %files devel | |
172 | %defattr(644,root,root,755) | |
f1c2e26c JB |
173 | %attr(755,root,root) %{_libdir}/libvte.so |
174 | %{_libdir}/libvte.la | |
2ff5d7c6 | 175 | %{_includedir}/vte-0.0 |
f1c2e26c | 176 | %{_pkgconfigdir}/vte.pc |
cfe79c9b AF |
177 | |
178 | %files static | |
179 | %defattr(644,root,root,755) | |
f1c2e26c | 180 | %{_libdir}/libvte.a |
bc58e180 | 181 | |
895c278e | 182 | %files apidocs |
183 | %defattr(644,root,root,755) | |
2ff5d7c6 | 184 | %{_gtkdocdir}/vte-0.0 |
895c278e | 185 | |
bc58e180 | 186 | %files -n python-vte |
cba5de48 | 187 | %defattr(644,root,root,755) |
f1c2e26c | 188 | %attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so |
65f8a03f MB |
189 | |
190 | %files -n python-vte-devel | |
191 | %defattr(644,root,root,755) | |
192 | %{_datadir}/pygtk/2.0/defs/*.defs | |
193 | %{_pkgconfigdir}/pyvte.pc |