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