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