Репозиторий Sisyphus
Последнее обновление: 14 октября 2019 | Пакетов: 17518 | Посещений: 15265562
en ru br
Репозитории ALT
S:1.4.6-alt1
5.1: 1.0-alt5
www.altlinux.org/Changes

Группа :: Система/Настройка/Прочее
Пакет: installed-db-office-server

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: installed-db-office-server
Version: 1.4.5
Release: alt1
Summary: Databases and config files for moodle, mediawiki and rujel (common)
License: GPL
Group: System/Configuration/Other
Source: %name.tar.gz
BuildArch: noarch

Requires: pwgen
Requires: MySQL-server-control

%description
Databases and config files for moodle, mediawiki and rujel (commom part)

%package mediawiki
Group: System/Configuration/Other
Requires: mediawiki mediawiki-apache2 mediawiki-ldap
Requires: %name = %version-%release
Summary: Databases and config files for mediawiki
Requires: mediawiki
Requires: mediawiki-mysql
Requires: mediawiki-ldap

%description mediawiki
Databases and config files for mediawiki

%package moodle
Group: System/Configuration/Other
Requires: %name = %version-%release
Requires: moodle-install-tools
Requires: moodle
Requires: moodle-apache2
Requires: moodle-base
Requires: moodle-local-mysql
Summary: Databases and config files for moodle

%description moodle
Databases and config files for moodle

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

%description nextcloud
Databases and config files for nextcloud

%package rujel
Group: System/Configuration/Other
Requires: %name = %version-%release
Summary:  Databases and config files for rujel
Requires: rujel

%description rujel
Databases and config files for rujel

%prep
%setup -q -c

%build

%install

mkdir -p %buildroot/usr/share/%name
install -Dp -m755 %name/80-office-server %buildroot%_sysconfdir/firsttime.d/80-office-server
install -Dp -m755 %name/95-office-server-postinstall %buildroot/usr/share/install2/postinstall.d/95-office-server-postinstall
install -Dp -m755 %name/root.d %buildroot/usr/lib/alterator/hooks/root.d/installed-db
install -Dp -m755 %name/moodle %buildroot/etc/hooks/hostname.d/94-moodle-ldap
install -Dp -m755 %name/mediawiki %buildroot/etc/hooks/hostname.d/95-mediawiki-ldap
install -Dp -m755 %name/nextcloud %buildroot/etc/hooks/hostname.d/96-nextcloud-ldap
install -Dp -m755 %name/rujel %buildroot/etc/hooks/hostname.d/97-rujel-ldap

cp -r %name/data/* %buildroot/usr/share/%name/
install -Dp -m755 %name/apache-office-server %buildroot/usr/share/%name/
install -Dp -m755 %name/mysql-office-server %buildroot/usr/share/%name/
mkdir -p %buildroot/var/www/webapps/mediawiki
# ln -s /usr/share/doc/alt-docs/indexhtml/img/project-logo.png %buildroot/var/www/webapps/mediawiki/project-logo.png

%files
# /var/www/webapps/mediawiki/project-logo.png
/usr/share/%name
%_sysconfdir/firsttime.d/80-office-server
/usr/share/install2/postinstall.d/*
/usr/lib/alterator/hooks/root.d/*

%files mediawiki
/etc/hooks/hostname.d/*-mediawiki-ldap

%files moodle
/etc/hooks/hostname.d/*-moodle-ldap

%files nextcloud
/etc/hooks/hostname.d/*-nextcloud-ldap

%files rujel
/etc/hooks/hostname.d/*-rujel-ldap


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin