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