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