]> git.pld-linux.org Git - packages/conflib.git/blob - conflib.spec
- added sttic subpackage
[packages/conflib.git] / conflib.spec
1 Summary:        configuration file library
2 Summary(de):    Library zum Lesen von Konfigurationsdateien
3 Name:           conflib
4 Version:        0.4.5
5 Release:        1
6 Copyright:      GPL
7 Group:          Libraries
8 Source:         ftp://ftp.ohse.de/uwe/releases/conflib-0.4.5.tar.gz
9 Buildroot:      /tmp/%{name}-%{version}-root
10 Prereq:         /sbin/install-info /sbin/ldconfig
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 Summary(de):    Dateien zum Entwickeln von Programmen mit der conflib-Library
18 Group:          evelopment/Libraries
19 Requires:       %{name} = %{version}
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 %package static
28 Summary:        file for developing programs that use the conflib library
29 Summary(de):    Dateien zum Entwickeln von Programmen mit der conflib-Library
30 Group:          Development/Libraries
31 Requires:       %{name}-devel = %{version}
32
33 %description static
34 This library makes it relativly easy to read configuration files (one or
35 more), or parts of them. It supports a lot of different data types and
36 some types of text interpretations, including \-escapes, ~user, $HOME
37 and conditional expansions.
38
39 %prep
40 %setup -q
41
42 %build
43 %GNUconfigure
44 make
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 make install DESTDIR=$RPM_BUILD_ROOT
49
50 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*info* \
51         README NEWS ChangeLog
52
53 #       $RPM_BUILD_ROOT%{_mandir}/man*/* \
54
55 %post
56 /sbin/ldconfig
57 /sbin/install-info %{_infodir}/conflib.info.gz %{_infodir}/dir --entry="* Conflib: (conflib.info).         Configuration File Handling."
58
59 %postun -p /sbin/ldconfig
60
61 %preun
62 if [ $1 = 0 ]; then
63    /sbin/install-info --delete %{_infodir}/history.info.gz %{_infodir}/dir --entry="* Conflib: (conflib.info).         Configuration File Handling."
64 readline."
65 fi
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 #%{_mandir}/*/*
73 %{_infodir}/*info*
74 %attr(755,root,root) %{_libdir}/lib*.so.*
75
76 %files devel
77 %defattr(644,root,root,755)
78 %doc README.gz NEWS.gz ChangeLog.gz
79 %{_includedir}/*.h
80 %{_libdir}/lib*.so
81
82 %files static
83 %defattr(644,root,root,755)
84 %{_libdir}/lib*.a
This page took 0.032595 seconds and 4 git commands to generate.