File libcroco.spec of Package libcroco
#
# spec file for package libcroco (Version 0.6.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libcroco
BuildRequires: glib2-devel gtk-doc libxml2-devel
Version: 0.6.1
Release: 119
Url: http://www.freespiders.org/projects/libcroco/
Group: System/Libraries
License: GPL v2 or later; LGPL v2.1 or later
Summary: CSS2 Parser Library
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
AutoReqProv: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-0_6-3
%description
Libcroco is a stand-alone CSS2 parsing library. It provides a low-level
event-driven SAC-like API and a CSS object model-like API.
Authors:
--------
Gael Chamoulaud <strider@gnome.org>
Rob BUIS <rwlbuis@xs4all.nl>
%package 0_6-3
License: GPL v2 or later; LGPL v2.1 or later
Group: System/Libraries
Summary: CSS2 Parser Library
%description 0_6-3
Libcroco is a stand-alone CSS2 parsing library. It provides a low-level
event-driven SAC-like API and a CSS object model-like API.
Authors:
--------
Gael Chamoulaud <strider@gnome.org>
Rob BUIS <rwlbuis@xs4all.nl>
%package devel
License: GPL v2 or later; LGPL v2.1 or later
Group: Development/Libraries/C and C++
Summary: CSS2 Parser Library Development Files
Requires: %{name} = %{version} glib2-devel libxml2-devel zlib-devel
%description devel
Libcroco is a stand-alone CSS2 parsing library. It provides a low-level
event-driven SAC-like API and a CSS object model like API.
Authors:
--------
Gael Chamoulaud <strider@gnome.org>
Rob BUIS <rwlbuis@xs4all.nl>
%prep
%setup -q
%build
autoreconf -f -i
# needed for libcroco-0.6.1:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--disable-static
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post 0_6-3
/sbin/ldconfig
%postun 0_6-3
/sbin/ldconfig
%files
%defattr (-, root, root)
%doc AUTHORS COPYING COPYING.LIB ChangeLog HACKING NEWS README TODO
%{_bindir}/csslint-0.6
%files 0_6-3
%defattr (-, root, root)
%{_libdir}/*.so.*
%files devel
%defattr (-, root, root)
%{_bindir}/*-config
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc
%changelog
* Sun May 11 2008 coolo@suse.de
- fix rename of xxbit packages
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Sat Nov 17 2007 dmueller@suse.de
- break dependency loop by removing unneeded requires
* Mon Oct 08 2007 maw@suse.de
- Split out a 0_6-3 subpackage.
- s#%%run_ldconfig#/sbin/ldconfig# in %%post and %%postun.
* Tue Feb 13 2007 sbrabec@suse.cz
- Do not build unusable static libraries (#238552#c17).
* Sun Dec 17 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Sat Oct 14 2006 danw@suse.de
- Remove dead patches
* Fri Sep 22 2006 jhargadon@suse.de
- update to version 0.6.1
- parse fractional parts of numbers properly
- win32 port
- gtk-doc compliance
- test infrastructure enhancements
- nasty memory management bug fix
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jul 29 2005 sbrabec@suse.cz
- Fixed devel dependencies.
* Wed Apr 27 2005 meissner@suse.de
- fixed overflow.
* Thu Feb 17 2005 sbrabec@suse.cz
- Fixed library linking (#50796).
* Sat Feb 12 2005 gekker@suse.de
- Update to version 0.6.0
* Tue May 04 2004 sbrabec@suse.cz
- New SuSE package, version 0.5.1.