From 39c7b9377ffa30d9d9afcc2d10f89cdccf4f11ac Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Jun 06 2007 16:58:54 +0000 Subject: Initial revision --- diff --git a/.cvsignore b/.cvsignore index e69de29..b0700b5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +wdfs-1.4.2.tar.gz diff --git a/sources b/sources index e69de29..cb6baf4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +628bb44194d04c1cf8aacc446ed0a230 wdfs-1.4.2.tar.gz diff --git a/wdfs-1.4.2-as-needed.patch b/wdfs-1.4.2-as-needed.patch new file mode 100644 index 0000000..23c4e92 --- /dev/null +++ b/wdfs-1.4.2-as-needed.patch @@ -0,0 +1,11 @@ +--- wdfs-1.4.2/configure.ac.jx 2007-04-17 16:42:31.000000000 -0400 ++++ wdfs-1.4.2/configure.ac 2007-06-05 08:58:07.000000000 -0400 +@@ -11,7 +11,7 @@ + PKG_CHECK_MODULES(WDFS, [fuse >= 2.5.0 neon >= 0.24.7 glib-2.0]) + + CFLAGS="$CFLAGS $WDFS_CFLAGS -Wall -D_GNU_SOURCE -D_REENTRANT" +-LIBS="$WDFS_LIBS" ++LIBS="-Wl,--as-needed $WDFS_LIBS" + + AC_CONFIG_FILES([Makefile src/Makefile]) + AC_OUTPUT diff --git a/wdfs.spec b/wdfs.spec new file mode 100644 index 0000000..8b3d3a8 --- /dev/null +++ b/wdfs.spec @@ -0,0 +1,43 @@ +Name: wdfs +Version: 1.4.2 +Release: 1%{?dist} +Summary: WebDAV File System + +Group: System Environment/Base +License: GPL +URL: http://noedler.de/projeckte/wdfs/ +Source0: http://noedler.de/projekte/wdfs/wdfs-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: fuse-devel neon-devel glib2-devel +#Requires: +Patch0: wdfs-1.4.2-as-needed.patch + +%description +wdfs is a WebDAV filesystem that makes it possible to mount a WebDAV share +under Linux. wdfs has some special features for accessing subversion +repositiories via WebDAV. + +%prep +%setup -q +%patch0 -p1 -b .as-needed + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README TODO +%{_bindir}/wdfs + +%changelog +* Tue Jun 05 2007 Adam Jackson 1.4.2-1 +- Initial version.