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