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