]> git.pld-linux.org Git - packages/conflib.git/blame - conflib.spec
- converted to UTF-8
[packages/conflib.git] / conflib.spec
CommitLineData
983805fd 1Summary: Configuration file library
81dbf5a0
JR
2Summary(pl.UTF-8): Biblioteka plików konfiguracyjnych
3Summary(de.UTF-8): Library zum Lesen von Konfigurationsdateien
94eb7489
JR
4Name: conflib
5Version: 0.4.5
9c27fb5a 6Release: 7
51019f13 7License: GPL
94eb7489 8Group: Libraries
51019f13 9Source0: ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz
d8de5e70 10# Source0-md5: 301f140d0fbd0b5a225419c101c4c9d1
7c1332a7 11Patch0: %{name}-info.patch
12Patch1: %{name}-cl_build_stanza_array-fix.patch
13Patch2: %{name}-ac25x.patch
81a48ba4 14Patch3: %{name}-locale.patch
4687d733
JB
15BuildRequires: autoconf
16BuildRequires: automake
17BuildRequires: libtool
c574f2c9 18BuildRequires: texinfo
931ca683 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26319edc 20
db46da99 21%description
26319edc 22A C language library for reading configuration files.
23
81dbf5a0
JR
24%description -l pl.UTF-8
25Biblioteka C służąca do odczytywania plików konfiguracyjnych.
1e255ff3 26
26319edc 27%package devel
983805fd 28Summary: Files for developing programs that use the conflib library
81dbf5a0
JR
29Summary(pl.UTF-8): Pliki do tworzenia programów wykorzystujących bibliotekę conflib
30Summary(de.UTF-8): Dateien zum Entwickeln von Programmen mit der conflib-Library
a34a5dcf 31Group: Development/Libraries
8cf3fc42 32Requires: %{name} = %{version}-%{release}
26319edc 33
34%description devel
51019f13 35This library makes it relativly easy to read configuration files (one
36or more), or parts of them. It supports a lot of different data types
37and some types of text interpretations, including \-escapes, ~user,
38$HOME and conditional expansions.
26319edc 39
81dbf5a0
JR
40%description devel -l pl.UTF-8
41Ta biblioteka pozwala na stosunkowo proste czytanie plików
42konfiguracyjnych lub ich części. Wspiera wiele różnych typów danych
43oraz niektóre typy interpretacji tekstu, np. \-escapes, ~user, $HOME
7c1332a7 44oraz warunkowe rozwijanie.
983805fd 45
419e4204 46%package static
983805fd 47Summary: Files for developing programs that use the conflib library
81dbf5a0
JR
48Summary(pl.UTF-8): Statyczne pliki do tworzenia programów wykorzystujących bibliotekę conflib
49Summary(de.UTF-8): Dateien zum Entwickeln von Programmen mit der conflib-Library
419e4204 50Group: Development/Libraries
8cf3fc42 51Requires: %{name}-devel = %{version}-%{release}
419e4204
JR
52
53%description static
51019f13 54This library makes it relativly easy to read configuration files (one
55or more), or parts of them. It supports a lot of different data types
56and some types of text interpretations, including \-escapes, ~user,
57$HOME and conditional expansions.
419e4204 58
81dbf5a0
JR
59%description static -l pl.UTF-8
60Ta biblioteka pozwala na stosunkowo proste czytanie plików
61konfiguracyjnych lub ich części. Wspiera wiele różnych typów danych
62oraz niektóre typy interpretacji tekstu, np. \-escapes, ~user, $HOME
7c1332a7 63oraz 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
82rm -rf $RPM_BUILD_ROOT
9c27fb5a 83
b7afd33c
PG
84%{__make} install \
85 DESTDIR=$RPM_BUILD_ROOT
26319edc 86
9c27fb5a
JB
87%clean
88rm -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
This page took 0.043803 seconds and 4 git commands to generate.