File spl.spec of Package spl

#
# spec file for package spl
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           spl
Version:        0.6.5.3
Release:        0
Summary:        Commands to control the kernel modules
License:        GPL-2.0+
Group:          System/Base
Url:            http://zfsonlinux.org/
Source0:        https://github.com/zfsonlinux/spl/archive/%{name}-%{version}.tar.gz
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
Recommends:     %{name}-kmp = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package contains the commands to verify the SPL
kernel modules are functioning properly.

%prep
%setup -q -n %{name}-%{name}-%{version}

%build
./autogen.sh
%configure --with-config=user
make %{?_smp_mflags}

%install
make DESTDIR=%{buildroot} install

%files
%defattr(-,root,root)
%doc AUTHORS COPYING DISCLAIMER
%{_sbindir}/*
%{_mandir}/man?/*

%changelog
openSUSE Build Service is sponsored by