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