52 lines
1.4 KiB
RPMSpec
52 lines
1.4 KiB
RPMSpec
|
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 <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
|
||
|
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 <silvan.calarco@mambasoft.it> 20171208git-1mamba
|
||
|
- package created using the webbuild interface
|