--- /dev/null
+Summary: AFS - A Virtual Filesystem
+Name: avfs
+Version: 0.9.3
+Release: 1
+License: GPL
+Group: Libraries
+# Source0-md5: 1b8087516b1abc9965056d1f4595c4f0
+Source0: http://dl.sourceforge.net/avf/%{name}-%{version}.tar.gz
+URL: http://sourceforge.net/projects/avf/
+BuildRequires: neon-devel
+BuildRequires: openssl-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+AVFS is a system, which enables all programs to look inside archived
+or compressed files, or access remote files without recompiling the
+programs or changing the kernel.
+
+At the moment it supports floppies, tar and gzip files, zip, bzip2, ar
+and rar files, ftp sessions, http, webdav, rsh/rcp, ssh/scp. Quite a
+few other handlers are implemented with the Midnight Commander's
+external FS.
+
+%prep
+%setup -q
+
+%build
+install %{_datadir}/automake/config.* .
+%configure2_13 \
+ --enable-preload \
+ --enable-xml \
+ --enable-dav \
+ --with-neon \
+ --with-ssl \
+ --with-kernel=%{_kernelsrcdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README CHANGES CREDITS
+%attr(755,root,root) %{_libdir}/lib*.so.*.*