Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > 957d541715c46357daf3af48c95b2132 > files > 11

davfs-0.2.4-10mdv2007.1.src.rpm

Summary:	Web-based Distributed Authoring and Versioning
Name:		davfs
Version:	0.2.4
Release:	%mkrel 10
License:	GPL
Group:		Networking/Other
URL:		http://prdownloads.sourceforge.net/dav/
Source0:	http://prdownloads.sourceforge.net/dav/%{name}-%{version}.tar.bz2
Patch0:		davfs-path.patch
Patch1:		davfs-is_socket_ready.patch
Patch2:		davfs-mount_autofs.patch
Patch3:		davfs-0.2.4-mount_options.patch
Patch4:		davfs-0.2.4-mount_passwd_pipe.patch
Patch5:		davfs-0.2.4-dont-build-module-davfs.patch
Patch6:		davfs-0.2.4-do-not-explictly-insmod-davfs.patch
Patch7:		davfs-0.2.4-64bit-fixes.patch
Patch8:		davfs-0.2.4-gcc-3.3.patch
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 Versioning.
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
%configure \
    --with-ssl
%make

%install
rm -rf %{buildroot}

mkdir -p %{buildroot}{/sbin,/usr/sbin}

%makeinstall_std

ln -sf ..%{_sbindir}/mount.davfs %{buildroot}/sbin/mount.davfs 

gzip -9nf ChangeLog

%clean
rm -rf %{buildroot}

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


%changelog
* Sat Mar 17 2007 Oden Eriksson <oeriksson@mandriva.com> 0.2.4-10mdv2007.1
+ Revision: 145518
- use the %%mkrel macro
- bunzip patches

  + Olivier Blin <oblin@mandriva.com>
    - Import davfs



* 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