File quotatool.spec of Package quotatool

#
# spec file for package quotatool
#
# Copyright (c) 2016 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:           quotatool
Version:        1.6.2
Release:        0
Summary:        A utility for setting and manipulating filesystem quotas from the command line
License:        GPL-2.0
Group:          System/Filesystems
Url:            http://quotatool.ekenberg.se
Source0:        https://github.com/ekenberg/quotatool/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
quotatool is a utility for setting and manipulating filesystem quotas from
the command line. It supports quota on Linux (versions 2.6, 2.4, and 2.2,
with ext2, ext3, ReiserFS, and XFS), Solaris, and AIX.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
install -D -m 0755 quotatool       %{buildroot}%{_sbindir}/quotatool
install -D -m 0644 man/quotatool.8 %{buildroot}%{_mandir}/man8/quotatool.8

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README TODO
%{_sbindir}/quotatool
%{_mandir}/man8/quotatool.8%{ext_man}

%changelog
openSUSE Build Service is sponsored by