]> git.pld-linux.org Git - packages/nss_db.git/commitdiff
- updated to 2.2.3pre1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 2 Apr 2004 22:03:33 +0000 (22:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- updated amfix patch, added glibc23,db41 patches - builds now

Changed files:
    nss_db.spec -> 1.24

nss_db.spec

index 0cb904154059eb3a22b61932515182e7cd459222..8c6486d3d49e6ac51426868b66a992dfadae9608 100644 (file)
@@ -1,23 +1,24 @@
 Summary:       Berkeley DB Name Service Switch Module
 Summary(pl):   Modu³ NSS do baz db
 Name:          nss_db
-Version:       2.2
-Release:       8
+Version:       2.2.3
+%define        bver    pre1
+Release:       0.%{bver}.1
 License:       LGPL
 Group:         Base
-Source0:       ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.gz
-# Source0-md5: c2565cbd4a941ba70e41391693c3252d
+Source0:       ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}%{bver}.tar.gz
+# Source0-md5: b4440ba2865d28e9068e465426c19ede
 Patch0:                %{name}-chmod_644.patch
 Patch1:                %{name}-amfix.patch
+Patch2:                %{name}-glibc23.patch
+Patch3:                %{name}-db41.patch
 BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: db-devel
-BuildRequires: glibc-devel >= 2.2
-#BuildRequires:        libstdc++-devel
-#BuildRequires:        gcc-c++
-#Buildrequires:        lwp-devel
+BuildRequires: automake >= 1.4
+BuildRequires: db-devel >= 3.0
+BuildRequires: gettext-devel
+BuildRequires: glibc-devel >= 2.3
 BuildRequires: libtool
-Requires:      glibc >= 2.2
+Requires:      glibc >= 2.3
 Requires:      make
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -30,22 +31,25 @@ To jest nss_db, modu
 glibc-2.2.x.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}%{bver}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
-rm -f missing
+%{__gettextize}
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{lib,var/db}
+install -d $RPM_BUILD_ROOT{/%{_lib},/var/db}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -54,20 +58,22 @@ install db-Makefile $RPM_BUILD_ROOT/var/db/Makefile
 
 cat << EOF > $RPM_BUILD_ROOT%{_bindir}/create-db
 #!/bin/sh
-/usr/bin/make -sC /var/db/
+/usr/bin/make -sC /var/db
 EOF
 
 ln -sf create-db $RPM_BUILD_ROOT%{_bindir}/update-db
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README NEWS THANKS
-%attr(755,root,root) /lib/*.so
+%doc AUTHORS ChangeLog NEWS README THANKS
+%attr(755,root,root) /%{_lib}/*.so
 %attr(755,root,root) %{_bindir}/*
 %config /var/db/Makefile
This page took 0.052815 seconds and 4 git commands to generate.