]> git.pld-linux.org Git - packages/conflib.git/blob - conflib.spec
- changed all BuildRoot definitons
[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:        2
6 Copyright:      GPL
7 Group:          Libraries
8 Source:         ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz
9 Patch:          conflib-info.patch
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description 
13 A C language library for reading configuration files.
14
15 %description -l pl
16 Biblioteka C s³u¿±ca do odczytywania plików konfiguracyjnych.
17
18 %package devel
19 Summary:        file for developing programs that use the conflib library
20 Summary(de):    Dateien zum Entwickeln von Programmen mit der conflib-Library
21 Group:          Development/Libraries
22 Requires:       %{name} = %{version}
23 Prereq:         /usr/sbin/fix-info-dir
24
25 %description devel
26 This library makes it relativly easy to read configuration files (one or
27 more), or parts of them. It supports a lot of different data types and
28 some types of text interpretations, including \-escapes, ~user, $HOME
29 and conditional expansions.
30
31 %package static
32 Summary:        file for developing programs that use the conflib library
33 Summary(de):    Dateien zum Entwickeln von Programmen mit der conflib-Library
34 Group:          Development/Libraries
35 Requires:       %{name}-devel = %{version}
36
37 %description static
38 This library makes it relativly easy to read configuration files (one or
39 more), or parts of them. It supports a lot of different data types and
40 some types of text interpretations, including \-escapes, ~user, $HOME
41 and conditional expansions.
42
43 %prep
44 %setup -q
45 %patch -p1
46
47 %build
48 LDFLAGS="-s"; export LDFLAGS
49 %configure
50 make
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 make install DESTDIR=$RPM_BUILD_ROOT
55
56 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
57
58 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*info* \
59         README NEWS ChangeLog
60
61 %post   -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
63
64 %post devel
65 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
66
67 %postun devel
68 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_libdir}/lib*.so.*.*
76
77 %files devel
78 %defattr(644,root,root,755)
79 %doc README.gz NEWS.gz ChangeLog.gz
80 %{_includedir}/*.h
81 %attr(755,root,root) %{_libdir}/lib*.so
82 %attr(755,root,root) %{_libdir}/lib*.la
83 %{_infodir}/*info*
84
85 %files static
86 %defattr(644,root,root,755)
87 %{_libdir}/lib*.a
This page took 0.058502 seconds and 4 git commands to generate.