]>
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 |
1429ac3c | 4 | Name: vte2.90 |
1edb3e88 | 5 | Version: 0.36.3 |
b0a6ddbb | 6 | Release: 1 |
c9db6ca2 | 7 | License: LGPL v2.1+ |
cfe79c9b | 8 | Group: X11/Libraries |
1429ac3c | 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/vte/0.36/vte-%{version}.tar.xz |
1edb3e88 | 10 | # Source0-md5: 3f9df4c9a67b09bf5c660bf5c3bae109 |
c6e4d226 | 11 | # https://bugzilla.gnome.org/show_bug.cgi?id=663779 |
1429ac3c JR |
12 | Patch0: vte-alt-meta.patch |
13 | Patch1: vte-am.patch | |
14 | Patch2: rename-pty-helper.patch | |
89ff5c97 | 15 | BuildRequires: autoconf >= 2.63 |
caeedbd5 | 16 | BuildRequires: automake >= 1:1.9 |
b20f4843 | 17 | BuildRequires: docbook-dtd412-xml |
049c0677 | 18 | BuildRequires: gettext-devel |
c9db6ca2 | 19 | BuildRequires: glib2-devel >= 1:2.40.0 |
89ff5c97 | 20 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
c9db6ca2 | 21 | BuildRequires: gtk+3-devel >= 3.8.0 |
0471d6bf | 22 | BuildRequires: gtk-doc >= 1.13 |
882367f4 | 23 | BuildRequires: gtk-doc-automake >= 1.13 |
caeedbd5 | 24 | BuildRequires: intltool >= 0.40.0 |
882367f4 | 25 | BuildRequires: libtool >= 2:2.2 |
c9db6ca2 | 26 | BuildRequires: libxml2-progs >= 2 |
049c0677 | 27 | BuildRequires: ncurses-devel |
882367f4 | 28 | BuildRequires: pango-devel >= 1:1.22.0 |
049c0677 | 29 | BuildRequires: pkgconfig |
89ff5c97 | 30 | BuildRequires: rpmbuild(macros) >= 1.592 |
a54e0807 | 31 | BuildRequires: tar >= 1:1.22 |
c9db6ca2 | 32 | #BuildRequires: vala >= 2:0.18 |
a54e0807 | 33 | BuildRequires: xz |
81a45b35 | 34 | Requires: %{name}-common = %{version}-%{release} |
c9db6ca2 JB |
35 | Requires: glib2 >= 1:2.40.0 |
36 | Requires: gtk+3 >= 3.8.0 | |
882367f4 | 37 | Requires: pango >= 1:1.22.0 |
ed398031 | 38 | # sr@Latn vs. sr@latin |
a54e0807 | 39 | Conflicts: glibc-misc < 6:2.7 |
8b954b87 | 40 | Obsoletes: vte < 0.37 |
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 |
8b954b87 | 56 | Obsoletes: vte-common < 0.37 |
81a45b35 AF |
57 | |
58 | %description common | |
a7366067 JB |
59 | Common files for GTK+ 3 based vte and GTK+ 2 based vte0. |
60 | ||
61 | %description common -l pl.UTF-8 | |
62 | Pliki wspólne dla vte opartego na GTK+ 3 oraz vte0 opartego na GTK+ 2. | |
81a45b35 | 63 | |
cfe79c9b | 64 | %package devel |
a7366067 JB |
65 | Summary: Header files for VTE for GTK+ 3 |
66 | Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 3 | |
cfe79c9b | 67 | Group: X11/Development/Libraries |
efc3b9e1 | 68 | Requires: %{name} = %{version}-%{release} |
c9db6ca2 JB |
69 | Requires: glib2-devel >= 1:2.40.0 |
70 | Requires: gtk+3-devel >= 3.8.0 | |
f41aff32 | 71 | Requires: ncurses-devel |
882367f4 | 72 | Requires: pango-devel >= 1:1.22.0 |
cfe79c9b | 73 | Conflicts: gnome-libs-devel < 1.4.1.2 |
8b954b87 | 74 | Obsoletes: vte-devel < 0.37 |
cfe79c9b AF |
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 | |
8b954b87 | 89 | Obsoletes: vte-static < 0.37 |
a7366067 JB |
90 | |
91 | %description static | |
92 | Static version of VTE library for GTK+ 3. | |
93 | ||
94 | %description static -l pl.UTF-8 | |
95 | Statyczna wersja biblioteki VTE dla GTK+ 3. | |
96 | ||
8b954b87 | 97 | %package -n vala-vte2.90 |
c9db6ca2 JB |
98 | Summary: Vala API for VTE library |
99 | Summary(pl.UTF-8): API języka Vala dla biblioteki VTE | |
100 | Group: Development/Libraries | |
101 | Requires: %{name}-devel = %{version}-%{release} | |
102 | Requires: vala >= 2:0.18 | |
8b954b87 | 103 | Obsoletes: vala-vte < 0.37 |
c9db6ca2 | 104 | |
8b954b87 | 105 | %description -n vala-vte2.90 |
c9db6ca2 JB |
106 | Vala API for VTE library. |
107 | ||
8b954b87 | 108 | %description -n vala-vte2.90 -l pl.UTF-8 |
c9db6ca2 JB |
109 | API języka Vala dla biblioteki VTE. |
110 | ||
a7366067 JB |
111 | %package apidocs |
112 | Summary: VTE API documentation (GTK+ 3 version) | |
113 | Summary(pl.UTF-8): Dokumentacja API VTE (wersja dla GTK+ 3) | |
114 | Group: Documentation | |
115 | Requires: gtk-doc-common | |
8b954b87 | 116 | Obsoletes: vte-apidocs < 0.37 |
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 |
1429ac3c | 125 | %setup -q -n vte-%{version} |
c6e4d226 | 126 | %patch0 -p1 |
7e78b731 | 127 | %patch1 -p1 |
1429ac3c | 128 | %patch2 -p1 |
cfe79c9b AF |
129 | |
130 | %build | |
65f8a03f | 131 | %{__gtkdocize} |
62df6718 | 132 | %{__glib_gettextize} |
a3456d5d | 133 | %{__intltoolize} |
dcd5996b | 134 | %{__libtoolize} |
135 | %{__aclocal} | |
136 | %{__autoheader} | |
137 | %{__automake} | |
138 | %{__autoconf} | |
6c8a1130 | 139 | cd gnome-pty-helper |
140 | %{__libtoolize} | |
141 | %{__aclocal} | |
142 | %{__autoheader} | |
143 | %{__automake} | |
144 | %{__autoconf} | |
145 | cd .. | |
a54e0807 ŁK |
146 | %configure \ |
147 | --disable-silent-rules \ | |
c9db6ca2 | 148 | --enable-gnome-pty-helper \ |
d146662f | 149 | --enable-gtk-doc \ |
89ff5c97 | 150 | --enable-introspection \ |
f1c2e26c | 151 | --with-default-emulation=xterm \ |
65f8a03f | 152 | --with-html-dir=%{_gtkdocdir} |
81a45b35 | 153 | %{__make} |
cfe79c9b AF |
154 | |
155 | %install | |
156 | rm -rf $RPM_BUILD_ROOT | |
157 | ||
a54e0807 | 158 | %{__make} install \ |
7c0544b4 | 159 | DESTDIR=$RPM_BUILD_ROOT |
ead4696e | 160 | |
1429ac3c JR |
161 | %{__mv} $RPM_BUILD_ROOT/etc/profile.d/vte{,2.90}.sh |
162 | ||
ed398031 | 163 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
e6a03317 | 164 | |
1429ac3c | 165 | %find_lang vte-2.90 |
cfe79c9b AF |
166 | |
167 | %clean | |
168 | rm -rf $RPM_BUILD_ROOT | |
169 | ||
170 | %post -p /sbin/ldconfig | |
171 | %postun -p /sbin/ldconfig | |
172 | ||
e560d5ae | 173 | %files -f vte-2.90.lang |
cfe79c9b | 174 | %defattr(644,root,root,755) |
89ff5c97 MB |
175 | %attr(755,root,root) %{_bindir}/vte2_90 |
176 | %attr(755,root,root) %{_libdir}/libvte2_90.so.*.*.* | |
177 | %attr(755,root,root) %ghost %{_libdir}/libvte2_90.so.9 | |
178 | %{_libdir}/girepository-1.0/Vte-2.90.typelib | |
1429ac3c | 179 | %config(noreplace) %verify(not md5 mtime size) /etc/profile.d/vte2.90.sh |
81a45b35 | 180 | |
81a45b35 AF |
181 | %files common |
182 | %defattr(644,root,root,755) | |
183 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
1429ac3c | 184 | %attr(2755,root,utmp) %{_libdir}/vte2.90-pty-helper |
cfe79c9b AF |
185 | |
186 | %files devel | |
187 | %defattr(644,root,root,755) | |
9971f7fa | 188 | %attr(755,root,root) %{_libdir}/libvte2_90.so |
1c250161 JR |
189 | %{_includedir}/vte-2.90 |
190 | %{_pkgconfigdir}/vte-2.90.pc | |
191 | %{_datadir}/gir-1.0/Vte-2.90.gir | |
cfe79c9b | 192 | |
a7366067 JB |
193 | %files static |
194 | %defattr(644,root,root,755) | |
1c250161 | 195 | %{_libdir}/libvte-2.90.a |
c9db6ca2 | 196 | |
8b954b87 | 197 | %files -n vala-vte2.90 |
c9db6ca2 | 198 | %defattr(644,root,root,755) |
1c250161 | 199 | %{_datadir}/vala/vapi/vte-2.90.vapi |
a7366067 JB |
200 | |
201 | %files apidocs | |
202 | %defattr(644,root,root,755) | |
1c250161 | 203 | %{_gtkdocdir}/vte-2.90 |