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