Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-apache2-mod_qos-1137
dba-apache2-mod_qos-1137.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-apache2-mod_qos-1137.spec of Package dba-apache2-mod_qos-1137
%define vers 1137 %define real_vers 11.37 %define prefix /DBA/apache/WWW/2.2.x %define apavers 2.2.31 %define apapack 2231 %define apahome /DBA/apache/WWW/%{apavers} %define sslhome /DBA/openssl/1.0.1u %define apxs %{apahome}/bin/apxs %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 Group: Productivity/Networking/Web/Servers BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dba-apache-%{apapack} BuildRequires: dba-openssl-101u-static 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 #!BuildIgnore: nspr dba-geoip-148 dba-geoip-160 %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. %package tools Summary: Tools for qos module Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version} %description tools Tools for qos module %prep %setup -q -n %{modname}-%{real_vers} find -type f -exec dos2unix -U {} \; %build %{apxs} -c apache2/mod_qos.c -I%{sslhome}/include -L%{sslhome}/lib -lcrypto -lssl export APACHE_HOME=%{apahome} cd tools aclocal autoreconf --force --install ./configure # Bug in ARP %if 0%{?sles_version} == 10 perl -pi -e 's|apr-1 64/include|apr-1|g' Make* src/Make* perl -pi -e 's|apr-1 /include|apr-1|g' Make* src/Make* %endif %{__make} %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}-%{version}.conf %if 0%{?sles_version} != 10 for P in qsgeo qshead qslogger 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,-) %{prefix}/conf/%{modname}* %{prefix}/modules/%{modname}-%{version}.so %files tools %defattr(-,root,root) %if 0%{?sles_version} != 10 %{prefix}/bin/* %endif %changelog * Mon Mar 6 2017 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