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