%define mod_name iptos
%define apxs %{_sbindir}/apxs1
-Summary: Apache module: assign IPTOS bits to different vhosts or directories.
+Summary: Apache module: assign IPTOS bits to different vhosts or directories
+Summary(pl.UTF-8): Moduł Apache'a: przypisywanie bitów IPTOS do różnych vhostów i katalogów
Name: apache1-mod_%{mod_name}
Version: 1.1
-Release: 0.1
+Release: 0.2
License: Apache 1.1
Group: Networking/Daemons
Source0: http://www.arctic.org/~dean/mod_iptos/libapache-mod-%{mod_name}_%{version}.orig.tar.gz
# Source0-md5: 1e5582acf63b6fabf567ecb79e57bdd5
URL: http://www.arctic.org/~dean/mod_iptos/
-BuildRequires: apache1-devel >= 1.3.33-2
+BuildRequires: apache1-devel >= 1.3.39
BuildRequires: rpmbuild(macros) >= 1.228
-Requires: apache1 >= 1.3.33-2
+Requires: apache1(EAPI)
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
%description
-Modify IPTOS bits on outbound data for fine-tuned traffic shaping
-mod_iptos is a module for apache 1.3.x which allows the admin to
+Modify IPTOS bits on outbound data for fine-tuned traffic shaping.
+mod_iptos is a module for Apache 1.3.x which allows the admin to
assign different IPTOS bits to different vhosts or directories. This
can be used in combination with traffic shaping to give much better
control (than other userland-only solutions such as mod_bandwidth)
over the bandwidth for various portions of a website.
+%description -l pl.UTF-8
+Moduł ten ma na celu modyfikowanie bitów IPTOS danych wychodzących w
+celu poprawienia możliwości ograniczania pasma. mod_iptos to moduł dla
+Apache'a 1.3.x umożliwiający przypisywanie różnych bitów IPTOS do
+różnych vhostów i katalogów. Można to wykorzystać w połączeniu z
+ograniczaniem ruchu w celu lepszej kontroli (niż inne rozwiązania
+działające wyłącznie w przestrzeni użytkownika, takie jak
+mod_bandwidth) nad pasmem dla różnych części serwisu WWW.
+
%prep
%setup -q -n libapache-mod-%{mod_name}-%{version}