]> git.pld-linux.org Git - packages/conflib.git/blob - conflib.spec
- added using CVS keywords in %changelog (for automating them).
[packages/conflib.git] / conflib.spec
1 Summary: configuration file library
2 Name: conflib
3 Version: 0.4.5
4 Release: 0
5 Copyright: GPL
6 Group: Libraries
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
11
12 %description 
13 A C language library for reading configuration files.
14
15 %package devel
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
20
21 %description devel
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.
26
27 %prep
28 %setup 
29
30 %build
31 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
32 make
33
34 %install
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 )
41
42 gzip -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
51 if [ $1 = 0 ]; then
52    /sbin/install-info --delete /usr/info/history.info.gz /usr/info/dir --entry="* Conflib: (conflib.info).         Configuration File Handling."
53 readline."
54 fi
55
56 %clean
57 rm -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.056179 seconds and 3 git commands to generate.