]> git.pld-linux.org Git - packages/conflib.git/blobdiff - conflib.spec
- more ac25x fixes (for more recent ac)
[packages/conflib.git] / conflib.spec
index df0e357fe777a24cc2648a50f0d0d503e1fcac57..494d8ee3124d8d6b2f656041fbf48fd74e63fec2 100644 (file)
@@ -1,68 +1,93 @@
-Summary:       configuration file library
+Summary:       Configuration file library
+Summary(pl):   Biblioteka plików konfiguracyjnych
 Summary(de):   Library zum Lesen von Konfigurationsdateien
 Name:          conflib
 Version:       0.4.5
-Release:       1
-Copyright:     GPL
+Release:       5
+License:       GPL
 Group:         Libraries
-Source:                ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz
-Patch:         conflib-info.patch
-Buildroot:     /tmp/%{name}-%{version}-root
-
-%description 
+Source0:       ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz
+Patch0:                %{name}-info.patch
+Patch1:                %{name}-cl_build_stanza_array-fix.patch
+Patch2:                %{name}-ac25x.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
 A C language library for reading configuration files.
 
+%description -l pl
+Biblioteka C s³u¿±ca do odczytywania plików konfiguracyjnych.
+
 %package devel
-Summary:       file for developing programs that use the conflib library
+Summary:       Files for developing programs that use the conflib library
+Summary(pl):   Pliki do tworzenia programów wykorzystuj±cych bibliotekê conflib
 Summary(de):   Dateien zum Entwickeln von Programmen mit der conflib-Library
 Group:         Development/Libraries
 Requires:      %{name} = %{version}
-Prereq:                /usr/sbin/fix-info-dir
 
 %description devel
-This library makes it relativly easy to read configuration files (one or
-more), or parts of them. It supports a lot of different data types and
-some types of text interpretations, including \-escapes, ~user, $HOME
-and conditional expansions.
+This library makes it relativly easy to read configuration files (one
+or more), or parts of them. It supports a lot of different data types
+and some types of text interpretations, including \-escapes, ~user,
+$HOME and conditional expansions.
+
+%description devel -l pl
+Ta biblioteka pozwala na stosunkowo proste czytanie plików
+konfiguracyjnych lub ich czê¶ci. Wspiera wiele ró¿nych typów danych
+oraz niektóre typy interpretacji tekstu, np. \-escapes, ~user, $HOME
+oraz warunkowe rozwijanie.
 
 %package static
-Summary:       file for developing programs that use the conflib library
+Summary:       Files for developing programs that use the conflib library
+Summary(pl):   Statyczne pliki do tworzenia programów wykorzystuj±cych bibliotekê conflib
 Summary(de):   Dateien zum Entwickeln von Programmen mit der conflib-Library
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}
 
 %description static
-This library makes it relativly easy to read configuration files (one or
-more), or parts of them. It supports a lot of different data types and
-some types of text interpretations, including \-escapes, ~user, $HOME
-and conditional expansions.
+This library makes it relativly easy to read configuration files (one
+or more), or parts of them. It supports a lot of different data types
+and some types of text interpretations, including \-escapes, ~user,
+$HOME and conditional expansions.
+
+%description static -l pl
+Ta biblioteka pozwala na stosunkowo proste czytanie plików
+konfiguracyjnych lub ich czê¶ci. Wspiera wiele ró¿nych typów danych
+oraz niektóre typy interpretacji tekstu, np. \-escapes, ~user, $HOME
+oraz warunkowe rozwijanie. Ten pakiet zawiera pliki statyczne.
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
-LDFLAGS="-s"; export LDFLAGS
-%configure
-make
+rm -f missing
+%{__libtoolize}
+aclocal
+%{__autoconf}
+%{__automake}
+%configure2_13
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*info* \
-       README NEWS ChangeLog
+gzip -9nf README NEWS ChangeLog
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %post devel
-/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
-%preun devel
-/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun devel
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.074973 seconds and 4 git commands to generate.