info:smbfs.spec -devel

Wojciech Slusarczyk wojtek w SHADOW.EU.ORG
Sob, 29 Sie 1998, 14:44:43 CEST


Jak samba to i smbfs do niej:

Summary: programs to access SMB network servers
Name: smbfs
Version: 2.0.2
Release: 5d
Copyright: GPL
Group: Utilities/File
Source: ftp://ftp.gwdg.de/pub/linux/misc/smbfs/%{name}-%{version}.tgz
Patch0: smbfs-2.0.2-mount.patch
Patch1: smbfs-2.0.2-glibchacks.patch
BuildRoot: /tmp/%{name}-%{version}-%{release}-root
Provides: smbmount
Obsoletes: smbmount
Summary(es): programa para montar discos de servidores en redes SMB
Summary(pl): Aplikacje pozwalaj±ce ns dostêp do serwera SMB

%description
This package includes the tools necessary to mount filesystems from SMB
servers.

%description -l es
Este paquete incluye lo necesario para montar sistemas de ficheros desde

servidores SMB (o sea "redes Microsoft")

%description -l pl
Pakiet ten zaiera narzêdzia niezbêdne do montowania systemu plików SMB.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
make COPT="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/{man/man8,sbin}
make BINDIR=$RPM_BUILD_ROOT/usr/sbin MANDIR=$RPM_BUILD_ROOT/usr/man
install
(cd $RPM_BUILD_ROOT/usr/sbin ; ln mount.smbfs mount.smb)
strip $RPM_BUILD_ROOT/usr/sbin/*
chmod 644 $RPM_BUILD_ROOT/usr/man/man8/*
gzip -9nf $RPM_BUILD_ROOT/usr/man/man?/*

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc Changes COPYING FAQ README smbfs-2.0.2.lsm
%attr(711,root,root) /usr/sbin/smbmount
/usr/man/man8/smbmount.8.gz
%attr(711,root,root) /usr/sbin/mount.smbfs
%attr(711,root,root) /usr/sbin/mount.smb

%changelog

* Wed Aug 05 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
[2.0.2-5d]
- build against glibc-2.1,
- translation modified for pl,
- moved %changelog at the end of spec,
- added %defattr support,
- build from non root's account,
- changed permissions of all binaries to 711.

* Thu Jul 8 1998 Pablo Saratxaga <srtxg w chanae.alphanet.ch>

 - added a /sbin/mount.smbfs to allow putting smbfs partitions in
/etc/fstab
 - added a little patch to smbmount to strip the local hostname to the
   first dot (eg: "chanae.alphanet.ch" -> "chanae") instead of failing,
   that makes using smbmount easier.
 - smbumount is not included on the rpm anymore, it is completly
useless,
   umount does the job very well.
 - glibc patches and corrected the bug whith glibc version (in glibc
   uid_t, gid_t and mode_t are 32bit, in the 2.0.* kernel they are
16bit)

* Sat Jun 28 1997 Timo Karjalainen <timok w iki.fi>

 - Upgraded to version 2.0.2 to fix a buffer overflow
 - Added RPM_OPT_FLAGS

--
Wojciech Slusarczyk (091)4494148
Technical University of Szczecin
PGP KeyServer pgpkeys.mit.edu





Więcej informacji o liście dyskusyjnej pld-devel-pl