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