forked from pool/quota
- Version update to 4.03 release
* Various small updates and fixes * Translations update * autotools based buildsystem OBS-URL: https://build.opensuse.org/package/show/Base:System/quota?expand=0&rev=43
This commit is contained in:
committed by
Git OBS Bridge
parent
208bc4b782
commit
8325022373
31
quota.spec
31
quota.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package quota
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -17,19 +17,19 @@
|
||||
|
||||
|
||||
Name: quota
|
||||
Version: 4.02
|
||||
Version: 4.03
|
||||
Release: 0
|
||||
Summary: Disk Quota System
|
||||
License: GPL-2.0 and BSD-3-Clause
|
||||
Group: System/Filesystems
|
||||
Url: http://sourceforge.net/projects/linuxquota/
|
||||
Source0: http://downloads.sourceforge.net/project/linuxquota/quota-tools/%{version}/%{name}-%{version}.tar.gz
|
||||
#Source0: http://downloads.sourceforge.net/project/linuxquota/quota-tools/%{version}/%{name}-%{version}.tar.gz
|
||||
# Tarball repacked, missing subfolder, will be fixed in next release
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: sysconfig.nfs-quota
|
||||
Source2: quotad.service
|
||||
Source3: quotad_env.sh
|
||||
Patch1: %{name}-4.00-makefile.patch
|
||||
Patch2: %{name}-4.01-warnquota.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: dbus-1-devel
|
||||
BuildRequires: e2fsprogs-devel
|
||||
BuildRequires: pkg-config
|
||||
@@ -54,27 +54,27 @@ Requires: quota = %{version}
|
||||
Requires: rpcbind
|
||||
Requires: sysconfig
|
||||
Requires(post): %fillup_prereq
|
||||
Provides: quota:%{_initddir}/quotad
|
||||
%{?systemd_requires}
|
||||
|
||||
%description nfs
|
||||
The quotad init script, which provides quota support on NFS mounts.
|
||||
|
||||
%prep
|
||||
%setup -q -n quota-tools
|
||||
%patch1
|
||||
%setup -q
|
||||
%patch2
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
export CFLAGS="%{optflags} -fPIE"
|
||||
export LDFLAGS="-pie"
|
||||
%configure \
|
||||
--sysconfdir=%{_sysconfdir} \
|
||||
--enable-netlink \
|
||||
--enable-strip-binaries=no
|
||||
--docdir=%{_docdir}/%{name} \
|
||||
--disable-silent-rules \
|
||||
--disable-ldapmail \
|
||||
--enable-rpcsetquota
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install ROOTDIR=%{buildroot}
|
||||
%make_install
|
||||
|
||||
#installing ldap-scripts
|
||||
install -m 755 ldap-scripts/*pl %{buildroot}%{_sbindir}/
|
||||
@@ -110,8 +110,9 @@ cp %{SOURCE1} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.nfs-q
|
||||
%config %{_sysconfdir}/quotagrpadmins
|
||||
%config %{_sysconfdir}/quotatab
|
||||
%config %{_sysconfdir}/warnquota.conf
|
||||
%doc README.* doc
|
||||
%doc %{_mandir}/man?/*
|
||||
%dir %{_docdir}/%{name}
|
||||
%{_docdir}/%{name}/*
|
||||
%{_mandir}/man?/*
|
||||
%{_bindir}/quota
|
||||
%{_bindir}/quotasync
|
||||
%{_sbindir}/applySystemQuotas.pl
|
||||
|
Reference in New Issue
Block a user