head	1.15;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.10
	OPENPKG_E1_MP:1.10
	OPENPKG_E1_MP_2_STABLE:1.6.2.2
	OPENPKG_E1_FP:1.6.2.2
	OPENPKG_2_STABLE_MP:1.9
	OPENPKG_2_STABLE_20061018:1.6.2.2
	OPENPKG_2_STABLE_20060622:1.6.2.1
	OPENPKG_2_STABLE:1.6.0.2
	OPENPKG_2_STABLE_BP:1.6;
locks; strict;
comment	@-- @;


1.15
date	2009.04.18.13.11.49;	author rse;	state Exp;
branches;
next	1.14;
commitid	4pHXU27WTIGCZuKt;

1.14
date	2009.02.06.22.25.34;	author rse;	state Exp;
branches;
next	1.13;
commitid	73Ju3clioqy0pqBt;

1.13
date	2008.08.02.10.16.03;	author rse;	state Exp;
branches;
next	1.12;
commitid	Ej5mr68uxjBopcdt;

1.12
date	2008.01.01.14.56.43;	author rse;	state Exp;
branches;
next	1.11;
commitid	B8esaHJHoduuKILs;

1.11
date	2007.07.20.20.17.04;	author thl;	state Exp;
branches;
next	1.10;
commitid	yCyWfcoNSNOaUxqs;

1.10
date	2007.01.01.17.39.05;	author rse;	state Exp;
branches;
next	1.9;
commitid	BicZD6VUl7GuqP0s;

1.9
date	2006.10.13.17.29.21;	author thl;	state Exp;
branches;
next	1.8;
commitid	q5GSxzsSDX29XxQr;

1.8
date	2006.10.11.08.17.47;	author rse;	state Exp;
branches;
next	1.7;
commitid	8l40GRxNaxC80fQr;

1.7
date	2006.10.09.08.19.54;	author rse;	state Exp;
branches;
next	1.6;
commitid	Zm3homkhnXxQ4ZPr;

1.6
date	2006.06.19.19.22.46;	author rse;	state Exp;
branches
	1.6.2.1;
next	1.5;
commitid	bLM3KSw3pOUqlEBr;

1.5
date	2006.05.16.07.44.29;	author rse;	state Exp;
branches;
next	1.4;
commitid	YTrLXyb3JGeFzdxr;

1.4
date	2006.03.06.06.50.48;	author rse;	state Exp;
branches;
next	1.3;
commitid	s1fOzvPuHSrKy5or;

1.3
date	2006.01.01.13.15.36;	author rse;	state Exp;
branches;
next	1.2;
commitid	otZG8yKMCw1JFTfr;

1.2
date	2005.10.22.11.36.50;	author rse;	state Exp;
branches;
next	1.1;

1.1
date	2005.10.22.11.28.04;	author rse;	state Exp;
branches;
next	;

1.6.2.1
date	2006.06.20.15.20.17;	author rse;	state Exp;
branches;
next	1.6.2.2;
commitid	P9b9BoNafLYTTKBr;

1.6.2.2
date	2006.10.16.14.51.49;	author rse;	state Exp;
branches;
next	;
commitid	iZxwRSmmWscPXUQr;


desc
@@


1.15
log
@bump years in copyright messages
@
text
@##
##  libcroco.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package version
%define       V_major   0.6
%define       V_minor   2

#   package information
Name:         libcroco
Summary:      CSS Parsing Toolkit
URL:          http://www.freespiders.org/projects/libcroco/
Vendor:       Dodji Seketeli et al.
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        PLUS
Group:        Web
License:      LGPL
Version:      %{V_major}.%{V_minor}
Release:      20090206

#   list of sources
Source0:      http://ftp.gnome.org/pub/GNOME/sources/libcroco/%{V_major}/libcroco-%{version}.tar.bz2
Patch0:       libcroco.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20040130, pkgconfig, make
PreReq:       OpenPKG, openpkg >= 20040130
BuildPreReq:  libxml, glib2
PreReq:       libxml, glib2
AutoReq:      no
AutoReqProv:  no

