Sisyphus repositório
Última atualização: 28 junho 2022 | SRPMs: 17495 | Visitas: 24459891
en ru br
ALT Linux repositórios
S:1.5.3-alt1

Group :: Sistema/Configurações/Rede
RPM: installed-db-office-server

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define system_requires apache2-base, apache2-mod_php7, apache2-mod_ssl, mariadb-server
%define deploy_requires deploy >= 0.3
%define rule_requires   python3-module-pymysql, pwgen, curl

Name: installed-db-office-server
Version: 1.5.3
Release: alt1
Summary: Databases and config files for moodle, mediawiki and nextcloud
License: GPL-2.0+
Group: System/Configuration/Other
Source: %name-%version.tar
BuildArch: noarch

Requires: %name-mediawiki = %EVR
Requires: %name-nextcloud = %EVR
Requires: %name-moodle = %EVR

%description
Databases and config files for moodle, mediawiki and nextcloud

%package mediawiki
Summary: Databases and config files for mediawiki
Group: System/Configuration/Other
Requires: %system_requires
Requires: %deploy_requires
Requires: %rule_requires
Requires: mediawiki
Requires: mediawiki-apache2
Requires: mediawiki-mysql

%description mediawiki
Databases and config files for mediawiki

%package moodle
Summary: Databases and config files for moodle
Group: System/Configuration/Other
Requires: %system_requires
Requires: %deploy_requires
Requires: %rule_requires
Requires: moodle
Requires: moodle-apache2
Requires: moodle-base
Requires: moodle-local-mysql

%description moodle
Databases and config files for moodle

%package nextcloud
Summary: Databases and config files for nextcloud
Group: System/Configuration/Other
Requires: %system_requires
Requires: %deploy_requires
Requires: %rule_requires
Requires: nextcloud
Requires: nextcloud-apache2
Requires: php7-pcntl
Requires: php7-pdo_mysql
Provides: %name-owncloud = %EVR
Obsoletes: %name-owncloud < %EVR

%description nextcloud
Databases and config files for nextcloud

%prep
%setup

%build

%install
for service in mediawiki nextcloud moodle; do
   install -Dp -m755 $service %buildroot%_sysconfdir/firsttime.d/80-office-server-$service
   install -Dp -m755 ${service}-password %buildroot%_libexecdir/alterator/hooks/root.d/$service
done

%files

%files mediawiki
%_sysconfdir/firsttime.d/80-office-server-mediawiki
%_libexecdir/alterator/hooks/root.d/mediawiki

%files moodle
%_sysconfdir/firsttime.d/80-office-server-moodle
%_libexecdir/alterator/hooks/root.d/moodle

%files nextcloud
%_sysconfdir/firsttime.d/80-office-server-nextcloud
%_libexecdir/alterator/hooks/root.d/nextcloud

%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