Summary: An terminal emulator.
Summary(ja): ターミナルエミュレータ
Name: vte3
Version: 0.30.1
Release: 1%{?_dist_release}
License: LGPL
Group: System Environment/Libraries
Source: http://ftp.gnome.org/pub/GNOME/sources/vte/0.30/vte-%{version}.tar.xz

BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: gtk3-devel
BuildRequires: gobject-introspection-devel
BuildRequires: ncurses-devel

Vendor: Project Vine
Distribution: Vine Linux
Packager: Takemikaduchi

%description
VTE is an experimental terminal emulator widget for use with GTK+ 3.0.

%description -l ja
VTE は GTK+3.0 用のターミナルエミュレータウィジェットです。

%package devel
Summary: Files needed for developing applications which use vte.
Summary(ja): VTE を使用したアプリケーションの開発に必要なファイル群
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gtk3-devel

%description devel
VTE is an experimental terminal emulator widget for use with GTK+ 3.0.  This
package contains the files needed for building applications using VTE.

%prep
%setup -q -n vte-%{version}

%build
%configure \
	--with-gtk=3.0 \
	--libexecdir=%{_libexecdir}/%{name} \
	--disable-static \
	--enable-introspection \
	--without-glX
make %{?_smp_mflags}

%install
rm -fr $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%find_lang vte-2.90

rm -f $RPM_BUILD_ROOT/%{_bindir}/%{name}
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{a,la}

%clean
rm -fr $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f vte-2.90.lang
%defattr(-,root,root)
%doc ChangeLog COPYING HACKING NEWS README
%doc doc/utmpwtmp.txt doc/boxes.txt src/iso2022.txt doc/openi18n/UTF-8.txt doc/openi18n/wrap.txt
%{_bindir}/vte2_90
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/*.typelib
%{_datadir}/vte/termcap-2.90/xterm
%attr(2711,root,utmp) %{_libexecdir}/%{name}/gnome-pty-helper

%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/vte-2.90

%changelog
* Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.30.1-1
- new upstream release

* Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.30.0-1
- new upstream release
- add BuildRequires: gobject-introspection-devel

* Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.28.2-1
- new upstream release

* Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.28.1-1
- initial build for Vine Linux
