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