]> git.pld-linux.org Git - packages/conflib.git/blame - conflib.spec
- new {un}registering procedure for info pages with using
[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
cac10321 8Source: ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz
9Patch: conflib-info.patch
94eb7489 10Buildroot: /tmp/%{name}-%{version}-root
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}
f915f5e5 20Prereq: /usr/sbin/fix-info-dir
26319edc 21
22%description devel
23This library makes it relativly easy to read configuration files (one or
24more), or parts of them. It supports a lot of different data types and
25some types of text interpretations, including \-escapes, ~user, $HOME
26and conditional expansions.
27
419e4204
JR
28%package static
29Summary: file for developing programs that use the conflib library
30Summary(de): Dateien zum Entwickeln von Programmen mit der conflib-Library
31Group: Development/Libraries
32Requires: %{name}-devel = %{version}
33
34%description static
35This library makes it relativly easy to read configuration files (one or
36more), or parts of them. It supports a lot of different data types and
37some types of text interpretations, including \-escapes, ~user, $HOME
38and conditional expansions.
39
26319edc 40%prep
94eb7489 41%setup -q
cac10321 42%patch -p1
26319edc 43
44%build
cac10321 45LDFLAGS="-s"; export LDFLAGS
46%configure
26319edc 47make
48
49%install
50rm -rf $RPM_BUILD_ROOT
94eb7489 51make install DESTDIR=$RPM_BUILD_ROOT
26319edc 52
cac10321 53strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
54
94eb7489
JR
55gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*info* \
56 README NEWS ChangeLog
57
26c898cc 58%post -p /sbin/ldconfig
59%postun -p /sbin/ldconfig
60
61%post devel
f915f5e5 62/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
26319edc 63
26c898cc 64%preun devel
f915f5e5 65/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
26319edc 66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
94eb7489 71%defattr(644,root,root,755)
cac10321 72%attr(755,root,root) %{_libdir}/lib*.so.*.*
26319edc 73
74%files devel
94eb7489
JR
75%defattr(644,root,root,755)
76%doc README.gz NEWS.gz ChangeLog.gz
77%{_includedir}/*.h
cac10321 78%attr(755,root,root) %{_libdir}/lib*.so
79%attr(755,root,root) %{_libdir}/lib*.la
80%{_infodir}/*info*
419e4204
JR
81
82%files static
83%defattr(644,root,root,755)
84%{_libdir}/lib*.a
This page took 0.060987 seconds and 4 git commands to generate.