]>
Commit | Line | Data |
---|---|---|
c9db6ca2 | 1 | # TODO: is alt-meta patch still needed? |
cfe79c9b | 2 | Summary: VTE terminal widget library |
d2828306 | 3 | Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE |
cfe79c9b | 4 | Name: vte |
fc779d6e | 5 | Version: 0.40.2 |
8dfe5a97 | 6 | Release: 2 |
c9db6ca2 | 7 | License: LGPL v2.1+ |
cfe79c9b | 8 | Group: X11/Libraries |
767c3490 | 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/vte/0.40/%{name}-%{version}.tar.xz |
fc779d6e | 10 | # Source0-md5: 6a7a6af8eb0ebadaf3338e820a7229a3 |
c6e4d226 MB |
11 | # https://bugzilla.gnome.org/show_bug.cgi?id=663779 |
12 | Patch0: %{name}-alt-meta.patch | |
89ff5c97 | 13 | BuildRequires: autoconf >= 2.63 |
caeedbd5 | 14 | BuildRequires: automake >= 1:1.9 |
b20f4843 | 15 | BuildRequires: docbook-dtd412-xml |
049c0677 | 16 | BuildRequires: gettext-devel |
c9db6ca2 | 17 | BuildRequires: glib2-devel >= 1:2.40.0 |
767c3490 | 18 | BuildRequires: gnutls-devel >= 3.2.0 |
89ff5c97 | 19 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
c9db6ca2 | 20 | BuildRequires: gtk+3-devel >= 3.8.0 |
0471d6bf | 21 | BuildRequires: gtk-doc >= 1.13 |
882367f4 | 22 | BuildRequires: gtk-doc-automake >= 1.13 |
caeedbd5 | 23 | BuildRequires: intltool >= 0.40.0 |
882367f4 | 24 | BuildRequires: libtool >= 2:2.2 |
c9db6ca2 | 25 | BuildRequires: libxml2-progs >= 2 |
049c0677 | 26 | BuildRequires: ncurses-devel |
882367f4 | 27 | BuildRequires: pango-devel >= 1:1.22.0 |
049c0677 | 28 | BuildRequires: pkgconfig |
89ff5c97 | 29 | BuildRequires: rpmbuild(macros) >= 1.592 |
a54e0807 | 30 | BuildRequires: tar >= 1:1.22 |
c9db6ca2 | 31 | #BuildRequires: vala >= 2:0.18 |
a54e0807 | 32 | BuildRequires: xz |
891bed86 | 33 | BuildRequires: zlib-devel |
81a45b35 | 34 | Requires: %{name}-common = %{version}-%{release} |
c9db6ca2 | 35 | Requires: glib2 >= 1:2.40.0 |
767c3490 | 36 | Requires: gnutls >= 3.2.0 |
c9db6ca2 | 37 | Requires: gtk+3 >= 3.8.0 |
882367f4 | 38 | Requires: pango >= 1:1.22.0 |
ed398031 | 39 | # sr@Latn vs. sr@latin |
a54e0807 | 40 | Conflicts: glibc-misc < 6:2.7 |
cfe79c9b AF |
41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
cfe79c9b | 43 | %description |
81a45b35 | 44 | The vte package contains a terminal widget for GTK+ 3.x. It's used by |
cfe79c9b AF |
45 | gnome-terminal among other programs. |
46 | ||
6c917d2d | 47 | %description -l pl.UTF-8 |
a7366067 JB |
48 | Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany |
49 | przez gnome-terminal oraz inne programy. | |
81a45b35 AF |
50 | |
51 | %package common | |
52 | Summary: Common files for vte and vte0 | |
a7366067 | 53 | Summary(pl.UTF-8): Pliki wspólne dla vte i vte0 |
81a45b35 | 54 | Group: X11/Libraries |
a7366067 | 55 | Requires(pre): utempter |
81a45b35 AF |
56 | |
57 | %description common | |
a7366067 JB |
58 | Common files for GTK+ 3 based vte and GTK+ 2 based vte0. |
59 | ||
60 | %description common -l pl.UTF-8 | |
61 | Pliki wspólne dla vte opartego na GTK+ 3 oraz vte0 opartego na GTK+ 2. | |
81a45b35 | 62 | |
cfe79c9b | 63 | %package devel |
a7366067 JB |
64 | Summary: Header files for VTE for GTK+ 3 |
65 | Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 3 | |
cfe79c9b | 66 | Group: X11/Development/Libraries |
efc3b9e1 | 67 | Requires: %{name} = %{version}-%{release} |
c9db6ca2 | 68 | Requires: glib2-devel >= 1:2.40.0 |
891bed86 | 69 | Requires: gnutls-devel >= 3.2.0 |
c9db6ca2 | 70 | Requires: gtk+3-devel >= 3.8.0 |
f41aff32 | 71 | Requires: ncurses-devel |
882367f4 | 72 | Requires: pango-devel >= 1:1.22.0 |
891bed86 | 73 | Requires: zlib-devel |
cfe79c9b AF |
74 | Conflicts: gnome-libs-devel < 1.4.1.2 |
75 | ||
76 | %description devel | |
a7366067 | 77 | This package contains header files for GTK+ 3 based vte library. |
cfe79c9b | 78 | |
6c917d2d | 79 | %description devel -l pl.UTF-8 |
a7366067 JB |
80 | Pliki nagłówkowe potrzebne do kompilowania programów używających |
81 | biblioteki vte opartej na GTK+ 3. | |
82 | ||
83 | %package static | |
84 | Summary: Static VTE library for GTK+ 3 | |
85 | Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 3 | |
86 | Group: X11/Development/Libraries | |
87 | Requires: %{name}-devel = %{version}-%{release} | |
88 | Conflicts: gnome-libs-static < 1.4.1.2 | |
89 | ||
90 | %description static | |
91 | Static version of VTE library for GTK+ 3. | |
92 | ||
93 | %description static -l pl.UTF-8 | |
94 | Statyczna wersja biblioteki VTE dla GTK+ 3. | |
95 | ||
c9db6ca2 JB |
96 | %package -n vala-vte |
97 | Summary: Vala API for VTE library | |
98 | Summary(pl.UTF-8): API języka Vala dla biblioteki VTE | |
99 | Group: Development/Libraries | |
100 | Requires: %{name}-devel = %{version}-%{release} | |
101 | Requires: vala >= 2:0.18 | |
102 | ||
103 | %description -n vala-vte | |
104 | Vala API for VTE library. | |
105 | ||
106 | %description -n vala-vte -l pl.UTF-8 | |
107 | API języka Vala dla biblioteki VTE. | |
108 | ||
a7366067 JB |
109 | %package apidocs |
110 | Summary: VTE API documentation (GTK+ 3 version) | |
111 | Summary(pl.UTF-8): Dokumentacja API VTE (wersja dla GTK+ 3) | |
112 | Group: Documentation | |
113 | Requires: gtk-doc-common | |
8dfe5a97 ER |
114 | %if "%{_rpmversion}" >= "5" |
115 | BuildArch: noarch | |
116 | %endif | |
a7366067 JB |
117 | |
118 | %description apidocs | |
119 | VTE API documentation (GTK+ 3 version). | |
120 | ||
121 | %description apidocs -l pl.UTF-8 | |
122 | Dokumentacja API VTE (wersja dla GTK+ 3). | |
123 | ||
cfe79c9b | 124 | %prep |
28fdb696 | 125 | %setup -q |
c6e4d226 | 126 | %patch0 -p1 |
cfe79c9b AF |
127 | |
128 | %build | |
65f8a03f | 129 | %{__gtkdocize} |
62df6718 | 130 | %{__glib_gettextize} |
a3456d5d | 131 | %{__intltoolize} |
dcd5996b | 132 | %{__libtoolize} |
133 | %{__aclocal} | |
134 | %{__autoheader} | |
135 | %{__automake} | |
136 | %{__autoconf} | |
6c8a1130 | 137 | cd gnome-pty-helper |
138 | %{__libtoolize} | |
139 | %{__aclocal} | |
140 | %{__autoheader} | |
141 | %{__automake} | |
142 | %{__autoconf} | |
143 | cd .. | |
a54e0807 ŁK |
144 | %configure \ |
145 | --disable-silent-rules \ | |
c9db6ca2 | 146 | --enable-gnome-pty-helper \ |
d146662f | 147 | --enable-gtk-doc \ |
89ff5c97 | 148 | --enable-introspection \ |
f1c2e26c | 149 | --with-default-emulation=xterm \ |
65f8a03f | 150 | --with-html-dir=%{_gtkdocdir} |
81a45b35 | 151 | %{__make} |
cfe79c9b AF |
152 | |
153 | %install | |
154 | rm -rf $RPM_BUILD_ROOT | |
155 | ||
a54e0807 | 156 | %{__make} install \ |
7c0544b4 | 157 | DESTDIR=$RPM_BUILD_ROOT |
ead4696e | 158 | |
ed398031 | 159 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
e6a03317 | 160 | |
c9db6ca2 | 161 | %find_lang %{name}-2.91 |
cfe79c9b AF |
162 | |
163 | %clean | |
164 | rm -rf $RPM_BUILD_ROOT | |
165 | ||
166 | %post -p /sbin/ldconfig | |
167 | %postun -p /sbin/ldconfig | |
168 | ||
c9db6ca2 | 169 | %files -f vte-2.91.lang |
cfe79c9b | 170 | %defattr(644,root,root,755) |
c9db6ca2 JB |
171 | %attr(755,root,root) %{_bindir}/vte-2.91 |
172 | %attr(755,root,root) %{_libdir}/libvte-2.91.so.*.*.* | |
173 | %attr(755,root,root) %ghost %{_libdir}/libvte-2.91.so.0 | |
174 | %{_libdir}/girepository-1.0/Vte-2.91.typelib | |
47c81231 | 175 | %config(noreplace) %verify(not md5 mtime size) /etc/profile.d/vte.sh |
81a45b35 | 176 | |
81a45b35 AF |
177 | %files common |
178 | %defattr(644,root,root,755) | |
179 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
cfe79c9b AF |
180 | %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper |
181 | ||
182 | %files devel | |
183 | %defattr(644,root,root,755) | |
c9db6ca2 JB |
184 | %attr(755,root,root) %{_libdir}/libvte-2.91.so |
185 | %{_includedir}/vte-2.91 | |
186 | %{_pkgconfigdir}/vte-2.91.pc | |
187 | %{_datadir}/gir-1.0/Vte-2.91.gir | |
cfe79c9b | 188 | |
a7366067 JB |
189 | %files static |
190 | %defattr(644,root,root,755) | |
c9db6ca2 JB |
191 | %{_libdir}/libvte-2.91.a |
192 | ||
193 | %files -n vala-vte | |
194 | %defattr(644,root,root,755) | |
195 | %{_datadir}/vala/vapi/vte-2.91.vapi | |
a7366067 JB |
196 | |
197 | %files apidocs | |
198 | %defattr(644,root,root,755) | |
c9db6ca2 | 199 | %{_gtkdocdir}/vte-2.91 |