1 |
%define api3 2.90 |
%define api3 2.90 |
2 |
%define lib3_major 9 |
%define lib3_major 9 |
3 |
%define lib3_name %mklibname vte 2_90 %{lib3_major} |
%define lib3_name %mklibname vte 2_90 %{lib3_major} |
4 |
%define gir3name %mklibname vte-gir %{api3} |
%define gir3name %mklibname vte-gir %{api3} |
5 |
%define develname3 %mklibname -d %{name} |
%define develname3 %mklibname -d %{name} |
6 |
|
|
7 |
Name: vte3 |
%define url_ver %(echo %{version}|cut -d. -f1,2) |
8 |
Version: 0.30.1 |
|
9 |
Release: %mkrel 1 |
Name: vte3 |
10 |
Summary: A terminal emulator widget |
Version: 0.31.0 |
11 |
License: LGPLv2+ |
Release: %mkrel 1 |
12 |
Group: System/Libraries |
Summary: A terminal emulator widget |
13 |
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/vte/vte-%{version}.tar.xz |
License: LGPLv2+ |
14 |
BuildRequires: pkgconfig(cairo-xlib) |
Group: System/Libraries |
15 |
BuildRequires: pkgconfig(gio-2.0) |
URL: http://www.gnome.org/ |
16 |
BuildRequires: pkgconfig(gio-unix-2.0) |
Source0: http://download.gnome.org/sources/vte/%{url_ver}/vte-%{version}.tar.xz |
17 |
BuildRequires: pkgconfig(glib-2.0) >= 2.26.0 |
BuildRequires: pkgconfig(cairo-xlib) |
18 |
BuildRequires: pkgconfig(gobject-2.0) |
BuildRequires: pkgconfig(gio-2.0) |
19 |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.1.9 |
BuildRequires: pkgconfig(gio-unix-2.0) |
20 |
BuildRequires: pkgconfig(pango) >= 1.22.0 |
BuildRequires: pkgconfig(glib-2.0) >= 2.26.0 |
21 |
BuildRequires: pkgconfig(x11) |
BuildRequires: pkgconfig(gobject-2.0) |
22 |
BuildRequires: automake |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.1.9 |
23 |
BuildRequires: gtk-doc |
BuildRequires: pkgconfig(pango) >= 1.22.0 |
24 |
BuildRequires: gobject-introspection-devel |
BuildRequires: pkgconfig(x11) |
25 |
BuildRequires: intltool |
BuildRequires: automake |
26 |
URL: http://www.gnome.org/ |
BuildRequires: gtk-doc |
27 |
|
BuildRequires: gobject-introspection-devel |
28 |
|
BuildRequires: intltool |
29 |
|
|
30 |
%description |
%description |
31 |
VTE is a terminal emulator widget for use with GTK+ 3.0. |
VTE is a terminal emulator widget for use with GTK+ 3.0. |
32 |
|
|
33 |
%package -n %{lib3_name} |
%package -n %{lib3_name} |
34 |
Summary: A terminal emulator widget |
Summary: A terminal emulator widget |
35 |
Group: System/Libraries |
Group: System/Libraries |
36 |
Requires: %{name} >= %{version} |
Requires: %{name} >= %{version} |
37 |
|
|
38 |
%description -n %{lib3_name} |
%description -n %{lib3_name} |
39 |
VTE is a terminal emulator widget for use with GTK+ 3.0. |
VTE is a terminal emulator widget for use with GTK+ 3.0. |
40 |
|
|
41 |
%package -n %{develname3} |
%package -n %{develname3} |
42 |
Summary: Files needed for developing applications which use VTE |
Summary: Files needed for developing applications which use VTE |
43 |
Group: Development/C |
Group: Development/C |
44 |
Provides: %{name}-devel = %{version}-%{release} |
Provides: %{name}-devel = %{version}-%{release} |
45 |
Requires: %{lib3_name} = %{version}-%release |
Requires: %{lib3_name} = %{version}-%release |
|
Requires: %{gir3name} = %{version}-%release |
|
46 |
|
|
47 |
%description -n %{develname3} |
%description -n %{develname3} |
48 |
VTE is a terminal emulator widget for use with GTK+ 3.0. This |
VTE is a terminal emulator widget for use with GTK+ 3.0. This |
49 |
package contains the files needed for building applications using VTE. |
package contains the files needed for building applications using VTE. |
50 |
|
|
51 |
%package -n %{gir3name} |
%package -n %{gir3name} |
52 |
Summary: GObject Introspection interface description for vte with GTK+ 3.0 |
Summary: GObject Introspection interface description for vte with GTK+ 3.0 |
53 |
Group: System/Libraries |
Group: System/Libraries |
54 |
Requires: %{lib3_name} = %{version}-%{release} |
Requires: %{lib3_name} = %{version}-%{release} |
55 |
Conflicts: %{lib3_name} < 0.28.1-2 |
Conflicts: %{lib3_name} < 0.28.1-2 |
56 |
|
|
57 |
%description -n %{gir3name} |
%description -n %{gir3name} |
58 |
GObject Introspection interface description for vte with GTK+ 3.0. |
GObject Introspection interface description for vte with GTK+ 3.0. |
61 |
%setup -qn vte-%{version} |
%setup -qn vte-%{version} |
62 |
|
|
63 |
%build |
%build |
64 |
%configure2_5x --enable-shared --disable-static \ |
%configure2_5x \ |
65 |
--libexecdir=%{_libdir}/%{name} --enable-gtk-doc --enable-introspection |
--enable-shared \ |
66 |
|
--disable-static \ |
67 |
|
--libexecdir=%{_libdir}/%{name} \ |
68 |
|
--enable-gtk-doc \ |
69 |
|
--enable-introspection |
70 |
%make |
%make |
71 |
|
|
72 |
%install |
%install |
73 |
rm -fr $RPM_BUILD_ROOT |
rm -rf %{buildroot} |
|
|
|
74 |
%makeinstall_std |
%makeinstall_std |
75 |
|
|
76 |
rm -f %{buildroot}%{_libdir}/*.la |
#we don't want these |
77 |
|
find %{buildroot} -name "*.la" -delete |
78 |
%find_lang vte-%{api3} |
%find_lang vte-%{api3} |
79 |
|
|
80 |
%clean |
%clean |
81 |
rm -fr $RPM_BUILD_ROOT |
rm -rf %{buildroot} |
82 |
|
|
83 |
%files -f vte-%{api3}.lang |
%files -f vte-%{api3}.lang |
84 |
%defattr(-,root,root) |
%defattr(-,root,root) |
93 |
%{_libdir}/libvte2_90.so.%{lib3_major}* |
%{_libdir}/libvte2_90.so.%{lib3_major}* |
94 |
|
|
95 |
%files -n %{gir3name} |
%files -n %{gir3name} |
96 |
%_libdir/girepository-1.0/Vte-%{api3}.typelib |
%{_libdir}/girepository-1.0/Vte-%{api3}.typelib |
97 |
|
|
98 |
%files -n %{develname3} |
%files -n %{develname3} |
99 |
%defattr(-,root,root) |
%defattr(-,root,root) |
101 |
%{_includedir}/vte-%{api3} |
%{_includedir}/vte-%{api3} |
102 |
%{_libdir}/libvte2_90.so |
%{_libdir}/libvte2_90.so |
103 |
%{_libdir}/pkgconfig/vte-%{api3}.pc |
%{_libdir}/pkgconfig/vte-%{api3}.pc |
104 |
%_datadir/gir-1.0/Vte-%{api3}.gir |
%{_datadir}/gir-1.0/Vte-%{api3}.gir |