Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Evergreen:11.2:Test
quota
quota.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File quota.spec of Package quota
# # spec file for package quota (Version 3.17) # # Copyright (c) 2009 SUSE LINUX Products 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/ # # norootforbuild Name: quota BuildRequires: dbus-1-devel e2fsprogs-devel libnl-devel pkg-config tcpd-devel Version: 3.17 Release: 2 PreReq: %insserv_prereq %fillup_prereq AutoReqProv: on Group: System/Filesystems License: GPL v2 only Url: http://sourceforge.net/projects/linuxquota/ Summary: Disk Quota System Source: %{name}-%{version}.tar.bz2 Source1: %{name}-SUSE.tar.bz2 Patch1: %{name}-%{version}-makefile.patch Patch2: %{name}-%{version}-man.patch Patch3: %{name}-%{version}-warnquota.patch Patch7: %{name}-%{version}-install_nld.patch # PATCH-FIX-UPSTREAM fixed mountpoint scanning when NFS mountpoint is specified on command line Patch8: %{name}-%{version}-nfs-mntpoint.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The quota subsystem allows a system administrator to set soft and hard limits on used space and the number of inodes used for users and groups. The kernel must be compiled with disk quota support enabled (SUSE kernels have this support). Authors: -------- Marco van Wieringen <mvw@planets.ow.nl> Johan Ekenberg <johan@ekenberg.nu> Jan Kara <jack@suse.cz> %package nfs License: GPL v2 only Summary: Disk Quota System on NFS Group: System/Filesystems Requires: quota = %version PreReq: %insserv_prereq %fillup_prereq # Require the services needed to be present for quotad service: portmap, nfsserver, network Requires: portmap Requires: nfs-kernel-server Requires: sysconfig # Split provides Provides: quota:/etc/init.d/quotad %description nfs The quotad init script, which provides quota support on NFS mounts. Authors: -------- Marco van Wieringen <mvw@planets.ow.nl> Johan Ekenberg <johan@ekenberg.nu> Jan Kara <jack@suse.cz> %prep %setup -q -n quota-tools -a 1 %patch1 %patch2 %patch3 %patch7 %patch8 find -type d -name CVS -exec rm -rf {} \; -prune find -type d | xargs chmod 755 %build %{suse_update_config -f} aclocal --force autoconf --force %configure \ --sysconfdir=%{_sysconfdir} \ --enable-netlink make CC="gcc" %install install -d -m 755 ${RPM_BUILD_ROOT}/etc/init.d install -d -m 755 ${RPM_BUILD_ROOT}/sbin make install ROOTDIR=${RPM_BUILD_ROOT} mv ${RPM_BUILD_ROOT}%{_sbindir}/{quotacheck,quotaon,quotaoff} ${RPM_BUILD_ROOT}/sbin/ #installing ldap-scripts install -m 755 ldap-scripts/*pl ${RPM_BUILD_ROOT}/usr/sbin/ install -m 755 ldap-scripts/edquota_editor ${RPM_BUILD_ROOT}/usr/sbin/ #ln -sf ../../sbin/quotacheck ${RPM_BUILD_ROOT}/usr/sbin/quotacheck cp SUSE/{quotad,boot.quota} ${RPM_BUILD_ROOT}/etc/init.d #ln -s ../../etc/init.d/quota ${RPM_BUILD_ROOT}/usr/sbin/rcquota ln -s ../../etc/init.d/quotad ${RPM_BUILD_ROOT}/usr/sbin/rcquotad %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post %{fillup_and_insserv -y boot.quota} %post nfs %{fillup_and_insserv quotad} %preun %stop_on_removal boot.quota %preun nfs %stop_on_removal quotad %postun %{insserv_cleanup} %postun nfs %{insserv_cleanup} %files -f %{name}.lang %defattr(-,root,root) %config /etc/quotagrpadmins %config /etc/init.d/boot.quota %config /etc/quotatab %config /etc/warnquota.conf %doc SUSE/README.SUSE README.* doc %doc %{_mandir}/man?/* /sbin/* %{_bindir}/* %{_sbindir}/* %exclude %{_sbindir}/rpc.rquotad %exclude %{_sbindir}/rcquotad %files nfs %defattr(-,root,root) %config /etc/init.d/quotad %doc SUSE/README.quotad.SUSE %{_sbindir}/rpc.rquotad %{_sbindir}/rcquotad # these files conflicts with glibc rpm %exclude /usr/include/rpcsvc/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor