]>
Commit | Line | Data |
---|---|---|
ba53f3b0 JB |
1 | Summary: VTE terminal widget library for GTK+ 2 |
2 | Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE for GTK+ 2 | |
d3a7e9a1 JR |
3 | Name: vte0 |
4 | Version: 0.28.2 | |
2adb3017 | 5 | Release: 8 |
0dba45ff | 6 | License: LGPL v2+ |
e8267128 | 7 | Group: X11/Libraries |
d3a7e9a1 JR |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/vte/0.28/vte-%{version}.tar.bz2 |
9 | # Source0-md5: f07a4bf943194f94b7f142db8f7f36dc | |
c0fac737 | 10 | Patch0: vte-alt-meta.patch |
7a680fca | 11 | BuildRequires: autoconf >= 2.63 |
6edcfe02 | 12 | BuildRequires: automake >= 1:1.9 |
4b8a5265 | 13 | BuildRequires: docbook-dtd412-xml |
fab84d2b | 14 | BuildRequires: gettext-devel |
7a680fca | 15 | BuildRequires: glib2-devel >= 1:2.28.0 |
7a680fca | 16 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
d3a7e9a1 | 17 | BuildRequires: gtk+2-devel >= 2:2.20.0 |
0b8514c4 | 18 | BuildRequires: gtk-doc >= 1.13 |
117fafc1 | 19 | BuildRequires: gtk-doc-automake >= 1.13 |
6edcfe02 | 20 | BuildRequires: intltool >= 0.40.0 |
117fafc1 | 21 | BuildRequires: libtool >= 2:2.2 |
fab84d2b | 22 | BuildRequires: ncurses-devel |
117fafc1 | 23 | BuildRequires: pango-devel >= 1:1.22.0 |
fab84d2b | 24 | BuildRequires: pkgconfig |
d3a7e9a1 JR |
25 | BuildRequires: python-pygtk-devel >= 2:2.12.0 |
26 | BuildRequires: rpm-pythonprov | |
7a680fca | 27 | BuildRequires: rpmbuild(macros) >= 1.592 |
d3a7e9a1 | 28 | Requires(pre): utempter |
117fafc1 | 29 | Requires: glib2 >= 1:2.28.0 |
8f963d26 | 30 | # sr@Latn vs. sr@latin |
1703b6fa | 31 | Conflicts: glibc-misc < 6:2.7 |
d3a7e9a1 JR |
32 | Requires: gtk+2 >= 2:2.20.0 |
33 | Requires: pango >= 1:1.22.0 | |
e8267128 AF |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
e8267128 | 36 | %description |
d3a7e9a1 | 37 | The vte package contains a terminal widget for GTK+ 2.x. It's used by |
e8267128 AF |
38 | gnome-terminal among other programs. |
39 | ||
3e245f43 | 40 | %description -l pl.UTF-8 |
d3a7e9a1 | 41 | Ten pakiet zawiera kontrolkę terminala dla GTK+ 2.x. Jest używany |
73261104 | 42 | przez gnome-terminal oraz inne programy. |
82049e23 | 43 | |
e8267128 | 44 | %package devel |
d3a7e9a1 JR |
45 | Summary: Header files for VTE for GTK+ 2 |
46 | Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 2 | |
e8267128 | 47 | Group: X11/Development/Libraries |
26e85033 | 48 | Requires: %{name} = %{version}-%{release} |
7a680fca | 49 | Requires: glib2-devel >= 1:2.28.0 |
d3a7e9a1 | 50 | Requires: gtk+2-devel >= 2:2.20.0 |
132b7410 | 51 | Requires: ncurses-devel |
117fafc1 | 52 | Requires: pango-devel >= 1:1.22.0 |
e8267128 AF |
53 | Conflicts: gnome-libs-devel < 1.4.1.2 |
54 | ||
55 | %description devel | |
d3a7e9a1 | 56 | This package contains header files for GTK+ 2 based vte library. |
e8267128 | 57 | |
3e245f43 | 58 | %description devel -l pl.UTF-8 |
73261104 | 59 | Pliki nagłówkowe potrzebne do kompilowania programów używających |
d3a7e9a1 | 60 | biblioteki vte opartej na GTK+ 2. |
73261104 JB |
61 | |
62 | %package static | |
d3a7e9a1 JR |
63 | Summary: Static VTE library for GTK+ 2 |
64 | Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 2 | |
73261104 JB |
65 | Group: X11/Development/Libraries |
66 | Requires: %{name}-devel = %{version}-%{release} | |
67 | Conflicts: gnome-libs-static < 1.4.1.2 | |
68 | ||
69 | %description static | |
d3a7e9a1 | 70 | Static version of VTE library for GTK+ 2. |
73261104 JB |
71 | |
72 | %description static -l pl.UTF-8 | |
d3a7e9a1 | 73 | Statyczna wersja biblioteki VTE dla GTK+ 2. |
73261104 JB |
74 | |
75 | %package apidocs | |
d3a7e9a1 JR |
76 | Summary: VTE API documentation - GTK+ 2.x version |
77 | Summary(pl.UTF-8): Dokumentacja API VTE - wersja dla GTK+ 2.x | |
73261104 JB |
78 | Group: Documentation |
79 | Requires: gtk-doc-common | |
80 | ||
81 | %description apidocs | |
d3a7e9a1 | 82 | VTE API documentation - GTK+ 2.x version. |
73261104 JB |
83 | |
84 | %description apidocs -l pl.UTF-8 | |
d3a7e9a1 JR |
85 | Dokumentacja API VTE - wersja dla GTK+ 2.x. |
86 | ||
87 | %package -n python-vte0 | |
88 | Summary: Python VTE module | |
89 | Summary(pl.UTF-8): Moduł VTE dla pythona | |
90 | Group: Libraries/Python | |
91 | %pyrequires_eq python-libs | |
92 | Requires: %{name} = %{version}-%{release} | |
93 | Requires: python-pygtk-gtk >= 2:2.12.0 | |
bb2f028e JR |
94 | Provides: python-vte |
95 | Obsoletes: python-vte | |
d3a7e9a1 JR |
96 | |
97 | %description -n python-vte0 | |
98 | Python VTE library. | |
99 | ||
100 | %description -n python-vte0 -l pl.UTF-8 | |
101 | Biblioteka VTE dla pythona. | |
102 | ||
103 | %package -n python-vte0-devel | |
104 | Summary: Development files for VTE Python bindings | |
105 | Summary(pl.UTF-8): Pliki programistyczne wiązań Pythona do VTE | |
106 | Group: Development/Languages/Python | |
107 | Requires: %{name}-devel = %{version}-%{release} | |
108 | Requires: python-vte0 = %{version}-%{release} | |
bb2f028e JR |
109 | Provides: python-vte-devel |
110 | Obsoletes: python-vte-devel | |
d3a7e9a1 JR |
111 | |
112 | %description -n python-vte0-devel | |
113 | Development files for VTE Python bindings. | |
114 | ||
115 | %description -n python-vte0-devel -l pl.UTF-8 | |
116 | Pliki programistyczne wiązań Pythona do VTE. | |
73261104 | 117 | |
e8267128 | 118 | %prep |
d3a7e9a1 | 119 | %setup -q -n vte-%{version} |
c0fac737 | 120 | %patch0 -p1 |
e8267128 AF |
121 | |
122 | %build | |
1703b6fa | 123 | %configure \ |
d3a7e9a1 JR |
124 | --libexecdir=%{_libdir}/vte-0.0 \ |
125 | --with-gtk=2.0 \ | |
1703b6fa | 126 | --disable-silent-rules \ |
c97b79a6 | 127 | --enable-gtk-doc \ |
7a680fca | 128 | --enable-introspection \ |
935df165 | 129 | --with-default-emulation=xterm \ |
315fbd5f | 130 | --with-html-dir=%{_gtkdocdir} |
d3a7e9a1 | 131 | |
82049e23 | 132 | %{__make} |
e8267128 AF |
133 | |
134 | %install | |
135 | rm -rf $RPM_BUILD_ROOT | |
136 | ||
1703b6fa | 137 | %{__make} install \ |
dee441fe | 138 | DESTDIR=$RPM_BUILD_ROOT |
c94b6bd6 | 139 | |
82049e23 | 140 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \ |
d3a7e9a1 | 141 | $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/vtemodule.{la,a} |
17cb21a5 | 142 | |
d3a7e9a1 | 143 | %find_lang vte-0.0 |
e8267128 AF |
144 | |
145 | %clean | |
146 | rm -rf $RPM_BUILD_ROOT | |
147 | ||
148 | %post -p /sbin/ldconfig | |
149 | %postun -p /sbin/ldconfig | |
150 | ||
d3a7e9a1 | 151 | %files -f vte-0.0.lang |
82049e23 AF |
152 | %defattr(644,root,root,755) |
153 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
d3a7e9a1 JR |
154 | %attr(755,root,root) %{_bindir}/vte |
155 | %attr(755,root,root) %{_libdir}/libvte.so.*.*.* | |
156 | %attr(755,root,root) %ghost %{_libdir}/libvte.so.9 | |
bb2f028e | 157 | %dir %{_libdir}/vte-0.0 |
d3a7e9a1 JR |
158 | %attr(2755,root,utmp) %{_libdir}/vte-0.0/gnome-pty-helper |
159 | %{_libdir}/girepository-1.0/Vte-0.0.typelib | |
101853b1 | 160 | %{_datadir}/vte |
e8267128 AF |
161 | |
162 | %files devel | |
163 | %defattr(644,root,root,755) | |
d3a7e9a1 JR |
164 | %attr(755,root,root) %{_libdir}/libvte.so |
165 | %{_includedir}/vte-0.0 | |
166 | %{_pkgconfigdir}/vte.pc | |
167 | %{_datadir}/gir-1.0/Vte-0.0.gir | |
e8267128 | 168 | |
73261104 JB |
169 | %files static |
170 | %defattr(644,root,root,755) | |
d3a7e9a1 | 171 | %{_libdir}/libvte.a |
73261104 JB |
172 | |
173 | %files apidocs | |
174 | %defattr(644,root,root,755) | |
d3a7e9a1 JR |
175 | %{_gtkdocdir}/vte-0.0 |
176 | ||
177 | %files -n python-vte0 | |
178 | %defattr(644,root,root,755) | |
179 | %attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so | |
180 | ||
181 | %files -n python-vte0-devel | |
182 | %defattr(644,root,root,755) | |
183 | %{_datadir}/pygtk/2.0/defs/vte.defs | |
184 | %{_pkgconfigdir}/pyvte.pc |