1 Summary: configuration file library
7 Source: ftp://ftp.ohse.de/uwe/releases/conflib-0.4.5.tar.gz
8 Buildroot: /tmp/conflib-buildroot
9 Prereq: /sbin/install-info /sbin/ldconfig
10 Summary(de): Library zum Lesen von Konfigurationsdateien
13 A C language library for reading configuration files.
16 Summary: file for developing programs that use the conflib library
17 Group: Development/Libraries
18 Requires: conflib = %{PACKAGE_VERSION}
19 Summary(de): Dateien zum Entwickeln von Programmen mit der conflib-Library
22 This library makes it relativly easy to read configuration files (one or
23 more), or parts of them. It supports a lot of different data types and
24 some types of text interpretations, including \-escapes, ~user, $HOME
25 and conditional expansions.
31 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
35 rm -rf $RPM_BUILD_ROOT
36 make install prefix=$RPM_BUILD_ROOT/usr
37 # Uh ... too ugly to describe? Do the people at redhat _really_
38 # update the specs files manually? Every time?
39 # ln -sf libconf.so.5.0.1 $RPM_BUILD_ROOT/usr/lib/libconf.so
40 (cd $RPM_BUILD_ROOT/usr/lib/ ; ln -fs `echo libconf.*.*.*` libconf.so )
42 gzip -nf9 $RPM_BUILD_ROOT/usr/info/*info*
46 /sbin/install-info /usr/info/conflib.info.gz /usr/info/dir --entry="* Conflib: (conflib.info). Configuration File Handling."
48 %postun -p /sbin/ldconfig
52 /sbin/install-info --delete /usr/info/history.info.gz /usr/info/dir --entry="* Conflib: (conflib.info). Configuration File Handling."
57 rm -rf $RPM_BUILD_ROOT
65 %doc README NEWS ChangeLog