Name: libcroco
Summary: A CSS2 parsing library
Version: 0.4.0
Release: 2.1
License: LGPL
Group: System Environment/Libraries
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: pkgconfig >= 0.8
Requires: glib2 >= 2.0
Requires: libxml2 >= 2.4.23
BuildRequires: glib2-devel >= 2.3
BuildRequires: pango-devel >= 1.3
BuildRequires: libxml2-devel >= 2.4.23
%description
CSS2 parsing and manipulation library for GNOME
%package devel
Summary: Libraries and include files for developing with libcroco.
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: pkgconfig >= 0.8
Requires: glib2 >= 2.0
Requires: glib2-devel >= 2.0
Requires: libxml2 >= 2.4.23
Requires: libxml2-devel >= 2.4.23
%description devel
This package provides the necessary development libraries and include
files to allow you to develop with libcroco.
%prep
%setup -q -n libcroco-%{version}
%build
%configure --enable-seleng=yes --enable-layeng=yes
make
%install
rm -rf $RPM_BUILD_ROOT
# create file that the new redhat debuginfo stuff demands
touch $RPM_BUILD_DIR/libcroco-%{version}/debugfiles.list
%makeinstall
# Clean out files that should not be part of the rpm.
# This is the recommended way of dealing with it for RH8
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README TODO
%{_bindir}/croco-config
%{_bindir}/csslint
%{_libdir}/*.so.*
%{_mandir}/*/*
%files devel
%defattr(-, root, root)
%{_libdir}/*.so
%{_includedir}/libcroco
%{_libdir}/pkgconfig/libcroco.pc
%changelog
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue Jan 27 2004 Jonathan Blandford <jrb@redhat.com> 0.4.0-1
- new version
* Wed Aug 13 2003 Jonathan Blandford <jrb@redhat.com> 0.3.0-1
- initial import into the tree. Based on the spec file in the package