Группа :: Сети/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 можно просмотреть здесь
%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 можно просмотреть здесь