]> git.pld-linux.org Git - packages/gdbm18.git/blobdiff - gdbm18.spec
- Release: 3 (to rebuild on AMD64 and _tag_)
[packages/gdbm18.git] / gdbm18.spec
index d07556b6eb6849e524ddf755f99816b436bfb484..fb28e780cd29d3db6d537ed680501ea2c9993395 100644 (file)
@@ -5,14 +5,14 @@ Summary(pl):  Biblioteka GNU bazy danych dla j
 Summary(ru):   âÉÂÌÉÏÔÅËÁ ÂÁÚÙ ÄÁÎÎÙÈ GNU ÄÌÑ C
 Summary(uk):   â¦Â̦ÏÔÅËÁ ÂÁÚÉ ÄÁÎÉÈ GNU ÄÌÑ C
 Name:          gdbm
-Version:       1.8.0
-Release:       16
+Version:       1.8.3
+Release:       3
 License:       GPL
 Group:         Libraries
 Source0:       ftp://ftp.gnu.org/pub/gnu/gdbm/%{name}-%{version}.tar.gz
+# Source0-md5: 1d1b1d5c0245b1c00aff92da751e9aa1
 Patch0:                %{name}-info.patch
-Patch1:                %{name}-DESTDIR.patch
-Patch2:                %{name}-jbj.patch
+Patch1:                %{name}-jbj.patch
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
@@ -21,9 +21,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     libgdbm2
 
 %description
-Gdbm is a GNU database indexing library, including routines which use
-extensible hashing. Gdbm works in a similar way to standard UNIX dbm
-routines. Gdbm is useful for developers who write C applications and
+gdbm is a GNU database indexing library, including routines which use
+extensible hashing. gdbm works in a similar way to standard UNIX dbm
+routines. gdbm is useful for developers who write C applications and
 need access to a simple and efficient database or who are building C
 applications which will use such a database.
 
@@ -129,7 +129,6 @@ Biblioteka statyczna gdbm.
 %setup  -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -138,28 +137,14 @@ Biblioteka statyczna gdbm.
 %{__autoconf}
 %configure
 
-%{__make} CFLAGS="%{rpmcflags}"
-
-makeinfo gdbm.texinfo
-
-cat .libs/libgdbm.lai|sed -e 's/\/usr\/local\/lib/\/usr\/lib/'>libgdbm.lai.tmp
-mv libgdbm.lai.tmp .libs/libgdbm.lai
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}} \
-          $RPM_BUILD_ROOT{%{_mandir}/man3,%{_infodir}}
 
 %{__make} install install-compat \
-       prefix=%{_prefix} \
-       exec_prefix=%{_exec_prefix} \
-       binprefix=%{_exec_prefix} \
-       manprefix=%{_prefix} \
-       libdir=%{_libdir} \
-       includedir=%{_includedir} \
-       infodir=%{_infodir} \
-       man3dir=%{_mandir}/man3 \
-       DESTDIR=$RPM_BUILD_ROOT
+       INSTALL_ROOT=$RPM_BUILD_ROOT \
+       BINOWN=`id -u` BINGRP=`id -g`
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -175,6 +160,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
This page took 0.034345 seconds and 4 git commands to generate.