vdfuse/vdfuse.spec

56 lines
1.5 KiB
RPMSpec

Name: vdfuse
Version: 20171208git
Release: 2mamba
Summary: Fuse driver to mount VirtualBox compatible disk images ( including snapshots )
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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
BuildRequires: VirtualBox >= 6.0.14
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
* Tue Dec 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 20171208git-2mamba
- rebuilt with VirtualBox 6.0.14
* Fri Dec 08 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 20171208git-1mamba
- package created using the webbuild interface