diff --git a/README.md b/README.md index b392488..a68a3a5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # vdfuse +Fuse driver to mount VirtualBox compatible disk images ( including snapshots ). + diff --git a/vdfuse.spec b/vdfuse.spec new file mode 100644 index 0000000..236dee3 --- /dev/null +++ b/vdfuse.spec @@ -0,0 +1,51 @@ +Name: vdfuse +Version: 20171208git +Release: 1mamba +Summary: Fuse driver to mount VirtualBox compatible disk images ( including snapshots ) +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/SophosLabs/vdfuse.git +## GITSOURCE https://github.com/SophosLabs/vdfuse.git master +Source: https://github.com/SophosLabs/vdfuse.git/master/vdfuse-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: VirtualBox +BuildRequires: glibc-devel +BuildRequires: libfuse-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Fuse driver to mount VirtualBox compatible disk images ( including snapshots ). + +%debug_package + +%prep +%setup -q +# TODO: add a VirtualBox-devel package with headers +./fetch_vbox_headers.sh +sed -i "s|VBOX_INSTALL_DIR=.*|VBOX_INSTALL_DIR=\"%{_libdir}/VirtualBox\"|" configure* + +%build +./autogen.sh +%configure VBOX_INSTALL_DIR=%{_libdir}/VirtualBox + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/vdfuse +%doc AUTHORS COPYING + +%changelog +* Fri Dec 08 2017 Silvan Calarco 20171208git-1mamba +- package created using the webbuild interface