1 Summary: configuration file library
2 Summary(de): Library zum Lesen von Konfigurationsdateien
8 Source: ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz
9 Patch: conflib-info.patch
10 Buildroot: /tmp/%{name}-%{version}-root
13 A C language library for reading configuration files.
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: Development/Libraries
19 Requires: %{name} = %{version}
20 Prereq: /usr/sbin/fix-info-dir
23 This library makes it relativly easy to read configuration files (one or
24 more), or parts of them. It supports a lot of different data types and
25 some types of text interpretations, including \-escapes, ~user, $HOME
26 and conditional expansions.
29 Summary: file for developing programs that use the conflib library
30 Summary(de): Dateien zum Entwickeln von Programmen mit der conflib-Library
31 Group: Development/Libraries
32 Requires: %{name}-devel = %{version}
35 This library makes it relativly easy to read configuration files (one or
36 more), or parts of them. It supports a lot of different data types and
37 some types of text interpretations, including \-escapes, ~user, $HOME
38 and conditional expansions.
45 LDFLAGS="-s"; export LDFLAGS
50 rm -rf $RPM_BUILD_ROOT
51 make install DESTDIR=$RPM_BUILD_ROOT
53 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
55 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*info* \
58 %post -p /sbin/ldconfig
59 %postun -p /sbin/ldconfig
62 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
65 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_libdir}/lib*.so.*.*
75 %defattr(644,root,root,755)
76 %doc README.gz NEWS.gz ChangeLog.gz
78 %attr(755,root,root) %{_libdir}/lib*.so
79 %attr(755,root,root) %{_libdir}/lib*.la
83 %defattr(644,root,root,755)