From c12241b06c9a1701420e6d8e3da9196d9cf0d50d Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Nov 16 2010 10:38:08 +0000 Subject: Separate gettext catalogs They are required by all binary sub-package. --- diff --git a/quota.spec b/quota.spec index acdeee4..f9e71fa 100644 --- a/quota.spec +++ b/quota.spec @@ -11,6 +11,7 @@ URL: http://sourceforge.net/projects/linuxquota/ Group: System Environment/Base BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: initscripts >= 6.38 tcp_wrappers +Requires: quota-nls = %{epoch}:%{version}-%{release} Conflicts: kernel < 2.4 BuildRequires: e2fsprogs-devel gettext tcp_wrappers-devel nss-devel BuildRequires: openldap-devel openssl-devel dbus-devel libnl-devel @@ -39,6 +40,7 @@ and limiting user and or group disk usage per file system. Summary: quota_nld daemon Group: System Environment/Base Requires: initscripts +Requires: quota-nls = %{epoch}:%{version}-%{release} Requires(post): chkconfig Requires(preun): chkconfig initscripts @@ -53,6 +55,7 @@ a dialog) and writing them to the terminal user has last accessed. %package warnquota Summary: Send e-mail to users over quota Group: System Environment/Base +Requires: quota-nls = %{epoch}:%{version}-%{release} %description warnquota Utility that checks disk quota for each local file system and mails a warning @@ -60,6 +63,15 @@ message to those users who have reached their soft limit. It is typically run via cron(8). +%package nls +Summary: Gettext catalogs for disk quota tools +Group: System Environment/Base +BuildArch: noarch + +%description nls +Disk quota tools messages translated into different natural languages. + + %package devel Summary: Development files for quota Group: System Environment/Base @@ -169,7 +181,7 @@ fi rm -rf %{buildroot} -%files -f %{name}.lang +%files %defattr(-,root,root,-) %attr(0755,root,root) /sbin/* %attr(0755,root,root) %{_bindir}/* @@ -199,6 +211,10 @@ rm -rf %{buildroot} %attr(0644,root,root) %{_mandir}/man8/warnquota.8* %doc Changelog README.ldap-support README.mailserver +%files nls -f %{name}.lang +%defattr(-,root,root,-) +%doc Changelog + %files devel %defattr(-,root,root,-) %dir %{_includedir}/rpcsvc @@ -213,6 +229,7 @@ rm -rf %{buildroot} %changelog * Tue Nov 16 2010 Petr Pisar - 1:4.00-0.1.pre1 - 4.00-pre1 bump +- Separate gettext catalogs becuase they are required by all binary sub-packages * Mon Nov 15 2010 Petr Pisar - 1:3.17-18 - Break warnquota dependency on main package