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