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