]>
Commit | Line | Data |
---|---|---|
e8267128 | 1 | Summary: VTE terminal widget library |
81d2c6d7 | 2 | Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE |
e8267128 | 3 | Name: vte |
eefa8c50 | 4 | Version: 0.26.2 |
25dfa994 | 5 | Release: 1 |
0dba45ff | 6 | License: LGPL v2+ |
e8267128 | 7 | Group: X11/Libraries |
99ab5dee | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/vte/0.26/%{name}-%{version}.tar.bz2 |
eefa8c50 | 9 | # Source0-md5: 54bf0d31851fa942758e700d5b6bc96c |
935df165 | 10 | BuildRequires: autoconf >= 2.59-9 |
6edcfe02 | 11 | BuildRequires: automake >= 1:1.9 |
4b8a5265 | 12 | BuildRequires: docbook-dtd412-xml |
fab84d2b | 13 | BuildRequires: gettext-devel |
0b8514c4 | 14 | BuildRequires: glib2-devel >= 1:2.22.0 |
315fbd5f | 15 | BuildRequires: gnome-common |
25dfa994 | 16 | BuildRequires: gobject-introspection-devel >= 0.6.7 |
6edcfe02 | 17 | BuildRequires: gtk+2-devel >= 2:2.14.0 |
0b8514c4 | 18 | BuildRequires: gtk-doc >= 1.13 |
d759b5c6 | 19 | BuildRequires: gtk-doc-automake |
6edcfe02 | 20 | BuildRequires: intltool >= 0.40.0 |
e8267128 | 21 | BuildRequires: libtool |
fab84d2b KK |
22 | BuildRequires: ncurses-devel |
23 | BuildRequires: pkgconfig | |
0dba45ff | 24 | BuildRequires: python-pygtk-devel >= 2:2.12.0 |
e3046928 | 25 | BuildRequires: rpm-pythonprov |
6c2d0c23 | 26 | BuildRequires: rpmbuild(macros) >= 1.197 |
e8267128 | 27 | Requires(pre): utempter |
8f963d26 MB |
28 | # sr@Latn vs. sr@latin |
29 | Conflicts: glibc-misc < 6:2.7 | |
e8267128 AF |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
e8267128 AF |
32 | %description |
33 | The vte package contains a terminal widget for GTK+. It's used by | |
34 | gnome-terminal among other programs. | |
35 | ||
3e245f43 JR |
36 | %description -l pl.UTF-8 |
37 | Ten pakiet zawiera kontrolkę terminala dla GTK+. Jest używany przez | |
e8267128 AF |
38 | gnome-terminal oraz inne programy. |
39 | ||
40 | %package devel | |
4f8c8d7b | 41 | Summary: Headers for VTE |
81d2c6d7 | 42 | Summary(pl.UTF-8): Pliki nagłówkowe VTE |
e8267128 | 43 | Group: X11/Development/Libraries |
26e85033 | 44 | Requires: %{name} = %{version}-%{release} |
0b8514c4 | 45 | Requires: glib2-devel >= 1:2.22.0 |
6edcfe02 | 46 | Requires: gtk+2-devel >= 2:2.14.0 |
132b7410 | 47 | Requires: ncurses-devel |
e8267128 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 | ||
cf2bbec3 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. | |
e8267128 | 57 | |
3e245f43 JR |
58 | %description devel -l pl.UTF-8 |
59 | Pliki nagłówkowe potrzebne do kompilowania programów używających vte. | |
e8267128 AF |
60 | |
61 | %package static | |
4f8c8d7b | 62 | Summary: Static VTE library |
81d2c6d7 | 63 | Summary(pl.UTF-8): Statyczna biblioteka VTE |
e8267128 | 64 | Group: X11/Development/Libraries |
26e85033 | 65 | Requires: %{name}-devel = %{version}-%{release} |
e8267128 AF |
66 | Conflicts: gnome-libs-static < 1.4.1.2 |
67 | ||
68 | %description static | |
4f8c8d7b | 69 | Static version of VTE libraries. |
e8267128 | 70 | |
3e245f43 | 71 | %description static -l pl.UTF-8 |
4f8c8d7b | 72 | Statyczna wersja bibliotek VTE. |
e8267128 | 73 | |
b8a1281d | 74 | %package -n python-vte |
4f8c8d7b | 75 | Summary: Python VTE module |
81d2c6d7 | 76 | Summary(pl.UTF-8): Moduł VTE dla pythona |
315fbd5f | 77 | Group: Libraries/Python |
885684fb | 78 | %pyrequires_eq python-libs |
26e85033 | 79 | Requires: %{name} = %{version}-%{release} |
0dba45ff | 80 | Requires: python-pygtk-gtk >= 2:2.12.0 |
b8a1281d | 81 | |
82 | %description -n python-vte | |
4f8c8d7b | 83 | Python VTE library. |
b8a1281d | 84 | |
3e245f43 | 85 | %description -n python-vte -l pl.UTF-8 |
4f8c8d7b | 86 | Biblioteka VTE dla pythona. |
b8a1281d | 87 | |
315fbd5f 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 | ||
c8a7fd75 | 101 | %package apidocs |
102 | Summary: VTE API documentation | |
81d2c6d7 | 103 | Summary(pl.UTF-8): Dokumentacja API VTE |
c8a7fd75 | 104 | Group: Documentation |
105 | Requires: gtk-doc-common | |
106 | ||
107 | %description apidocs | |
108 | VTE API documentation. | |
109 | ||
3e245f43 | 110 | %description apidocs -l pl.UTF-8 |
c8a7fd75 | 111 | Dokumentacja API VTE. |
112 | ||
e8267128 | 113 | %prep |
302939c7 | 114 | %setup -q |
e8267128 AF |
115 | |
116 | %build | |
315fbd5f | 117 | %{__gtkdocize} |
7535a758 | 118 | %{__glib_gettextize} |
f7f6359f | 119 | %{__intltoolize} |
75acc4b3 | 120 | %{__libtoolize} |
121 | %{__aclocal} | |
122 | %{__autoheader} | |
123 | %{__automake} | |
124 | %{__autoconf} | |
094ec31e | 125 | cd gnome-pty-helper |
126 | %{__libtoolize} | |
127 | %{__aclocal} | |
128 | %{__autoheader} | |
129 | %{__automake} | |
130 | %{__autoconf} | |
131 | cd .. | |
c97b79a6 | 132 | %configure \ |
0b8514c4 | 133 | --disable-silent-rules \ |
c97b79a6 | 134 | --enable-gtk-doc \ |
935df165 | 135 | --with-default-emulation=xterm \ |
315fbd5f | 136 | --with-html-dir=%{_gtkdocdir} |
dee441fe | 137 | %{__make} |
e8267128 AF |
138 | |
139 | %install | |
140 | rm -rf $RPM_BUILD_ROOT | |
141 | ||
142 | %{__make} install \ | |
dee441fe | 143 | DESTDIR=$RPM_BUILD_ROOT |
c94b6bd6 | 144 | |
1d5cac9c | 145 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/*.{la,a} |
17cb21a5 | 146 | |
25dfa994 | 147 | %find_lang %{name}-0.0 |
e8267128 AF |
148 | |
149 | %clean | |
150 | rm -rf $RPM_BUILD_ROOT | |
151 | ||
152 | %post -p /sbin/ldconfig | |
153 | %postun -p /sbin/ldconfig | |
154 | ||
25dfa994 | 155 | %files -f vte-0.0.lang |
e8267128 | 156 | %defattr(644,root,root,755) |
935df165 | 157 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README |
e8267128 | 158 | %attr(755,root,root) %{_bindir}/vte |
935df165 | 159 | %attr(755,root,root) %{_libdir}/libvte.so.*.*.* |
26f98974 | 160 | %attr(755,root,root) %ghost %{_libdir}/libvte.so.9 |
25dfa994 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 | |
e8267128 | 167 | %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper |
101853b1 | 168 | %{_datadir}/vte |
e8267128 AF |
169 | |
170 | %files devel | |
171 | %defattr(644,root,root,755) | |
935df165 JB |
172 | %attr(755,root,root) %{_libdir}/libvte.so |
173 | %{_libdir}/libvte.la | |
25dfa994 | 174 | %{_includedir}/vte-0.0 |
935df165 | 175 | %{_pkgconfigdir}/vte.pc |
e8267128 AF |
176 | |
177 | %files static | |
178 | %defattr(644,root,root,755) | |
935df165 | 179 | %{_libdir}/libvte.a |
b8a1281d | 180 | |
c8a7fd75 | 181 | %files apidocs |
182 | %defattr(644,root,root,755) | |
25dfa994 | 183 | %{_gtkdocdir}/vte-0.0 |
c8a7fd75 | 184 | |
b8a1281d | 185 | %files -n python-vte |
176b0b5b | 186 | %defattr(644,root,root,755) |
935df165 | 187 | %attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so |
315fbd5f 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 |