Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %define api2 2.90
- %define major2 9
- %define libname2 %mklibname vte 2_90 %{major2}
- %define girname2 %mklibname vte-gir %{api2}
- %define develname2 %mklibname %{name} -d
- %define url_ver %(echo %{version}|cut -d. -f1,2)
- Name: vte2
- Version: 0.36.2
- Release: %mkrel 1
- Summary: A terminal emulator widget
- License: LGPLv2+
- Group: System/Libraries
- URL: http://www.gnome.org/
- Source0: https://download.gnome.org/sources/vte/%{url_ver}/vte-%{version}.tar.xz
- # See https://bugzilla.gnome.org/show_bug.cgi?id=663779
- Patch0: vte-gtk32-meta-map.patch
- BuildRequires: pkgconfig(cairo-xlib)
- BuildRequires: pkgconfig(gio-2.0)
- BuildRequires: pkgconfig(gio-unix-2.0)
- BuildRequires: pkgconfig(glib-2.0) >= 2.26.0
- BuildRequires: pkgconfig(gobject-2.0)
- BuildRequires: pkgconfig(gtk+-3.0) >= 3.1.9
- BuildRequires: pkgconfig(pango) >= 1.22.0
- BuildRequires: pkgconfig(x11)
- BuildRequires: pkgconfig(ncurses)
- BuildRequires: automake
- BuildRequires: gtk-doc
- BuildRequires: gobject-introspection-devel
- BuildRequires: intltool
- %description
- VTE is a terminal emulator widget for use with GTK+ 3.0.
- %package -n %{libname2}
- Summary: A terminal emulator widget
- Group: System/Libraries
- Requires: %{name} >= %{version}
- %description -n %{libname2}
- VTE is a terminal emulator widget for use with GTK+ 3.0.
- %package -n %{develname2}
- Summary: Files needed for developing applications which use VTE
- Group: Development/C
- Requires: %{libname2} = %{version}-%{release}
- Provides: %{name}-devel = %{version}-%{release}
- %description -n %{develname2}
- VTE is a terminal emulator widget for use with GTK+ 3.0. This
- package contains the files needed for building applications using VTE.
- %package -n %{girname2}
- Summary: GObject Introspection interface description for vte with GTK+ 3.0
- Group: System/Libraries
- Requires: %{libname2} = %{version}-%{release}
- Conflicts: %{libname2} < 0.28.1-2
- %description -n %{girname2}
- GObject Introspection interface description for vte with GTK+ 3.0.
- %prep
- %setup -qn vte-%{version}
- %apply_patches
- %build
- %configure2_5x \
- --enable-shared \
- --disable-static \
- --libexecdir=%{_libexecdir}/%{name} \
- --enable-gtk-doc \
- --enable-introspection
- %make
- %install
- %makeinstall_std
- #we don't want these
- find %{buildroot} -name "*.la" -delete
- %find_lang vte-%{api2}
- %files -f vte-%{api2}.lang
- %doc COPYING HACKING NEWS README
- %{_sysconfdir}/profile.d/vte.sh
- %{_bindir}/vte2_90
- %dir %{_libexecdir}/%{name}
- %attr(2711,root,utmp) %{_libexecdir}/%{name}/gnome-pty-helper
- %files -n %{libname2}
- %{_libdir}/libvte2_90.so.%{major2}
- %{_libdir}/libvte2_90.so.%{major2}.*
- %files -n %{girname2}
- %{_libdir}/girepository-1.0/Vte-%{api2}.typelib
- %files -n %{develname2}
- %doc %{_datadir}/gtk-doc/html/vte-%{api2}
- %{_includedir}/vte-%{api2}
- %{_libdir}/libvte2_90.so
- %{_libdir}/pkgconfig/vte-%{api2}.pc
- %{_datadir}/gir-1.0/Vte-%{api2}.gir
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement