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