]> git.pld-linux.org Git - packages/cfg.git/blame - cfg.spec
- pl, Epoch 0 (used in deps)
[packages/cfg.git] / cfg.spec
CommitLineData
f9c56c65 1# TODO: resolve conflict with libcfg+-devel - header files
2# has the same name.
3# NOTE: API is NOT documented
4Summary: OSSP cfg - Configuration Parsing
8d4ab9e0 5Summary(pl): OSSP cfg - parsowanie konfiguracji
f9c56c65 6Name: cfg
7Version: 0.9.4
8Release: 0.1
8d4ab9e0 9Epoch: 0
f9c56c65 10License: distributable (see README)
11Group: Libraries
12Source0: ftp://ftp.ossp.org/pkg/lib/cfg/%{name}-%{version}.tar.gz
13# Source0-md5: a41ac64a92a55030f44e307cc5461657
14URL: http://www.ossp.org/pkg/lib/cfg/
15BuildRequires: autoconf
2e487087 16BuildRequires: automake
f9c56c65 17BuildRequires: bison
18BuildRequires: flex
19BuildRequires: libtool
20Requires(post,postun): /sbin/ldconfig
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24OSSP cfg is a ISO-C library for parsing arbitrary C/C++-style
25configuration files. A configuration is sequence of directives. Each
26directive consists of zero or more tokens. Each token can be either a
27string or again a complete sequence. This means the configuration
28syntax has a recursive structure and this way allows to create
29configurations with arbitrarily nested sections.
30
31Additionally the configuration syntax provides complex
32single/double/balanced quoting of tokens, hexadecimal/octal/decimal
33character encodings, character escaping, C/C++ and Shell-style
34comments, etc. The library API allows importing a configuration text
35into an Abstract Syntax Tree (AST), traversing the AST and optionally
36exporting the AST again as a configuration text.
37
8d4ab9e0
JB
38%description -l pl
39