]> git.pld-linux.org Git - packages/vte.git/blob - vte.spec
- updated to 0.24.2
[packages/vte.git] / vte.spec
1 Summary:        VTE terminal widget library
2 Summary(pl.UTF-8):      Biblioteka z kontrolką terminala VTE
3 Name:           vte
4 Version:        0.24.2
5 Release:        1
6 License:        LGPL v2+
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/vte/0.24/%{name}-%{version}.tar.bz2
9 # Source0-md5:  76d5bca203245fedf7eac6d434a16bd9
10 BuildRequires:  autoconf >= 2.59-9
11 BuildRequires:  automake >= 1:1.9
12 BuildRequires:  docbook-dtd412-xml
13 BuildRequires:  gettext-devel
14 BuildRequires:  glib2-devel >= 1:2.22.0
15 BuildRequires:  gnome-common
16 BuildRequires:  gtk+2-devel >= 2:2.14.0
17 BuildRequires:  gtk-doc >= 1.13
18 BuildRequires:  gtk-doc-automake
19 BuildRequires:  intltool >= 0.40.0
20 BuildRequires:  libtool
21 BuildRequires:  ncurses-devel
22 BuildRequires:  pkgconfig
23 BuildRequires:  python-pygtk-devel >= 2:2.12.0
24 BuildRequires:  rpm-pythonprov
25 BuildRequires:  rpmbuild(macros) >= 1.197
26 Requires(pre):  utempter
27 # sr@Latn vs. sr@latin
28 Conflicts:      glibc-misc < 6:2.7
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 The vte package contains a terminal widget for GTK+. It's used by
33 gnome-terminal among other programs.
34
35 %description -l pl.UTF-8
36 Ten pakiet zawiera kontrolkę terminala dla GTK+. Jest używany przez
37 gnome-terminal oraz inne programy.
38
39 %package devel
40 Summary:        Headers for VTE
41 Summary(pl.UTF-8):      Pliki nagłówkowe VTE
42 Group:          X11/Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44 Requires:       glib2-devel >= 1:2.22.0
45 Requires:       gtk+2-devel >= 2:2.14.0
46 Requires:       ncurses-devel
47 Conflicts:      gnome-libs-devel < 1.4.1.2
48
49 %description devel
50 The vte package contains a terminal widget for GTK+. It's used by
51 gnome-terminal among other programs.
52
53 You should install the vte-devel package if you would like to compile
54 applications that use the vte terminal widget. You do not need to
55 install vte-devel if you just want to use precompiled applications.
56
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe potrzebne do kompilowania programów używających vte.
59
60 %package static
61 Summary:        Static VTE library
62 Summary(pl.UTF-8):      Statyczna biblioteka VTE
63 Group:          X11/Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65 Conflicts:      gnome-libs-static < 1.4.1.2
66
67 %description static
68 Static version of VTE libraries.
69
70 %description static -l pl.UTF-8
71 Statyczna wersja bibliotek VTE.
72
73 %package -n python-vte
74 Summary:        Python VTE module
75 Summary(pl.UTF-8):      Moduł VTE dla pythona
76 Group:          Libraries/Python
77 %pyrequires_eq  python-libs
78 Requires:       %{name} = %{version}-%{release}
79 Requires:       python-pygtk-gtk >= 2:2.12.0
80
81 %description -n python-vte
82 Python VTE library.
83
84 %description -n python-vte -l pl.UTF-8
85 Biblioteka VTE dla pythona.
86
87 %package -n python-vte-devel
88 Summary:        Development files for VTE Python bindings
89 Summary(pl.UTF-8):      Pliki programistyczne wiązań Pythona do VTE
90 Group:          Development/Languages/Python
91 Requires:       %{name}-devel = %{version}-%{release}
92 Requires:       python-vte = %{version}-%{release}
93
94 %description -n python-vte-devel
95 Development files for VTE Python bindings.
96
97 %description -n python-vte-devel -l pl.UTF-8
98 Pliki programistyczne wiązań Pythona do VTE.
99
100 %package apidocs
101 Summary:        VTE API documentation
102 Summary(pl.UTF-8):      Dokumentacja API VTE
103 Group:          Documentation
104 Requires:       gtk-doc-common
105
106 %description apidocs
107 VTE API documentation.
108
109 %description apidocs -l pl.UTF-8
110 Dokumentacja API VTE.
111
112 %prep
113 %setup -q
114
115 %build
116 %{__gtkdocize}
117 %{__glib_gettextize}
118 %{__intltoolize}
119 %{__libtoolize}
120 %{__aclocal}
121 %{__autoheader}
122 %{__automake}
123 %{__autoconf}
124 cd gnome-pty-helper
125 %{__libtoolize}
126 %{__aclocal}
127 %{__autoheader}
128 %{__automake}
129 %{__autoconf}
130 cd ..
131 %configure \
132         --disable-silent-rules \
133         --enable-gtk-doc \
134         --with-default-emulation=xterm \
135         --with-html-dir=%{_gtkdocdir}
136 %{__make}
137
138 %install
139 rm -rf $RPM_BUILD_ROOT
140
141 %{__make} install \
142         DESTDIR=$RPM_BUILD_ROOT
143
144 rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/*.{la,a}
145
146 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en@shaw
147
148 %find_lang %{name}
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.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
163 %attr(755,root,root) %{_libdir}/vte/*
164 %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
165 %{_datadir}/vte
166
167 %files devel
168 %defattr(644,root,root,755)
169 %attr(755,root,root) %{_libdir}/libvte.so
170 %{_libdir}/libvte.la
171 %{_includedir}/vte
172 %{_pkgconfigdir}/vte.pc
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
181
182 %files -n python-vte
183 %defattr(644,root,root,755)
184 %attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so
185
186 %files -n python-vte-devel
187 %defattr(644,root,root,755)
188 %{_datadir}/pygtk/2.0/defs/*.defs
189 %{_pkgconfigdir}/pyvte.pc
This page took 0.488153 seconds and 3 git commands to generate.