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