Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37513573
en ru br
Репозитории ALT
S:0.2.2-alt1
5.1: 0.2-alt1
4.1: 0.1-alt2.M41.1
www.altlinux.org/Changes

Группа :: Сети/WWW
Пакет: alt-docs-apache2

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

# defs from rpm-macros-apache2
%define post_apache2conf /sbin/service httpd2 condreload
%define postun_apache2conf /sbin/service httpd2 condreload
%define apache2_extra_available /etc/httpd2/conf/extra-available
%define apache2_extra_start /etc/httpd2/conf/extra-start.d
%define apache2_mods_start /etc/httpd2/conf/mods-start.d

Name: alt-docs-apache2
Version: 0.1
Release: alt2.M41.1

Summary: apache2-related config for ALT Linux documentation
License: %gpl3plus
Group: Networking/WWW
URL: http://git.altlinux.org/people/azol/packages/%name.git
Packager: Artem Zolochevskiy <azol at altlinux.org>
Buildarch: noarch

Source: %name-%version.tar

BuildRequires(pre): rpm-build-licenses
Requires: apache2
Requires: indexhtml

%description
apache2-related config for ALT Linux documentation.

Documentation is accessible by URL:
http://localhost/alt-docs/

%prep
%setup

%install
install -p -m644 -D alt-docs.conf %buildroot%apache2_extra_available/alt-docs.conf
install -p -m644 -D alt-docs-extra-available.conf %buildroot%apache2_extra_start/030-alt-docs.conf
install -p -m644 -D alt-docs-mods-start.conf %buildroot%apache2_mods_start/030-alt-docs.conf

%files
%apache2_extra_available/*
%apache2_extra_start/*
%apache2_mods_start/*

%post
%_sbindir/a2chkconfig > /dev/null
%post_apache2conf

%preun
%_sbindir/a2disextra alt-docs > /dev/null

%postun
%postun_apache2conf

%changelog

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

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