Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > media > main-release-src > by-pkgid > f5ea46246038af6759aae047101f6b3b > files > 11

davfs-0.2.4-9mdk.src.rpm

%define release	9mdk
%define version	0.2.4
%define url 	http://prdownloads.sourceforge.net/dav/

Summary:	Web-based Distributed Authoring and Versioning
Name:		davfs
Version:	%{version}
Release:	%{release}
License:	GPL
Url:		%{url}
Source0:	http://prdownloads.sourceforge.net/dav/%{name}-%{version}.tar.bz2
Patch0:		davfs-path.patch.bz2
Patch1:		davfs-is_socket_ready.patch.bz2
Patch2:		davfs-mount_autofs.patch.bz2
Patch3:		davfs-0.2.4-mount_options.patch.bz2
Patch4:		davfs-0.2.4-mount_passwd_pipe.patch.bz2
Patch5:		davfs-0.2.4-dont-build-module-davfs.patch.bz2
Patch6:		davfs-0.2.4-do-not-explictly-insmod-davfs.patch.bz2
Patch7:		davfs-0.2.4-64bit-fixes.patch.bz2
Patch8:		davfs-0.2.4-gcc-3.3.patch.bz2
Group:		Networking/Other
Provides:	davfs
Requires:	kernel >= 2.4.18
BuildRequires:	autoconf
BuildRequires:	openssl-devel
BuildRoot: 	%{_tmppath}/%{name}-root

%description
WebDAV is an acronym for Web-based Distributed Authoring and Version-
ing. Usually http is a read only protocol, but if you install DAV on
your web server, it becomes writable. Furthermore, if you use DAVfs,
you can mount your web server onto your filesystem and can use it as a
normal disk.

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1 -b .gcc3.3
# make it lib64 aware
perl -pi -e "/DAVFS_LDADD=/ and s|/lib|/%{_lib}|" configure

%build
%configure2_5x --with-ssl
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT{/sbin,/usr/sbin}

%makeinstall_std
ln -sf ..%{_sbindir}/mount.davfs ${RPM_BUILD_ROOT}/sbin/mount.davfs 

gzip -9nf ChangeLog

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc *.gz doc/*.html
/sbin/*
%{_sbindir}/*

%changelog
* Fri May 12 2006 Stefan van der Eijk <stefan@eijk.nu> 0.2.4-9mdk
- rebuild for sparc

* Mon Nov 14 2005 Oden Eriksson <oeriksson@mandriva.com> 0.2.4-8mdk
- rebuilt against openssl-0.9.8a

* Wed Jul 16 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.2.4-7mdk
- fix gcc-3.3 build (P8)

* Wed Apr 16 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.2.4-6mdk
- Make it lib64 aware
- Patch7: 64-bit fixes for some calls to dprintf()

* Wed Aug 28 2002 Pixel <pixel@mandrakesoft.com> 0.2.4-5mdk
- do not explictly insmod davfs since it's not needed. it doesn't fix mounting as user though :-/

* Tue Aug 13 2002 Pixel <pixel@mandrakesoft.com> 0.2.4-4mdk
- drop mount.dav (not useful)
- cleanup spec
- patch3: rename option "user=xxx" to "username=xxx" and "pass=xxx" to "password=xxx"

* Thu Aug  01 2002 Nicolas Planel <nplanel@mandrakesoft.com> 0.2.4-3mdk
- Fix password ask when user parameter is used
- Add file descriptor password reader

* Wed Jul  31 2002 Nicolas Planel <nplanel@mandrakesoft.com> 0.2.4-2mdk
- Add mount.davfs options
- Add symbolic link /sbin/mount.dav

* Tue Jul  23 2002 Nicolas Planel <nplanel@mandrakesoft.com> 0.2.4-1mdk
- Generate spec for Mandrake Linux 
- Enable autofs support