quota-tools/quota-tools.spec

95 lines
2.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: quota-tools
Version: 4.02
Release: 1mamba
Summary: User space tools for the Linux Diskquota system as part of the Linux kernel
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/linuxquota/
Source: http://downloads.sourceforge.net/sourceforge/linuxquota/quota-%{version}.tar.gz
License: GPL
BuildRequires: gettext-devel >= 0.14.1
BuildRequires: libwrap-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
User space tools for the Linux Diskquota system as part of the Linux kernel.
%prep
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%setup -q -n quota-tools
%build
%configure --sysconfdir=%{_sysconfdir}/quota
%make LDFLAGS="-ltirpc"
%install
%makeinstall ROOTDIR=%{buildroot}
#sysconfdir=%{buildroot}%{_sysconfdir}/quota
# delete headers because they are already in glibc-devel
rm -f %{buildroot}%{_includedir}/rpcsvc/*
#mv %{buildroot}%{_mandir}/man2/quotactl.2 %{buildroot}%{_mandir}/man2/quotactl-quotatools.2
%find_lang quota
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f quota.lang
%defattr(-,root,root)
%dir %{_sysconfdir}/quota
%config(noreplace) %{_sysconfdir}/quota/quotagrpadmins
%config(noreplace) %{_sysconfdir}/quota/quotatab
%config(noreplace) %{_sysconfdir}/quota/warnquota.conf
%{_bindir}/quota
%{_bindir}/quotasync
%{_sbindir}/convertquota
%{_sbindir}/edquota
%{_sbindir}/quot
%{_sbindir}/quotacheck
%{_sbindir}/quotaoff
%{_sbindir}/quotaon
%{_sbindir}/quotastats
%{_sbindir}/repquota
%{_sbindir}/rpc.rquotad
%{_sbindir}/setquota
%{_sbindir}/warnquota
%{_sbindir}/xqmstats
%{_mandir}/man1/quota.1*
%{_mandir}/man1/quotasync.1*
%{_mandir}/man3/rquota.3*
%{_mandir}/man5/quotagrpadmins.5*
%{_mandir}/man5/quotatab.5*
%{_mandir}/man5/warnquota.conf.5*
%{_mandir}/man8/convertquota.8*
%{_mandir}/man8/edquota.8*
%{_mandir}/man8/quot.8*
%{_mandir}/man8/quota_nld.8*
%{_mandir}/man8/quotacheck.8*
%{_mandir}/man8/quotaon.8*
%{_mandir}/man8/quotastats.8*
%{_mandir}/man8/repquota.8*
%{_mandir}/man8/rpc.rquotad.8*
%{_mandir}/man8/setquota.8*
%{_mandir}/man8/warnquota.8*
%{_mandir}/man8/xqmstats.8*
%changelog
* Sat Mar 21 2015 Automatic Build System <autodist@mambasoft.it> 4.02-1mamba
- automatic version update by autodist
* Fri Jul 12 2013 Automatic Build System <autodist@mambasoft.it> 4.01-1mamba
- update to 4.01
* Tue Jan 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.17-1mamba
- automatic update by autodist
* Fri Sep 21 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.15-1mamba
- update to 3.15
* Wed May 06 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.11-1qilnx
- first build