aboutsummaryrefslogtreecommitdiffstats
path: root/spl.spec.in
blob: 712c3879da631070ae04d6578c2dae44058a3620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%define name             @PACKAGE@
%define version          @VERSION@
%define release          @SPL_META_RELEASE@
%define debug_package    %{nil}

Summary:         SPL Utils
Group:           Utilities/System
Name:            %{name}
Version:         %{version}
Release:         %{release}%{?dist}
License:         @LICENSE@
URL:             git://github.com/zfsonlinux/spl.git
BuildRoot:       %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un)
Source:          %{name}-%{version}.tar.gz
Requires:        spl-modules

%description
The %{name} package contains the support utilities for the spl.

%prep
%setup
%build
%configure --with-config=user
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

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

%post
%postun