mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
16952a68f2
Common practice is to include the distribution in the package release. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
39 lines
840 B
RPMSpec
39 lines
840 B
RPMSpec
%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
|
|
|
|
%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 ChangeLog COPYING DISCLAIMER INSTALL
|
|
%{_sbindir}/*
|
|
|
|
%post
|
|
%postun
|