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