]>
Commit | Line | Data |
---|---|---|
1 | Summary: VTE terminal widget library | |
2 | Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE | |
3 | Name: vte | |
4 | Version: 0.22.1 | |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
7 | Group: X11/Libraries | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/vte/0.22/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 81fef1b248717f5fa66fe9e9d86508da | |
10 | BuildRequires: autoconf >= 2.59-9 | |
11 | BuildRequires: automake >= 1:1.9 | |
12 | BuildRequires: gettext-devel | |
13 | BuildRequires: gnome-common | |
14 | BuildRequires: gtk+2-devel >= 2:2.14.0 | |
15 | BuildRequires: gtk-doc >= 1.8 | |
16 | BuildRequires: gtk-doc-automake | |
17 | BuildRequires: intltool >= 0.40.0 | |
18 | BuildRequires: libtool | |
19 | BuildRequires: ncurses-devel | |
20 | BuildRequires: pkgconfig | |
21 | BuildRequires: python-pygtk-devel >= 2:2.12.0 | |
22 | BuildRequires: rpm-pythonprov | |
23 | BuildRequires: rpmbuild(macros) >= 1.197 | |
24 | Requires(pre): utempter | |
25 | # sr@Latn vs. sr@latin | |
26 | Conflicts: glibc-misc < 6:2.7 | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | The vte package contains a terminal widget for GTK+. It's used by | |
31 | gnome-terminal among other programs. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | Ten pakiet zawiera kontrolkę terminala dla GTK+. Jest używany przez | |
35 | gnome-terminal oraz inne programy. | |
36 | ||
37 | %package devel | |
38 | Summary: Headers for VTE | |
39 | Summary(pl.UTF-8): Pliki nagłówkowe VTE | |
40 | Group: X11/Development/Libraries | |
41 | Requires: %{name} = %{version}-%{release} | |
42 | Requires: gtk+2-devel >= 2:2.14.0 | |
43 | Requires: ncurses-devel | |
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 | ||
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. | |
53 | ||
54 | %description devel -l pl.UTF-8 | |
55 | Pliki nagłówkowe potrzebne do kompilowania programów używających vte. | |
56 | ||
57 | %package static | |
58 | Summary: Static VTE library | |
59 | Summary(pl.UTF-8): Statyczna biblioteka VTE | |
60 | Group: X11/Development/Libraries | |
61 | Requires: %{name}-devel = %{version}-%{release} | |
62 | Conflicts: gnome-libs-static < 1.4.1.2 | |
63 | ||
64 | %description static | |
65 | Static version of VTE libraries. | |
66 | ||
67 | %description static -l pl.UTF-8 | |
68 | Statyczna wersja bibliotek VTE. | |
69 | ||
70 | %package -n python-vte | |
71 | Summary: Python VTE module | |
72 | Summary(pl.UTF-8): Moduł VTE dla pythona | |
73 | Group: Libraries/Python | |
74 | %pyrequires_eq python-libs | |
75 | Requires: %{name} = %{version}-%{release} | |
76 | Requires: python-pygtk-gtk >= 2:2.12.0 | |
77 | ||
78 | %description -n python-vte | |
79 | Python VTE library. | |
80 | ||
81 | %description -n python-vte -l pl.UTF-8 | |
82 | Biblioteka VTE dla pythona. | |
83 | ||
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 | ||
97 | %package apidocs | |
98 | Summary: VTE API documentation | |
99 | Summary(pl.UTF-8): Dokumentacja API VTE | |
100 | Group: Documentation | |
101 | Requires: gtk-doc-common | |
102 | ||
103 | %description apidocs | |
104 | VTE API documentation. | |
105 | ||
106 | %description apidocs -l pl.UTF-8 | |
107 | Dokumentacja API VTE. | |
108 | ||
109 | %prep | |
110 | %setup -q | |
111 | ||
112 | %build | |
113 | %{__gtkdocize} | |
114 | %{__glib_gettextize} | |
115 | %{__intltoolize} | |
116 | %{__libtoolize} | |
117 | %{__aclocal} | |
118 | %{__autoheader} | |
119 | %{__automake} | |
120 | %{__autoconf} | |
121 | cd gnome-pty-helper | |
122 | %{__libtoolize} | |
123 | %{__aclocal} | |
124 | %{__autoheader} | |
125 | %{__automake} | |
126 | %{__autoconf} | |
127 | cd .. | |
128 | %configure \ | |
129 | --enable-gtk-doc \ | |
130 | --with-default-emulation=xterm \ | |
131 | --with-html-dir=%{_gtkdocdir} | |
132 | %{__make} | |
133 | ||
134 | %install | |
135 | rm -rf $RPM_BUILD_ROOT | |
136 | ||
137 | %{__make} install \ | |
138 | DESTDIR=$RPM_BUILD_ROOT | |
139 | ||
140 | rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/*.{la,a} | |
141 | ||
142 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ca@valencia | |
143 | ||
144 | %find_lang %{name} | |
145 | ||
146 | %clean | |
147 | rm -rf $RPM_BUILD_ROOT | |
148 | ||
149 | %post -p /sbin/ldconfig | |
150 | %postun -p /sbin/ldconfig | |
151 | ||
152 | %files -f vte.lang | |
153 | %defattr(644,root,root,755) | |
154 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
155 | %attr(755,root,root) %{_bindir}/vte | |
156 | %attr(755,root,root) %{_libdir}/libvte.so.*.*.* | |
157 | %attr(755,root,root) %ghost %{_libdir}/libvte.so.9 | |
158 | %dir %{_libdir}/vte | |
159 | %attr(755,root,root) %{_libdir}/vte/* | |
160 | %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper | |
161 | %{_datadir}/vte | |
162 | ||
163 | %files devel | |
164 | %defattr(644,root,root,755) | |
165 | %attr(755,root,root) %{_libdir}/libvte.so | |
166 | %{_libdir}/libvte.la | |
167 | %{_includedir}/vte | |
168 | %{_pkgconfigdir}/vte.pc | |
169 | ||
170 | %files static | |
171 | %defattr(644,root,root,755) | |
172 | %{_libdir}/libvte.a | |
173 | ||
174 | %files apidocs | |
175 | %defattr(644,root,root,755) | |
176 | %{_gtkdocdir}/vte | |
177 | ||
178 | %files -n python-vte | |
179 | %defattr(644,root,root,755) | |
180 | %attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so | |
181 | ||
182 | %files -n python-vte-devel | |
183 | %defattr(644,root,root,755) | |
184 | %{_datadir}/pygtk/2.0/defs/*.defs | |
185 | %{_pkgconfigdir}/pyvte.pc |