Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-apache2-mod_passenger-3012
dba-apache2-mod_passenger-3012.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-apache2-mod_passenger-3012.spec of Package dba-apache2-mod_passenger-3012
%define vers 3012 %define real_vers 3.0.12 %define prefix /DBA/apache/WWW/2.2.x %if 0%{?suse_version} >= 1200 %define apavers 2.2.21 %define apapack 2221 %else %define apavers 2.2.20 %define apapack 2220 %endif %define apahome /DBA/apache/WWW/%{apavers} %define apxs %{apahome}/bin/apxs %define real_name passenger %define modname mod_passenger Name: dba-apache2-%{modname}-%{vers} Summary: Apache module for Ruby on Rails support Version: %{real_vers} Release: 1 License: GPL Url: http://httpd.apache.org/mod_fcgid/ Source0: http://rubygems.org/downloads/%{real_name}-%{version}.gem Group: Productivity/Networking/Web/Servers BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dba-apache-%{apapack} Requires: dba-apache-base BuildRequires: ruby-devel rubygems rubygem-rake BuildRequires: gcc gcc-c++ libstdc++-devel curl-devel Requires: rubygem-rake #!BuildIgnore: dba-openssl-098o dba-openssl-098r %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 Apache module for Ruby on Rails support %prep %setup -q -c -T -n %{real_name}-%{real_vers} gem unpack %{SOURCE0} --target %{_builddir} %build %define _disable_ld_no_undefined 1 export CFLAGS="%{optflags} -O0 -march=nocona -pipe" export APXS2="%{apxs}" # rake --apxs2-path %{apxs} apache2 rake apache2 %install %{__mkdir_p} %{buildroot}%{prefix}/modules install -m 755 ext/apache2/%{modname}.so %{buildroot}%{prefix}/modules/%{modname}-%{version}.so %post cd %{prefix}/modules %{__ln_s} -f %{modname}-%{version}.so %{modname}.so %clean %{__rm} -rf %{buildroot}; %files %defattr(-,root,root,-) %{prefix}/modules/%{modname}-%{version}.so %changelog * Thu May 24 2012 Holger Manthey <holger.manthey@bertelsmann.de> - initial release
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