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