]> git.pld-linux.org Git - packages/conflib.git/blob - conflib.spec
- %configure2_13
[packages/conflib.git] / conflib.spec
1 Summary:        Configuration file library
2 Summary(pl):    Biblioteka plików konfiguracyjnych
3 Summary(de):    Library zum Lesen von Konfigurationsdateien
4 Name:           conflib
5 Version:        0.4.5
6 Release:        5
7 License:        GPL
8 Group:          Libraries
9 Group(fr):      Librairies
10 Group(pl):      Biblioteki
11 Source0:        ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz
12 Patch0:         conflib-info.patch
13 Patch1:         conflib-cl_build_stanza_array-fix.patch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description 
17 A C language library for reading configuration files.
18
19 %description -l pl
20 Biblioteka C s³u¿±ca do odczytywania plików konfiguracyjnych.
21
22 %package devel
23 Summary:        Files for developing programs that use the conflib library
24 Summary(pl):    Pliki do tworzenia programów wykorzystuj±cych bibliotekê conflib
25 Summary(de):    Dateien zum Entwickeln von Programmen mit der conflib-Library
26 Group:          Development/Libraries
27 Group(fr):      Development/Librairies
28 Group(pl):      Programowanie/Biblioteki
29 Requires:       %{name} = %{version}
30
31 %description devel
32 This library makes it relativly easy to read configuration files (one
33 or more), or parts of them. It supports a lot of different data types
34 and some types of text interpretations, including \-escapes, ~user,
35 $HOME and conditional expansions.
36
37 %description -l pl devel
38 Ta biblioteka pozwala na stosunkowo proste czytanie plików konfiguracyjnych
39 lub ich czê¶ci. Wspiera wiele ró¿nych typów danych oraz niektóre typy 
40 interpretacji tekstu, np. \-escapes, ~user, $HOME oraz warunkowe rozwijanie.
41
42 %package static
43 Summary:        Files for developing programs that use the conflib library
44 Summary(pl):    Statyczne pliki do tworzenia programów wykorzystuj±cych bibliotekê conflib
45 Summary(de):    Dateien zum Entwickeln von Programmen mit der conflib-Library
46 Group:          Development/Libraries
47 Group(fr):      Development/Librairies
48 Group(pl):      Programowanie/Biblioteki
49 Requires:       %{name}-devel = %{version}
50
51 %description static
52 This library makes it relativly easy to read configuration files (one
53 or more), or parts of them. It supports a lot of different data types
54 and some types of text interpretations, including \-escapes, ~user,
55 $HOME and conditional expansions.
56
57 %description -l pl static
58 Ta biblioteka pozwala na stosunkowo proste czytanie plików konfiguracyjnych
59 lub ich czê¶ci. Wspiera wiele ró¿nych typów danych oraz niektóre typy
60 interpretacji tekstu, np. \-escapes, ~user, $HOME oraz warunkowe rozwijanie.
61 Ten pakiet zawiera pliki statyczne.
62
63 %prep
64 %setup -q
65 %patch0 -p1
66 %patch1 -p1     
67
68 %build
69 %configure2_13
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 %{__make} install DESTDIR=$RPM_BUILD_ROOT
75
76 gzip -9nf README NEWS ChangeLog
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %post devel
82 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
83
84 %postun devel
85 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/lib*.so.*.*
93
94 %files devel
95 %defattr(644,root,root,755)
96 %doc README.gz NEWS.gz ChangeLog.gz
97 %{_includedir}/*.h
98 %attr(755,root,root) %{_libdir}/lib*.so
99 %attr(755,root,root) %{_libdir}/lib*.la
100 %{_infodir}/*info*
101
102 %files static
103 %defattr(644,root,root,755)
104 %{_libdir}/lib*.a
This page took 0.068742 seconds and 4 git commands to generate.