Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37557143
en ru br
Репозитории ALT
S:0.8.7-alt1
5.1: 0.4-alt0.M51.1
www.altlinux.org/Changes

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

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

# -*- mode: RPM-SPEC; tab-width: 8; fill-column: 70; -*-

%define _altdata_dir %_datadir/alterator

Name: alterator-postfix-dovecot
Version: 0.4
Release: alt0.M51.1
Packager: Grigory Batalov <bga at altlinux.ru>

Summary: Alterator module for Postfix/Dovecot setup
License: GPL
Group: System/Configuration/Other

Source:%name-%version.tar

Requires: alterator >= 4.7-alt1 alterator-sh-functions >= 0.6-alt5
Requires: alterator-l10n >= 2.9-alt0.M51.1
#Conflicts: alterator-fbi < 5.17-alt3
Conflicts: alterator-lookout < 1.6-alt3

Requires: postfix postfix-tls postfix-ldap postfix-dovecot dovecot sa-content-filter

BuildArch: noarch
#BuildPreReq: alterator >= 4.7-alt1

# Automatically added by buildreq on Mon Jul 11 2005 (-bi)

BuildRequires: alterator

%package -n installer-feature-mail-init-stage3
Summary: Postfix/Dovecot module setup
Group: System/Configuration/Other

%description -n installer-feature-mail-init-stage3
%summary

%description
Alterator module for Postfix/Dovecot setup

%prep
%setup -q

%build
%make_build

%install
%makeinstall
%find_lang %name

mkdir -p %buildroot%_datadir/install2/postinstall.d/
cat << EOF > %buildroot%_datadir/install2/postinstall.d/81-postfix-dovecot.sh
#!/bin/sh -efu

a= . install2-init-functions

exec_chroot alterator-cmdline /postfix-dovecot action init
exec_chroot chkconfig postfix on
exec_chroot chkconfig dovecot on
exec
EOF
chmod 755 %buildroot%_datadir/install2/postinstall.d/81-postfix-dovecot.sh

%files -f %name.lang
%_datadir/alterator/applications/*
%_datadir/alterator/ui/*
%_alterator_backend3dir/*
%_datadir/%name
%_sysconfdir/hooks/hostname.d/*

%files -n installer-feature-mail-init-stage3
%_datadir/install2/postinstall.d/*

%changelog

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

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