]> git.pld-linux.org Git - packages/conflib.git/blame - conflib.spec
- added using CVS keywords in %changelog (for automating them).
[packages/conflib.git] / conflib.spec
CommitLineData
26319edc 1Summary: configuration file library
2Name: conflib
3Version: 0.4.5
4Release: 0
5Copyright: GPL
6Group: Libraries
7Source: ftp://ftp.ohse.de/uwe/releases/conflib-0.4.5.tar.gz
8Buildroot: /tmp/conflib-buildroot
9Prereq: /sbin/install-info /sbin/ldconfig
10Summary(de): Library zum Lesen von Konfigurationsdateien
11
12%description
13A C language library for reading configuration files.
14
15%package devel
16Summary: file for developing programs that use the conflib library
17Group: Development/Libraries
18Requires: conflib = %{PACKAGE_VERSION}
19Summary(de): Dateien zum Entwickeln von Programmen mit der conflib-Library
20
21%description devel
22This library makes it relativly easy to read configuration files (one or
23more), or parts of them. It supports a lot of different data types and
24some types of text interpretations, including \-escapes, ~user, $HOME
25and conditional expansions.
26
27%prep
28%setup
29
30%build
31CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
32make
33
34%install
35rm -rf $RPM_BUILD_ROOT
36make 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 )
41
42gzip -nf9 $RPM_BUILD_ROOT/usr/info/*info*
43
44%post
45/sbin/ldconfig
46/sbin/install-info /usr/info/conflib.info.gz /usr/info/dir --entry="* Conflib: (conflib.info). Configuration File Handling."
47
48%postun -p /sbin/ldconfig
49
50%preun
51if [ $1 = 0 ]; then
52 /sbin/install-info --delete /usr/info/history.info.gz /usr/info/dir --entry="* Conflib: (conflib.info). Configuration File Handling."
53readline."
54fi
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60#/usr/man/*/*
61/usr/info/*info*
62/usr/lib/lib*.so.*
63
64%files devel
65%doc README NEWS ChangeLog
66/usr/include/*.h
67/usr/lib/lib*.a
68/usr/lib/lib*.so
This page took 0.052398 seconds and 4 git commands to generate.