--- samba-4.2.spec.rh42 Thu Jul 22 18:35:48 1999 +++ samba-4.2.spec Wed Sep 25 18:42:05 2002 @@ -1,7 +1,7 @@ Summary: Samba SMB server. Name: samba Version: 2.0.5a -Release: 0.4.2 +Release: 0.4.2linux20 Copyright: GNU GPL Version 2 Group: System Environment/Daemons Source: ftp://samba.anu.edu.au/pub/samba/samba-%{version}.tar.gz @@ -18,9 +18,6 @@ BuildRoot: /var/tmp/samba-root Prereq: fileutils -# To build smbmount for 2.2+ kernels, uncomment this line -#%define KERN22 yes - %description Samba provides an SMB server which can be used to provide network services to SMB (sometimes called "Lan Manager") @@ -47,7 +44,6 @@ %package client Summary: Samba SMB client Group: Applications/Networking -%{?KERN22:Obsoletes: smbfs} %description client Samba-client provides some SMB clients, which complement the @@ -71,7 +67,6 @@ autoconf CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=/etc \ --with-lockdir=/var/lock/samba --with-privatedir=/etc \ -%{?KERN22: --with-smbmount} \ --with-swatdir=/usr/share/swat --with-automount --with-pam make CFLAGS="$RPM_OPT_FLAGS" all @@ -91,7 +86,6 @@ mkdir -p $RPM_BUILD_ROOT/var/spool/samba for i in nmblookup smbclient smbpasswd smbstatus testparm testprns \ -%{?KERN22: smbmount smbmnt smbumount} \ make_smbcodepage make_printerdef rpcclient do install -m755 -s source/bin/$i $RPM_BUILD_ROOT/usr/bin @@ -137,9 +131,6 @@ install -m644 docs/manpages/lmhosts.5 $RPM_BUILD_ROOT/usr/man/man5 install -m644 docs/manpages/smbpasswd.5 $RPM_BUILD_ROOT/usr/man/man5 install -m644 docs/manpages/samba.7 $RPM_BUILD_ROOT/usr/man/man7 -%{?KERN22:install -m644 docs/manpages/smbmnt.8 $RPM_BUILD_ROOT/usr/man/man8} -%{?KERN22:install -m644 docs/manpages/smbmount.8 $RPM_BUILD_ROOT/usr/man/man8} -%{?KERN22:install -m644 docs/manpages/smbumount.8 $RPM_BUILD_ROOT/usr/man/man8} install -m644 docs/manpages/smbd.8 $RPM_BUILD_ROOT/usr/man/man8 install -m644 docs/manpages/nmbd.8 $RPM_BUILD_ROOT/usr/man/man8 install -m644 docs/manpages/swat.8 $RPM_BUILD_ROOT/usr/man/man8 @@ -153,8 +144,6 @@ install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT/usr/sbin/samba install -m644 packaging/RedHat/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/samba install -m644 $RPM_SOURCE_DIR/samba.log $RPM_BUILD_ROOT/etc/logrotate.d/samba -%{?KERN22:install -m755 $RPM_SOURCE_DIR/mount.smb $RPM_BUILD_ROOT/sbin} -%{?KERN22:ln -s mount.smb $RPM_BUILD_ROOT/sbin/mount.smbfs} echo 127.0.0.1 localhost > $RPM_BUILD_ROOT/etc/lmhosts @@ -276,16 +265,6 @@ %files client %defattr(-,root,root) -%{?KERN22:%ifnarch alpha} -%{?KERN22:/sbin/mount.smb} -%{?KERN22:/sbin/mount.smbfs} -%{?KERN22:/usr/bin/smbmount} -%{?KERN22:/usr/bin/smbmnt} -%{?KERN22:/usr/bin/smbumount} -%{?KERN22:/usr/man/man8/smbmnt.8} -%{?KERN22:/usr/man/man8/smbmount.8} -%{?KERN22:/usr/man/man8/smbumount.8} -%{?KERN22:%endif} %config(noreplace) /etc/smb.conf %config(noreplace) /etc/lmhosts /usr/bin/smbclient