quota-tools/quota-tools.spec

63 lines
1.7 KiB
RPMSpec
Raw Normal View History

Name: quota-tools
Version: 4.01
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
%{_sysconfdir}/quota/*
%{_sbindir}/*
%{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%{_mandir}/man8/*
%changelog
* 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