Name : vte
Version : 0.11.12
Release : 1
Group : User Interface/X
Summary : An experimental terminal emulator
License : LGPL
Packager : Eric Bowman
BuildRoot : /tmp/%{name}-%{version}
Obsoletes : libvte4
Obsoletes : libvte4-devel
Source : %{name}-%{version}.tar.bz2
#
#
# descriptions
%description
VTE is an experimental terminal emulator widget for use with GTK+ 2.0.
%package devel
Summary : Files needed for developing applications which use vte.
Group : Development/Libraries
Requires : %{name} = %{version}-%{release}, gtk2-devel
%description devel
VTE is an experimental terminal emulator widget for use with GTK+ 2.0. This
package contains the files needed for building applications using VTE.
#
#
# prep
%prep
%setup -q
#
#
# build
%build
%configure \
--enable-shared \
--enable-static \
--libexecdir=%{_libdir}/%{name} \
--disable-python \
--disable-gtk-doc
%make
#
#
# install
%install
rm -fr $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
#
#
# cleanup
%clean
rm -fr $RPM_BUILD_ROOT
#
#
# pre/post
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
#
#
# files
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/*.so.*
%{_libdir}/%{name}
%attr(2711,root,utmp) %{_libdir}/%{name}/gnome-pty-helper
%{_datadir}/%{name}
%files devel
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/%{name}
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
#
#
# changelog
%changelog
* Wed Mar 30 2005 Eric Bowman - 0.11.12-1bof
- rebuilt the spec file from ground up
- did away with the lib packages