Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37559714
en ru br
ALT Linux repos
S:6.1.4-alt1

Group :: System/Servers
RPM: woadaptor

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: woadaptor
Version: 5.4
Release: alt3.1

Summary: WebObjects adaptor for Apache 2.2
Summary(ru_RU.UTF-8): WebObjects-адаптор для Apache 2.2

License: APPLE PUBLIC SOURCE LICENSE
Group: System/Servers

URL: https://github.com/projectwonder/wonder/tree/master/Utilities/Adaptors
#URL: http://wonder.svn.sourceforge.net/viewvc/wonder/trunk/Wonder/Utilities/Adaptors/
Packager: Gennady Kushnir <baywind at altlinux.org>

Source0: %{name}-%{version}.tar
Patch1: %{name}-%{version}-alt-config.patch

Requires: %apache2_name-base >= 2.2.22-alt15
Requires: %apache2_name-mmn = %apache2_mmn
Requires: %apache2_libaprutil_name >= %apache2_libaprutil_evr
Requires: %apache2_libapr_name >= %apache2_libapr_evr
Provides: mod_WebObjects.so

BuildRequires(pre): apache2-devel > 2.2.22-alt15
BuildRequires: rpm-macros-webobjects

%description
Apache 2.2 extension module that interacts with WebObjects web-applications and configuration files for one

%description -l ru_RU.UTF-8
Модуль расширения для Apache 2.2 , который позволяет работать с web-приложениями WebObjects

%prep
%setup -a 0
%patch1 -p2

%build
%make

subst "s,LOCAL_LIBRARY_DIR,%wo_localroot/Library,g" Apache2.2/apache.conf
subst "s,modules/,%apache2_moduledir/,g" Apache2.2/apache.conf


%install
install -D -m 644 Apache2.2/mod_WebObjects.so %buildroot%apache2_moduledir/mod_WebObjects.so
install -D -m 644 Apache2.2/apache.conf %buildroot%apache2_extra_available/webobjects.conf
install -d  %buildroot%apache2_extra_start
echo "webobjects=yes" > %buildroot%apache2_extra_start/030-webobjects.conf

# activate module %%ghost config

mkdir -p %buildroot%apache2_extra_enabled
touch %buildroot%apache2_extra_enabled/webobjects.conf


%files
%apache2_moduledir/mod_WebObjects.so
%config(noreplace) %apache2_extra_available/webobjects.conf
%config %apache2_extra_start/030-webobjects.conf
%ghost %apache2_extra_enabled/webobjects.conf

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin