Репозиторий Sisyphus
Последнее обновление: 18 октября 2018 | Пакетов: 18641 | Посещений: 12383559
en ru br
Репозитории ALT
S:0.10-alt1
5.1: 0.6-alt1
www.altlinux.org/Changes

Группа :: Система/Настройка/Прочее
Пакет: moodle-tools

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

# vim: set ft=spec: -*- rpm-spec -*-

# %%branch_switch set %%branch_release use

#%%define branch_switch Mxx

Name: moodle-tools
Version: 0.10
Release: %branch_release alt1

Summary: Moodle configuration tools
License: %gpl2plus
Group: System/Configuration/Other

Packager: Aleksey Avdeev <solo at altlinux.ru>
BuildArch: noarch

Source10: mt-getCFG.php
Source11: mt-setCFG.sh
Source12: mt-newdataroot.sh
Source13: mt-getdef.php
Source14: mt-setdef.sh
Source15: mt-getconfigsuffix.sh
Source16: mt-getthislanguage.php
Source17: mt-createpasswordhash.php
Source18: mt-getuserpasswordhash.php
Source19: mt-setuserpasswordhash.php

BuildRequires(pre): rpm-macros-branch
BuildPreReq: rpm-build-licenses
BuildPreReq: rpm-macros-moodle

%description
%summary

%install
install -pD -m0755 %SOURCE10 %buildroot%_sbindir/mt-getCFG
install -pD -m0755 %SOURCE11 %buildroot%_sbindir/mt-setCFG
install -pD -m0755 %SOURCE12 %buildroot%_sbindir/mt-newdataroot
install -pD -m0755 %SOURCE13 %buildroot%_sbindir/mt-getdef
install -pD -m0755 %SOURCE14 %buildroot%_sbindir/mt-setdef
install -pD -m0755 %SOURCE15 %buildroot%_sbindir/mt-getconfigsuffix
install -pD -m0755 %SOURCE16 %buildroot%_sbindir/mt-getthislanguage
install -pD -m0755 %SOURCE17 %buildroot%_sbindir/mt-createpasswordhash
install -pD -m0755 %SOURCE18 %buildroot%_sbindir/mt-getuserpasswordhash
install -pD -m0755 %SOURCE19 %buildroot%_sbindir/mt-setuserpasswordhash

sed -i '
s|%%_sbindir|%_sbindir|g
s|%%webserver_group|%webserver_group|g
s|%%moodle_datadir|%moodle_datadir|g
s|%%moodle_dir|%moodle_dir|g
s|%%moodle_domainsdir|%moodle_domainsdir|g
' %buildroot%_sbindir/mt-*

# Create symlinks

ln -s mt-newdataroot %buildroot%_sbindir/mt-newdatadir

%files
%_sbindir/mt-*

%changelog

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

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