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