Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > by-pkgid > 1f3f2ccb4978315be73d2a598d371a9e > files > 3

libcroco0.6-0.6.2-5.src.rpm

%define oname libcroco
%define majorminor 0.6
%define name %oname%majorminor
%define lib_major 3
%define lib_name %mklibname croco%{majorminor}_ %{lib_major}

Name:		%name
Summary:	CSS2 parser library
Version: 	0.6.2
Release: %mkrel 5
License: 	LGPLv2
Group:		System/Libraries
Source0: 	ftp://ftp.gnome.org/pub/GNOME/sources/%{oname}/%{oname}-%{version}.tar.bz2
Patch:		libcroco-0.6.2-format-strings.patch
URL: 		http://savannah.nongnu.org/projects/libcroco
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
BuildRequires:	libxml2-devel
BuildRequires:  pango-devel
BuildRequires:  libgnomeui2-devel

%description
libcroco is a standalone css2 parsing library.
It provides a low level event driven SAC like api
and a css object model like api.

%package -n %{lib_name}
Summary:	%{summary}
Group:		%{group}

%description -n %{lib_name}
libcroco is a standalone css2 parsing library.
It provides a low level event driven SAC like api
and a css object model like api.

%package -n %{lib_name}-devel
Summary:	Libraries and include files for developing with libcroco
Group:		Development/C
Requires:	%{lib_name} = %{version}-%{release}
Provides:   %{name}-devel = %{version}-%{release}
Provides:   libcroco%majorminor-devel = %{version}-%{release}
Requires:	libxml2-devel
Requires:	libglib2-devel

%description -n %{lib_name}-devel
This package provides the necessary development libraries and include
files to allow you to develop with libcroco?

%package utils
Summary: Example apps based on libcroco for working with CSS files
Group:	Text tools

%description utils
This contains the example apps that come with libcroco. At the moment this is
csslint, a Cascading Style Sheets checker.

%prep
%setup -q -n %oname-%version
%patch -p1

%build

%configure2_5x

%make

%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%makeinstall_std
%multiarch_binaries %buildroot%_bindir/croco-%majorminor-config

%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT


%if %mdkversion < 200900
%post -p /sbin/ldconfig -n %{lib_name}
%endif

%if %mdkversion < 200900
%postun -p /sbin/ldconfig -n %{lib_name}
%endif

%files utils
%defattr(-, root, root)
%doc README
%{_bindir}/csslint-%majorminor

%files -n %{lib_name}
%defattr(-, root, root)
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS
%{_libdir}/*.so.%{lib_major}*

%files -n %{lib_name}-devel
%defattr(-,root,root)
%{_bindir}/croco-%majorminor-config
%multiarch_bindir/croco-%majorminor-config
%attr(644,root,root) %{_libdir}/*.la
%{_libdir}/*.a
%{_libdir}/*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*




%changelog
* Fri Apr 29 2011 Oden Eriksson <oeriksson@mandriva.com> 0.6.2-5mdv2011.0
+ Revision: 660231
- mass rebuild

* Sun Nov 28 2010 Oden Eriksson <oeriksson@mandriva.com> 0.6.2-4mdv2011.0
+ Revision: 602532
- rebuild

* Tue Mar 16 2010 Oden Eriksson <oeriksson@mandriva.com> 0.6.2-3mdv2010.1
+ Revision: 520761
- rebuilt for 2010.1

* Wed Sep 02 2009 Christophe Fergeau <cfergeau@mandriva.com> 0.6.2-2mdv2010.0
+ Revision: 425526
- rebuild

* Wed Feb 04 2009 Götz Waschk <waschk@mandriva.org> 0.6.2-1mdv2009.1
+ Revision: 337387
- new version
- fix format strings
- new major
- update license

* Tue Jun 17 2008 Thierry Vignaud <tv@mandriva.org> 0.6.1-4mdv2009.0
+ Revision: 222527
- rebuild

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Sun Jan 13 2008 Thierry Vignaud <tv@mandriva.org> 0.6.1-3mdv2008.1
+ Revision: 150509
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot


* Sun Jan 14 2007 Götz Waschk <waschk@mandriva.org> 0.6.1-2mdv2007.0
+ Revision: 108684
- Import libcroco0.6

* Sun Jan 14 2007 Götz Waschk <waschk@mandriva.org> 0.6.1-2mdv2007.1
- Rebuild

* Mon Mar 06 2006 Götz Waschk <waschk@mandriva.org> 0.6.1-1mdk
- New release 0.6.1
- use mkrel

* Sun Jan 01 2006 Mandriva Linux Team <http://www.mandrivaexpert.com/> 0.6.0-3mdk
- Rebuild

* Tue Mar 15 2005 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-2mdk
- multiarch fixes

* Thu Jun 10 2004 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-1mdk
- move csslint to a utils package
- drop conflict with older libcrocos
- new major
- New release 0.6.0
- rename from libcroco to libcroco0.6

* Tue Apr 20 2004 Götz Waschk <waschk@linux-mandrake.com> 0.5.1-1mdk
- new version

* Thu Apr 08 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 0.5.0-2mdk
- Add Conflicts to easy upgrade

* Wed Apr 07 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 0.5.0-1mdk
- Release 0.5.0 (with Götz help)