Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37902190
en ru br
ALT Linux repositórios
S:5.4.3-alt3

Group :: Sistema/Servidores
RPM: webobjects

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: webobjects
Version: 5.4.3
Release: alt2

Summary: WebObjects runtime environment scripts
Summary(ru_RU.UTF-8): Среда исполнения web-приложений WebObjects

License: Distributable
Group: System/Servers
URL: http://developer.apple.com/tools/webobjects/
BuildArch: noarch
Packager: Gennady Kushnir <baywind at altlinux.org>

Source: %{name}-%{version}.tar

Requires: helloWO = 5.4.3
Requires: woadaptor >= 5.4
Provides: wotaskd womonitor

BuildRequires: rpm-macros-webobjects

%description
This package provides init.d scripts and initial configuration for WebObjects runtime environment.
Environment files itself should be installed by required packages.

WebObjects is a set java frameworks for building complex web-applications.
It gives developers a comprehensive suite of tools and frameworks for quickly
developing standards-based web services and Java server applications.
A powerful rapid application development environment, backed by web service,
data access, and page generation capabilities, extends the reach of developers
and reduces the cost of ownership by ensuring flexible, maintainable design.
WebObjects is the ideal way to develop, deploy, and extend powerful web services.

%description -l ru_RU.UTF-8
В этом пакте содержатся скрипты init.d и первоначальная конфигурация среды исполения WebObjects.
Необходимые файлы среды исполнения должны быть установлены с требуемыми пакетами.

%prep
%setup

subst "s,/opt/apple/Local/Library/WebObjects/Logs,%wo_logdir,g" SiteConfig.xml
subst "s,/opt/apple/Local/Library/WebObjects/Configuration,%wo_configdir,g" SiteConfig.xml
subst "s,/opt/apple,%wo_next_root,g" SiteConfig.xml
subst "s,/opt/apple,%wo_next_root,g" wotaskd
subst "s,/opt/apple,%wo_next_root,g" womonitor
subst "s,\$WO_CONFIGDIR,%wo_configdir,g" wotaskd
subst "s,\$WO_CONFIGDIR,%wo_configdir,g" womonitor


%install
install -m755 -pD wotaskd %buildroot%_initdir/wotaskd
install -m755 -pD womonitor %buildroot%_initdir/womonitor
install -m640 -pD SiteConfig.xml %buildroot%wo_configdir/SiteConfig.xml

%post
%post_service wotaskd
%post_service womonitor

%preun
%preun_service wotaskd
%preun_service womonitor

%files
%attr(0640,%wo_user,%wo_group) %config(noreplace) %wo_configdir/SiteConfig.xml
%_initdir/wotaskd
%_initdir/womonitor

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009