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