]> git.pld-linux.org Git - packages/vte0.git/blob - vte0.spec
b497a212bd9ed94edfc3f2ad53d429982c88bf16
[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:        7
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 BuildRequires:  autoconf >= 2.63
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  docbook-dtd412-xml
14 BuildRequires:  gettext-devel
15 BuildRequires:  glib2-devel >= 1:2.28.0
16 BuildRequires:  gobject-introspection-devel >= 0.10.0
17 BuildRequires:  gtk+2-devel >= 2:2.20.0
18 BuildRequires:  gtk-doc >= 1.13
19 BuildRequires:  gtk-doc-automake >= 1.13
20 BuildRequires:  intltool >= 0.40.0
21 BuildRequires:  libtool >= 2:2.2
22 BuildRequires:  ncurses-devel
23 BuildRequires:  pango-devel >= 1:1.22.0
24 BuildRequires:  pkgconfig
25 BuildRequires:  python-pygtk-devel >= 2:2.12.0
26 BuildRequires:  rpm-pythonprov
27 BuildRequires:  rpmbuild(macros) >= 1.592
28 Requires(pre):  utempter
29 Requires:       glib2 >= 1:2.28.0
30 # sr@Latn vs. sr@latin
31 Conflicts:      glibc-misc < 6:2.7
32 Requires:       gtk+2 >= 2:2.20.0
33 Requires:       pango >= 1:1.22.0
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 The vte package contains a terminal widget for GTK+ 2.x. It's used by
38 gnome-terminal among other programs.
39
40 %description -l pl.UTF-8
41 Ten pakiet zawiera kontrolkę terminala dla GTK+ 2.x. Jest używany
42 przez gnome-terminal oraz inne programy.
43
44 %package devel
45 Summary:        Header files for VTE for GTK+ 2
46 Summary(pl.UTF-8):      Pliki nagłówkowe VTE dla GTK+ 2
47 Group:          X11/Development/Libraries
48 Requires:       %{name} = %{version}-%{release}
49 Requires:       glib2-devel >= 1:2.28.0
50 Requires:       gtk+2-devel >= 2:2.20.0
51 Requires:       ncurses-devel
52 Requires:       pango-devel >= 1:1.22.0
53 Conflicts:      gnome-libs-devel < 1.4.1.2
54
55 %description devel
56 This package contains header files for GTK+ 2 based vte library.
57
58 %description devel -l pl.UTF-8
59 Pliki nagłówkowe potrzebne do kompilowania programów używających
60 biblioteki vte opartej na GTK+ 2.
61
62 %package static
63 Summary:        Static VTE library for GTK+ 2
64 Summary(pl.UTF-8):      Statyczna biblioteka VTE dla GTK+ 2
65 Group:          X11/Development/Libraries
66 Requires:       %{name}-devel = %{version}-%{release}
67 Conflicts:      gnome-libs-static < 1.4.1.2
68
69 %description static
70 Static version of VTE library for GTK+ 2.
71
72 %description static -l pl.UTF-8
73 Statyczna wersja biblioteki VTE dla GTK+ 2.
74
75 %package apidocs
76 Summary:        VTE API documentation - GTK+ 2.x version
77 Summary(pl.UTF-8):      Dokumentacja API VTE - wersja dla GTK+ 2.x
78 Group:          Documentation
79 Requires:       gtk-doc-common
80
81 %description apidocs
82 VTE API documentation - GTK+ 2.x version.
83
84 %description apidocs -l pl.UTF-8
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
94 Provides:       python-vte
95 Obsoletes:      python-vte
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}
109 Provides:       python-vte-devel
110 Obsoletes:      python-vte-devel
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.
117
118 %prep
119 %setup -q -n vte-%{version}
120 %patch0 -p1
121
122 %build
123 %configure \
124         --libexecdir=%{_libdir}/vte-0.0 \
125         --with-gtk=2.0 \
126         --disable-silent-rules \
127         --enable-gtk-doc \
128         --enable-introspection \
129         --with-default-emulation=xterm \
130         --with-html-dir=%{_gtkdocdir}
131
132 %{__make}
133
134 %install
135 rm -rf $RPM_BUILD_ROOT
136
137 %{__make} install \
138         DESTDIR=$RPM_BUILD_ROOT
139
140 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \
141         $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/vtemodule.{la,a}
142
143 %find_lang vte-0.0
144
145 %clean
146 rm -rf $RPM_BUILD_ROOT
147
148 %post   -p /sbin/ldconfig
149 %postun -p /sbin/ldconfig
150
151 %files -f vte-0.0.lang
152 %defattr(644,root,root,755)
153 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
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
157 %dir %{_libdir}/vte-0.0
158 %attr(2755,root,utmp) %{_libdir}/vte-0.0/gnome-pty-helper
159 %{_libdir}/girepository-1.0/Vte-0.0.typelib
160 %{_datadir}/vte
161
162 %files devel
163 %defattr(644,root,root,755)
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
168
169 %files static
170 %defattr(644,root,root,755)
171 %{_libdir}/libvte.a
172
173 %files apidocs
174 %defattr(644,root,root,755)
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
This page took 0.079929 seconds and 2 git commands to generate.