From c036a8ff40ce83671c4652f2862365f0e1c93df4 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 09:09:20 +0000 Subject: auto-import changelog data from netatalk-1.5.5-9.src.rpm Tue Jul 29 2003 Elliot Lee - Rebuild - Fix perl multilib path editing - Add pathcat patch Thu May 01 2003 Elliot Lee 1.5.5-7 - Make multilib generic - Add builddep on quota (for rpcsvc/rquota.h) --- diff --git a/netatalk.spec b/netatalk.spec index 74ce8da..d94fa94 100644 --- a/netatalk.spec +++ b/netatalk.spec @@ -1,9 +1,9 @@ -%define initdir /etc/rc.d/init.d + %define initdir /etc/rc.d/init.d Summary: AppleTalk networking programs Name: netatalk Version: 1.5.5 -Release: 6 +Release: 9 License: GPL Group: System Environment/Daemons Source0: http://download.sourceforge.net/netatalk/netatalk-%{version}.tar.bz2 @@ -13,12 +13,13 @@ Source3: AppleVolumes.system Source4: ICDumpSuffixMap Patch0: netatalk-1.5.3.1-norc.patch Patch1: netatalk-1.5.5-openssl097.patch +Patch2: netatalk-1.5.5-pathcat.patch Epoch: 2 Obsoletes: netatalk-1.4b2+asun Url: http://netatalk.sourceforge.net/ Prereq: /sbin/chkconfig, /sbin/service Requires: pam >= 0.56, /etc/pam.d/system-auth, tcp_wrappers, openssl, cracklib -BuildRequires: cracklib, openssl-devel, pam +BuildRequires: cracklib openssl-devel pam quota libtool automake14 autoconf BuildRoot: %{_tmppath}/%{name}-root %description @@ -38,17 +39,27 @@ Appletalk networking programs. %setup -q %patch0 -p 1 -b .norc %patch1 -p 1 -b .openssl097 +%patch2 -p1 -b .pathcat %build +touch AUTHORS +libtoolize --force +aclocal-1.4 -I macros +automake-1.4 --add-missing +autoconf +autoheader CFLAGS="$RPM_OPT_FLAGS -fsigned-char" %configure \ --with-pkgconfdir=/etc/atalk/ --with-cracklib --with-pam \ --with-shadow --with-tcp-wrappers --with-ssl --with-flock-locksi \ --with-uams-path=%{_libdir} # Grrrr. Fix broken libtool/autoFOO Makefiles. -%ifarch x86_64 -perl -pi -e 's/-L\/usr\/lib/-L\/usr\/lib64/g' Makefile */Makefile */*/Makefile */*/*/Makefile -%endif +if [ "%{_lib}" != lib ]; then + find . -name Makefile | xargs perl -pi \ + -e 's,-L/usr/lib,-L%{_libdir},g' + find . -name Makefile | xargs perl -pi \ + -e 's,-L/lib,-L/%{_lib},g' +fi make all @@ -81,6 +92,8 @@ $RPM_BUILD_ROOT/usr/bin/makecode || true # Remove .la files in buildroot rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la +rm -f $RPM_BUILD_ROOT%{_bindir}/acleandir.rc \ + $RPM_BUILD_ROOT%{_mandir}/man1/acleandir.1* %clean rm -rf $RPM_BUILD_ROOT @@ -129,6 +142,15 @@ fi %{_datadir}/aclocal/netatalk.m4 %changelog +* Tue Jul 29 2003 Elliot Lee +- Rebuild +- Fix perl multilib path editing +- Add pathcat patch + +* Thu May 1 2003 Elliot Lee 1.5.5-7 +- Make multilib generic +- Add builddep on quota (for rpcsvc/rquota.h) + * Wed Feb 18 2003 Bill Nottingham 1.5.5-5 - fix initscript error (#82118)