%description
    Libcroco is an effort to build a generic Cascading Style Sheet (CSS)
    parsing and manipulation toolkit that can be used by applications in
    need of CSS support.

%track
    prog libcroco = {
        version   = %{version}
        url       = http://ftp.gnome.org/pub/GNOME/sources/libcroco/
        regex     = (\d+\.\d+)/
        url       = http://ftp.gnome.org/pub/GNOME/sources/libcroco/__NEWVER__/
        regex     = libcroco-(__VER__)\.tar\.bz2
    }

%prep
    %setup -q
    %patch -p0

%build
    CC="%{l_cc}" \
    CFLAGS="%{l_cflags -O}" \
    CPPFLAGS="%{l_cppflags}" \
    LDFLAGS="%{l_ldflags}" \
    ./configure \
        --cache-file=./config.cache \
        --prefix=%{l_prefix} \
        --disable-shared
    %{l_make} %{l_mflags -O}

%install
    rm -rf $RPM_BUILD_ROOT
    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    mv $RPM_BUILD_ROOT%{l_prefix}/bin/csslint-* $RPM_BUILD_ROOT%{l_prefix}/bin/csslint
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.14
log
@upgrading package: libcroco 0.6.1 -> 0.6.2
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.13
log
@remove version from csslint tool
@
text
@d26 1
a26 1
%define       V_minor   1
d39 1
a39 1
Release:      20080802
@


1.12
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d39 1
a39 1
Release:      20080101
d88 1
@


1.11
log
@remove "%not %dir" construct, allowing proper directory ownership tracking and removal when erasing last provider
@
text
@d3 1
a3 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d39 1
a39 1
Release:      20070720
@


1.10
log
@Welcome Year 2007!
@
text
@d40 1
a40 1
Release:      20061013
d90 1
a90 2
        %{l_files_std} \
        '%not %dir %{l_prefix}/lib/pkgconfig'
@


1.9
log
@new world order for "Packager" and "Distribution" headers
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
@


1.8
log
@use a Group which fits better
@
text
@d34 2
a35 2
Packager:     OpenPKG
Distribution: OpenPKG
d40 1
a40 1
Release:      20061011
@


1.7
log
@requires GNU make
@
text
@d37 1
a37 1
Group:        Graphics
d40 1
a40 1
Release:      20061009
@


1.6
log
@upgrade class from EVAL to PLUS to fulfill dependency of PLUS package 'librsvg'
@
text
@d40 1
a40 1
Release:      20060619
d49 1
a49 1
BuildPreReq:  OpenPKG, openpkg >= 20040130, pkgconfig
@


1.6.2.1
log
@bump release numbers for OpenPKG 2.20060622 in advance
@
text
@d40 1
a40 1
Release:      2.20060622
d49 2
a50 2
BuildPreReq:  OpenPKG, openpkg >= 2.20060622, pkgconfig
PreReq:       OpenPKG, openpkg >= 2.20060622
@


1.6.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@d34 2
a35 2
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
d37 1
a37 1
Group:        Web
d40 1
a40 1
Release:      2.20061018
d49 2
a50 2
BuildPreReq:  OpenPKG, openpkg >= 2.20061018, pkgconfig, make
PreReq:       OpenPKG, openpkg >= 2.20061018
@


1.5
log
@requires pkgconfig
@
text
@d36 1
a36 1
Class:        EVAL
d40 1
a40 1
Release:      20060516
@


1.4
log
@upgrading package: libcroco 0.6.0 -> 0.6.1
@
text
@d40 1
a40 1
Release:      20060306
d49 1
a49 1
BuildPreReq:  OpenPKG, openpkg >= 20040130
@


1.3
log
@adjust copyrights for new year 2006
@
text
@d27 1
a27 1
%define       V_minor   0
d40 1
a40 1
Release:      20051022
@


1.2
log
@ops, fix Version header
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2005 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <http://engelschall.com/>
@


1.1
log
@new package: libcroco 0.6.0 (CSS Parsing Toolkit)
@
text
@d39 1
a39 1
Version:      0.6.0
@

