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