head 1.35;
access;
symbols
OPENPKG_E1_MP_HEAD:1.33
OPENPKG_E1_MP:1.33
OPENPKG_E1_MP_2_STABLE:1.27.2.2
OPENPKG_E1_FP:1.27.2.2
OPENPKG_2_STABLE_MP:1.32
OPENPKG_2_STABLE_20061018:1.27.2.2
OPENPKG_2_STABLE_20060622:1.27.2.1
OPENPKG_2_STABLE:1.27.0.2
OPENPKG_2_STABLE_BP:1.27
OPENPKG_2_5_RELEASE:1.26.2.1
OPENPKG_2_5_SOLID:1.26.0.2
OPENPKG_2_5_SOLID_BP:1.26
OPENPKG_2_4_RELEASE:1.25.2.1
OPENPKG_2_4_SOLID:1.25.0.2
OPENPKG_2_4_SOLID_BP:1.25
OPENPKG_CW_FP:1.23
OPENPKG_2_3_RELEASE:1.23.2.1
OPENPKG_2_3_SOLID:1.23.0.2
OPENPKG_2_3_SOLID_BP:1.23
OPENPKG_1_STABLE_MP:1.8;
locks; strict;
comment @-- @;
1.35
date 2009.04.18.13.09.15; author rse; state Exp;
branches;
next 1.34;
commitid 4pHXU27WTIGCZuKt;
1.34
date 2008.01.01.14.51.52; author rse; state Exp;
branches;
next 1.33;
commitid B8esaHJHoduuKILs;
1.33
date 2007.01.01.17.37.02; author rse; state Exp;
branches;
next 1.32;
commitid BicZD6VUl7GuqP0s;
1.32
date 2006.10.13.17.27.15; author thl; state Exp;
branches;
next 1.31;
commitid q5GSxzsSDX29XxQr;
1.31
date 2006.10.09.07.41.15; author rse; state Exp;
branches;
next 1.30;
commitid E2T1qPE0PXNARYPr;
1.30
date 2006.09.24.13.01.16; author rse; state Exp;
branches;
next 1.29;
commitid tEyjcUpjARzb75Or;
1.29
date 2006.09.23.09.40.05; author rse; state Exp;
branches;
next 1.28;
commitid IIztt26J31sf2WNr;
1.28
date 2006.08.10.19.40.04; author rse; state Exp;
branches;
next 1.27;
commitid 9FYtK10LaKfLLkIr;
1.27
date 2006.01.01.13.12.37; author rse; state Exp;
branches
1.27.2.1;
next 1.26;
commitid otZG8yKMCw1JFTfr;
1.26
date 2005.10.03.07.56.31; author rse; state Exp;
branches
1.26.2.1;
next 1.25;
1.25
date 2005.06.15.14.01.06; author thl; state Exp;
branches
1.25.2.1;
next 1.24;
1.24
date 2005.03.24.11.18.33; author rse; state Exp;
branches;
next 1.23;
1.23
date 2005.02.18.16.42.32; author rse; state Exp;
branches
1.23.2.1;
next 1.22;
1.22
date 2005.02.18.10.36.54; author rse; state Exp;
branches;
next 1.21;
1.21
date 2005.01.26.13.22.21; author cs; state Exp;
branches;
next 1.20;
1.20
date 2005.01.24.14.38.51; author rse; state Exp;
branches;
next 1.19;
1.19
date 2005.01.01.10.48.17; author rse; state Exp;
branches;
next 1.18;
1.18
date 2004.12.19.19.40.20; author rse; state Exp;
branches;
next 1.17;
1.17
date 2004.12.04.12.59.42; author rse; state Exp;
branches;
next 1.16;
1.16
date 2004.11.27.20.01.49; author rse; state Exp;
branches;
next 1.15;
1.15
date 2004.10.31.19.39.28; author rse; state Exp;
branches;
next 1.14;
1.14
date 2004.04.23.10.29.17; author thl; state Exp;
branches;
next 1.13;
1.13
date 2004.02.07.17.54.04; author rse; state Exp;
branches;
next 1.12;
1.12
date 2004.02.03.19.59.58; author rse; state Exp;
branches;
next 1.11;
1.11
date 2004.01.23.13.07.58; author rse; state Exp;
branches;
next 1.10;
1.10
date 2003.11.10.19.26.33; author rse; state Exp;
branches;
next 1.9;
1.9
date 2003.11.10.15.56.53; author thl; state Exp;
branches;
next 1.8;
1.8
date 2003.07.08.14.38.57; author rse; state Exp;
branches;
next 1.7;
1.7
date 2003.01.31.12.25.41; author rse; state Exp;
branches;
next 1.6;
1.6
date 2003.01.11.15.27.40; author rse; state Exp;
branches;
next 1.5;
1.5
date 2003.01.03.10.51.25; author rse; state Exp;
branches;
next 1.4;
1.4
date 2002.12.30.22.03.19; author rse; state Exp;
branches;
next 1.3;
1.3
date 2002.12.30.21.03.42; author rse; state Exp;
branches;
next 1.2;
1.2
date 2002.08.13.12.47.39; author rse; state Exp;
branches;
next 1.1;
1.1
date 2002.07.30.19.47.17; author rse; state Exp;
branches;
next ;
1.27.2.1
date 2006.06.20.15.15.31; author rse; state Exp;
branches;
next 1.27.2.2;
commitid P9b9BoNafLYTTKBr;
1.27.2.2
date 2006.10.16.14.48.55; author rse; state Exp;
branches;
next ;
commitid iZxwRSmmWscPXUQr;
1.26.2.1
date 2005.10.11.12.49.34; author rse; state Exp;
branches;
next ;
1.25.2.1
date 2005.06.15.18.58.53; author rse; state Exp;
branches;
next ;
1.23.2.1
date 2005.02.21.17.06.26; author rse; state Exp;
branches;
next 1.23.2.2;
1.23.2.2
date 2005.06.23.13.58.26; author thl; state Exp;
branches;
next ;
desc
@@
1.35
log
@bump years in copyright messages
@
text
@##
## cfg.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## 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 information
Name: cfg
Summary: Configuration Parsing Library
URL: http://www.ossp.org/pkg/lib/cfg/
Vendor: The OSSP Project
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: PLUS
Group: Libraries
License: MIT-style
Version: 0.9.11
Release: 20080101
# package options
%option with_perl no
# list of sources
Source0: ftp://ftp.ossp.org/pkg/lib/cfg/cfg-%{version}.tar.gz
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20050615, gcc
PreReq: OpenPKG, openpkg >= 20050615
%if "%{with_perl}" == "yes"
BuildPreReq: perl, perl-openpkg
PreReq: perl
%endif
AutoReq: no
AutoReqProv: no
%description
OSSP cfg is a ISO-C library for parsing arbitrary C/C++-style
configuration files. A configuration is sequence of directives. Each
directive consists of zero or more tokens. Each token can be either
a string or again a complete sequence. This means the configuration
syntax has a recursive structure and this way allows to create
configurations with arbitrarily nested sections.
Additionally the configuration syntax provides complex
single/double/balanced quoting of tokens, hexadecimal/octal/decimal
character encodings, character escaping, C/C++ and Shell-style
comments, etc. The library API allows importing a configuration text
into an Abstract Syntax Tree (AST), traversing the AST and optionally
exporting the AST again as a configuration text.
%track
prog cfg = {
version = %{version}
url = ftp://ftp.ossp.org/pkg/lib/cfg/
regex = cfg-(__VER__)\.tar\.gz
}
%prep
%setup -q
%build
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
GREP="grep" \
./configure \
--prefix=%{l_prefix} \
--datarootdir=%{l_prefix} \
--disable-shared
%{l_make} %{l_mflags}
%if "%{with_perl}" == "yes"
%{l_prefix}/bin/perl-openpkg prepare
%{l_prefix}/bin/perl-openpkg -d perl configure build
%endif
%install
rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
%if "%{with_perl}" == "yes"
%{l_prefix}/bin/perl-openpkg -d perl install
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
%else
>perl-openpkg-files
%endif
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} `cat perl-openpkg-files`
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.34
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.33
log
@Welcome Year 2007!
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20061013
@
1.32
log
@new world order for "Packager" and "Distribution" headers
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.31
log
@apply the usual Solaris bandage
@
text
@d30 2
a31 2
Packager: OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release: 20061009
@
1.30
log
@adjust Group header
@
text
@d36 1
a36 1
Release: 20060924
d84 1
@
1.29
log
@adjust group
@
text
@d33 1
a33 1
Group: Text
d36 1
a36 1
Release: 20060923
@
1.28
log
@upgrading package: cfg 0.9.10 -> 0.9.11
@
text
@d33 1
a33 1
Group: System
d36 1
a36 1
Release: 20060810
@
1.27
log
@adjust copyrights for new year 2006
@
text
@d35 2
a36 2
Version: 0.9.10
Release: 20051003
d86 1
@
1.27.2.1
log
@bump release numbers for OpenPKG 2.20060622 in advance
@
text
@d36 1
a36 1
Release: 2.20060622
d47 2
a48 2
BuildPreReq: OpenPKG, openpkg >= 2.20060622, gcc
PreReq: OpenPKG, openpkg >= 2.20060622
@
1.27.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@d30 2
a31 2
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
d33 1
a33 1
Group: Libraries
d35 2
a36 2
Version: 0.9.11
Release: 2.20061018
d47 2
a48 2
BuildPreReq: OpenPKG, openpkg >= 2.20061018, gcc
PreReq: OpenPKG, openpkg >= 2.20061018
a83 1
GREP="grep" \
a85 1
--datarootdir=%{l_prefix} \
@
1.26
log
@upgrading package: cfg 0.9.9 -> 0.9.10
@
text
@d3 2
a4 2
## Copyright (c) 2000-2005 OpenPKG Foundation e.V.
## Copyright (c) 2000-2005 Ralf S. Engelschall
@
1.26.2.1
log
@bump release numbers for OpenPKG 2.5
@
text
@d36 1
a36 1
Release: 2.5.0
d47 2
a48 2
BuildPreReq: OpenPKG, openpkg >= 2.5.0, gcc
PreReq: OpenPKG, openpkg >= 2.5.0
@
1.25
log
@SA-2005.011-shtool; CAN-2005-1751, CAN-2005-1759
@
text
@d35 2
a36 2
Version: 0.9.9
Release: 20050615
a79 1
cp %{l_shtool} .
@
1.25.2.1
log
@bump release numbers for OpenPKG 2.4
@
text
@d36 1
a36 1
Release: 2.4.0
d47 2
a48 2
BuildPreReq: OpenPKG, openpkg >= 2.4.0, gcc
PreReq: OpenPKG, openpkg >= 2.4.0
@
1.24
log
@Adjust the copyright declaration in this (RSE's) copy of the OpenPKG
source code now that the fork point for C&W was established (CVS tag
OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is
no longer active (as C&W no longer officially sponsors OpenPKG) and the
new shared copyright from RSE can be taken over by the newly established
juristic entity OpenPKG Foundation e.V. (instead of the non-juristic
entity OpenPKG Project).
@
text
@d36 1
a36 1
Release: 20050218
d47 2
a48 2
BuildPreReq: OpenPKG, openpkg >= 20040130, gcc
PreReq: OpenPKG, openpkg >= 20040130
d80 1
@
1.23
log
@bless for PLUS
@
text
@d2 3
a4 4
## cfg.spec -- OpenPKG RPM Specification
## Copyright (c) 2000-2005 The OpenPKG Project
## Copyright (c) 2000-2005 Ralf S. Engelschall
## Copyright (c) 2000-2005 Cable & Wireless
d30 1
a30 1
Packager: The OpenPKG Project
@
1.23.2.1
log
@bump release numbers for OpenPKG 2.3
@
text
@d37 1
a37 1
Release: 2.3.0
d48 2
a49 2
BuildPreReq: OpenPKG, openpkg >= 2.3.0, gcc
PreReq: OpenPKG, openpkg >= 2.3.0
@
1.23.2.2
log
@MFC: SA-2005.011-shtool; CAN-2005-1751, CAN-2005-1759
@
text
@d37 1
a37 1
Release: 2.3.1
d48 2
a49 2
BuildPreReq: OpenPKG, openpkg >= 2.3.3, gcc
PreReq: OpenPKG, openpkg >= 2.3.3
a80 1
cp %{l_shtool} .
@
1.22
log
@upgrading package: cfg 0.9.8 -> 0.9.9
@
text
@d33 1
a33 1
Class: EVAL
@
1.21
log
@requires perl-openpkg
@
text
@d36 2
a37 2
Version: 0.9.8
Release: 20050126
@
1.20
log
@upgrading package: cfg 0.9.7 -> 0.9.8
@
text
@d37 1
a37 1
Release: 20050124
d51 1
a51 1
BuildPreReq: perl
@
1.19
log
@Happy New Year 2005
@
text
@d36 2
a37 2
Version: 0.9.7
Release: 20041219
@
1.18
log
@upgrading package: cfg 0.9.6 -> 0.9.7
@
text
@d3 3
a5 3
## Copyright (c) 2000-2004 The OpenPKG Project
## Copyright (c) 2000-2004 Ralf S. Engelschall
## Copyright (c) 2000-2004 Cable & Wireless
@
1.17
log
@upgrading package: cfg 0.9.5 -> 0.9.6
@
text
@d36 2
a37 2
Version: 0.9.6
Release: 20041204
@
1.16
log
@upgrading package: cfg 0.9.4 -> 0.9.5
@
text
@d36 2
a37 2
Version: 0.9.5
Release: 20041127
@
1.15
log
@upgrading package: cfg 0.9.3 -> 0.9.4
@
text
@d36 5
a40 2
Version: 0.9.4
Release: 20041031
d50 4
d89 4
d97 8
a104 1
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
@
1.14
log
@upgrading package: cfg 0.9.2 -> 0.9.3
@
text
@d36 2
a37 2
Version: 0.9.3
Release: 20040423
@
1.13
log
@Mass Commit:
reduce redundancy within .spec files by referencing
macros defining vendor source versions whenever possible.
This was half-way automated and half-way manually edited.
As a result the PMOD activity in 95% of all cases
just means editing the version in one single place, only.
@
text
@d36 2
a37 2
Version: 0.9.2
Release: 20040207
@
1.12
log
@Mass-Commit:
- split "Distribution" header into "Distribution" (old) and "Class"
(new) headers by moving the attached class information.
- embed the vendor version tracking configuration through the
new "%track" section.
- bump up the OpenPKG bootstrap dependency, because the "Class" header
and "%track" section are only supported by our latest bootstrap version.
@
text
@d37 1
a37 1
Release: 20040203
d67 1
a67 1
version = 0.9.2
@
1.11
log
@bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally
@
text
@d32 2
a33 1
Distribution: OpenPKG [EVAL]
d37 1
a37 1
Release: 20031110
d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 20020206, gcc
PreReq: OpenPKG, openpkg >= 20020206
d64 7
@
1.10
log
@upgrading package: cfg 0.9.1 -> 0.9.2
@
text
@d3 3
a5 3
## Copyright (c) 2000-2003 The OpenPKG Project
## Copyright (c) 2000-2003 Ralf S. Engelschall
## Copyright (c) 2000-2003 Cable & Wireless
@
1.9
log
@upgrading package: cfg 0.9.0 -> 0.9.1
@
text
@d35 1
a35 1
Version: 0.9.1
@
1.8
log
@cleanup copyright part by using just the main company name of Cable & Wireless and adding the URL to the global website
@
text
@d35 2
a36 2
Version: 0.9.0
Release: 20030111
@
1.7
log
@fix disclaimer text
@
text
@a2 1
## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
d5 1
@
1.6
log
@this release version requires gcc unfortunately
@
text
@d12 1
a12 1
## THIS SOFTWARE IS PROVIDED AS IS'' AND ANY EXPRESSED OR IMPLIED
@
1.5
log
@remove '%options' hack, it will be replaced soon with a more elegant solution based on RPM 'Provides' headers
@
text
@d36 1
a36 1
Release: 20020730
d44 1
a44 1
BuildPreReq: OpenPKG, openpkg >= 20020206
@
1.4
log
@bump of Copyright messages for forthcoming years 2003
@
text
@a63 2
%options
@
1.3
log
@switch to %option(s), but intentionally WITHOUT dep increase and WITHOUT FTP server updates
@
text
@d3 3
a5 3
## Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH
## Copyright (c) 2000-2002 The OpenPKG Project
## Copyright (c) 2000-2002 Ralf S. Engelschall
@
1.2
log
@Woohhooo: apply the new package classification system.
(CORE, BASE, PLUS, PRIV, EVAL, JUNK). A description of
them follows on the website soon.
@
text
@d64 2
@
1.1
log
@new package: cfg 0.9.0 (Configuration Parsing Library)
@
text
@d32 1
a32 1
Distribution: OpenPKG [EXP]
@