Репозиторий Sisyphus
Последнее обновление: 24 сентября 2017 | Пакетов: 17917 | Посещений: 10034809
en ru br
Репозитории ALT
5.1: 3.14-alt1
4.1: 3.14-alt1
4.0: 3.14-alt1
3.0: 3.13-alt1

Группа :: Система/Настройка/Прочее
Пакет: quota

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: quota
Version: 4.03
Release: alt1
Epoch: 2

%def_disable rpcsetquota

# quota_nld.c, quotaio_xfs.h:       GPLv2

# bylabel.c copied from util-linux: GPLv2+
# svc_socket.c copied from glibc:   LGPLv2+
# doc/quotas.ms, quotaops.c, quot.c, quotaon.c, edquota.c, quot.h, quota.c,
# quotaio_v1.c:                     BSD
License: BSD and LGPLv2+ and GPLv2+
Summary: System administration tools for monitoring users' disk usage
Group: System/Configuration/Other
Url: http://sourceforge.net/projects/linuxquota/

# http://downloads.sourceforge.net/linuxquota/quota-%version.tar.gz

# git://linuxquota.git.sourceforge.net/gitroot/linuxquota/linuxquota
# git://git.altlinux.org/gears/q/quota.git
Source: %name-%version-%release.tar

Requires: vitmp
BuildRequires: libe2fs-devel

This package contains system administration tools for monitoring
and limiting user and or group disk usage per file system.

%package rpc
Group: Networking/Other
Summary: RPC quota daemon
Requires: %name = %EVR
Provides: rquotad = %version

%description rpc
rpc.rquotad is an rpc(3) server which returns quotas for a user
of a local filesystem which is mounted by a remote machine over the NFS.

%package devel
Group: Development/C
Summary: Remote quota protocol header files and documentation
BuildArch: noarch
Requires: %name = %EVR

%description devel
This package contains remote quota protocol header files and documentation.

%setup -n %name-%version-%release

%configure \
--enable-ext2direct \
--enable-werror \
--disable-bsd_behaviour \
--disable-ldapmail \
--disable-libwrap \
--disable-netlink \
--disable-silent-rules \
--disable-xfs-roothack \
%{subst_enable rpcsetquota} \

mkdir %buildroot/sbin
mv %buildroot%_sbindir/quota{on,off,check} %buildroot/sbin/
install -Dpm644 rpc-rquotad.service %buildroot%_unitdir/rpc-rquotad.service
install -Dpm644 rpc-rquotad.sysconfig %buildroot/etc/sysconfig/rpc-rquotad
%define docdir %_docdir/%name
gzip -9n %buildroot%docdir/*.eps
gzip -c9n Changelog > %buildroot%docdir/Changelog.gz

%find_lang %name

%post rpc
%post_service rpc.rquotad

%preun rpc
%preun_service rpc.rquotad

%files -f %name.lang
%config(noreplace) /etc/*quota*
%exclude %_sbindir/rpc.rquotad
%exclude %_man8dir/rpc.rquotad.8*
%doc %docdir/

%files rpc
%config(noreplace) /etc/sysconfig/rpc-rquotad

%files devel


Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin