Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-apache2-mod_qos-1021
dba-apache2-mod_qos-1021.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-apache2-mod_qos-1021.spec of Package dba-apache2-mod_qos-1021
%define vers 1021 %define real_vers 10.21 %define prefix /DBA/apache/WWW/2.2.x %define apavers 2.2.25 %define apapack 2225 %define apahome /DBA/apache/WWW/%{apavers} %define apxs %{apahome}/bin/apxs %define apache2_sysconfdir %(%{apxs} -q SYSCONFDIR) %define apache2_libexecdir %(%{apxs} -q LIBEXECDIR) %define apache2_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN) %define apache2_cflags %(%{apxs} -q CFLAGS) %define modname mod_qos Name: dba-apache2-%{modname}-%{vers} Summary: A quality of service module for the Apache Web Server Version: %{real_vers} Release: 1 License: GPL URL: http://mod-qos.sourceforge.net/ Source0: http://heanet.dl.sourceforge.net/sourceforge/mod-qos/%{modname}-%{real_vers}.tar.gz Source1: %{modname}.conf Source2: aclocal-sle11.patch Source3: aclocal-sle10.patch Source4: aclocal-rhel5.patch Source5: aclocal-fed19.patch Group: Productivity/Networking/Web/Servers BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dba-apache-%{apapack} Requires: dba-apache-base BuildRequires: gcc-c++ BuildRequires: dos2unix openssl-devel pcre-devel libpng-devel BuildRequires: automake autoconf libtool m4 patch #!BuildIgnore: dba-openssl-098o #!BuildIgnore: dba-postgresql-839 dba-postgresql-842 %if 0%{?suse_version} BuildRequires: libapr-util1-devel >= 1.3 libapr1-devel >= 1.3 %else BuildRequires: apr-util-devel apr-devel %endif %if 0%{?suse_version} >= 1110 BuildRequires: -post-build-checks %endif %description mod_qos is a quality of service module for the Apache Web Server. It implements control mechanisms that can provide different priority to different requests and controls server access based on available resources. %prep %setup -q -n %{modname}-%{real_vers} find -type f -exec dos2unix -U {} \; %build %{apxs} -c apache2/mod_qos.c export APACHE_HOME=%{apahome} cd tools ./configure %if 0%{?sles_version} == 11 patch -p0 <%{S:2} %endif %if 0%{?rhel_version} >= 500 && 0%{?rhel_version} <= 599 || 0%{?centos_version} >= 500 && 0%{?centos_version} <= 599 patch -p0 <%{S:4} %endif %if 0%{?fedora_version} patch -p0 <%{S:5} %endif %if 0%{?sles_version} == 10 echo "No tools for sles10 due to problems with apr includes" %else %{__make} %endif %install %{__mkdir_p} %{buildroot}%{prefix}/bin %{__mkdir_p} %{buildroot}%{prefix}/conf %{__mkdir_p} %{buildroot}%{prefix}/modules install -m0755 apache2/.libs/%{modname}.so %{buildroot}%{prefix}/modules/%{modname}-%{version}.so install -m0644 %{S:1} %{buildroot}%{prefix}/conf/%{modname}.conf %if 0%{?sles_version} != 10 for P in qsfilter2 qslog qspng qsrotate qssign qstail qsgrep qsexec qscheck do install -m0755 tools/src/$P %{buildroot}%{prefix}/bin/ done %endif %post cd %{prefix}/modules %{__ln_s} -f %{modname}-%{version}.so %{modname}.so %clean # %{__rm} -rf %{buildroot}; %files %defattr(-,root,root,-) %if 0%{?sles_version} != 10 %{prefix}/bin/* %endif %{prefix}/conf/%{modname}* %{prefix}/modules/%{modname}-%{version}.so %changelog * Fri Sep 27 2013 Holger Manthey <holger.manthey@bertelsmann.de> - initial build
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor