]>
Commit | Line | Data |
---|---|---|
983805fd | 1 | Summary: Configuration file library |
7fd1bc96 ER |
2 | Summary(pl.UTF-8): Biblioteka plików konfiguracyjnych |
3 | Summary(de.UTF-8): Library zum Lesen von Konfigurationsdateien | |
94eb7489 JR |
4 | Name: conflib |
5 | Version: 0.4.5 | |
9c27fb5a | 6 | Release: 7 |
51019f13 | 7 | License: GPL |
94eb7489 | 8 | Group: Libraries |
51019f13 | 9 | Source0: ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz |
d8de5e70 | 10 | # Source0-md5: 301f140d0fbd0b5a225419c101c4c9d1 |
7c1332a7 | 11 | Patch0: %{name}-info.patch |
12 | Patch1: %{name}-cl_build_stanza_array-fix.patch | |
13 | Patch2: %{name}-ac25x.patch | |
81a48ba4 | 14 | Patch3: %{name}-locale.patch |
4687d733 JB |
15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
17 | BuildRequires: libtool | |
c574f2c9 | 18 | BuildRequires: texinfo |
931ca683 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26319edc | 20 | |
db46da99 | 21 | %description |
26319edc | 22 | A C language library for reading configuration files. |
23 | ||
81dbf5a0 JR |
24 | %description -l pl.UTF-8 |
25 | Biblioteka C służąca do odczytywania plików konfiguracyjnych. | |
1e255ff3 | 26 | |
26319edc | 27 | %package devel |
983805fd | 28 | Summary: Files for developing programs that use the conflib library |
7fd1bc96 ER |
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 | |
a34a5dcf | 31 | Group: Development/Libraries |
8cf3fc42 | 32 | Requires: %{name} = %{version}-%{release} |
26319edc | 33 | |
34 | %description devel | |
51019f13 | 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. | |
26319edc | 39 | |
81dbf5a0 JR |
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 | |
7c1332a7 | 44 | oraz warunkowe rozwijanie. |
983805fd | 45 | |
419e4204 | 46 | %package static |
983805fd | 47 | Summary: Files for developing programs that use the conflib library |
7fd1bc96 ER |
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 | |
419e4204 | 50 | Group: Development/Libraries |
8cf3fc42 | 51 | Requires: %{name}-devel = %{version}-%{release} |
419e4204 JR |
52 | |
53 | %description static | |
51019f13 | 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. | |
419e4204 | 58 | |
81dbf5a0 JR |
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 | |
7c1332a7 | 63 | oraz warunkowe rozwijanie. Ten pakiet zawiera pliki statyczne. |
983805fd | 64 | |
26319edc | 65 | %prep |
94eb7489 | 66 | %setup -q |
0a7a0260 | 67 | %patch0 -p1 |
db46da99 | 68 | %patch1 -p1 |
69 | %patch2 -p1 | |
81a48ba4 | 70 | %patch3 -p1 |
26319edc | 71 | |
72 | %build | |
83dad403 | 73 | %{__libtoolize} |
6acd26b4 | 74 | %{__aclocal} |
0b3b1d6b | 75 | %{__autoconf} |
9c27fb5a | 76 | %{__autoheader} |
0b3b1d6b | 77 | %{__automake} |
9c27fb5a | 78 | %configure |
3f322f5c | 79 | %{__make} |
26319edc | 80 | |
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
9c27fb5a | 83 | |
b7afd33c PG |
84 | %{__make} install \ |
85 | DESTDIR=$RPM_BUILD_ROOT | |
26319edc | 86 | |
9c27fb5a JB |
87 | %clean |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
26c898cc | 90 | %post -p /sbin/ldconfig |
91 | %postun -p /sbin/ldconfig | |
92 | ||
93 | %post devel | |
80203fe8 | 94 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
26319edc | 95 | |
5eb63876 | 96 | %postun devel |
80203fe8 | 97 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
26319edc | 98 | |
26319edc | 99 | %files |
94eb7489 | 100 | %defattr(644,root,root,755) |
9c27fb5a | 101 | %doc AUTHORS ChangeLog NEWS README TODO |
cac10321 | 102 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
26319edc | 103 | |
104 | %files devel | |
94eb7489 | 105 | %defattr(644,root,root,755) |
cac10321 | 106 | %attr(755,root,root) %{_libdir}/lib*.so |
81067ec3 | 107 | %{_libdir}/lib*.la |
9c27fb5a | 108 | %{_includedir}/*.h |
cac10321 | 109 | %{_infodir}/*info* |
419e4204 JR |
110 | |
111 | %files static | |
112 | %defattr(644,root,root,755) | |
113 | %{_libdir}/lib*.a |