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