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