diff --git a/README.md b/README.md index 5a7beaf..f50b90e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # quota-tools +User space tools for the Linux Diskquota system as part of the Linux kernel. + diff --git a/quota-tools.spec b/quota-tools.spec new file mode 100644 index 0000000..308e3b6 --- /dev/null +++ b/quota-tools.spec @@ -0,0 +1,62 @@ +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 +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 4.01-1mamba +- update to 4.01 + +* Tue Jan 27 2009 Silvan Calarco 3.17-1mamba +- automatic update by autodist + +* Fri Sep 21 2007 Silvan Calarco 3.15-1mamba +- update to 3.15 + +* Wed May 06 2004 Silvan Calarco 3.11-1qilnx +- first build