Репозиторий Sisyphus
Последнее обновление: 22 февраля 2019 | Пакетов: 18470 | Посещений: 13067063
en ru br
Репозитории ALT
S:1.4-alt13
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
Release: alt13
Summary: Databases and config files for moodle, mediawiki and rujel (common)
License: GPL
Group: System/Configuration/Other
Source: %name.tar.gz
BuildArch: noarch

%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

%description mediawiki
Databases and config files for mediawiki

%package moodle
Group: System/Configuration/Other
Requires: %name = %version-%release
Requires: moodle-install-tools moodle2.5
Summary: Databases and config files for moodle

%description moodle
Databases and config files for moodle

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

%description owncloud
Databases and config files for owncloud

%package rujel
Group: System/Configuration/Other
Requires: %name = %version-%release
Summary:  Databases and config files for 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/usr/share/install2/preinstall.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/httpd2-office-server %buildroot%_sysconfdir/firsttime.d/httpd2-office-server
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/owncloud %buildroot/etc/hooks/hostname.d/96-owncloud-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/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
/etc/firsttime.d/*-office-server
/usr/share/install2/preinstall.d/*
/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 owncloud
/etc/hooks/hostname.d/*-owncloud-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