Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37685851
en ru br
ALT Linux repositórios
S:0.2.2-alt1
5.0: 0.1-alt2
4.1: 0.1-alt2.M41.1

Group :: Rede/WWW
RPM: alt-docs-apache2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define apache2docstartalias alt-docs
%define apache2indexhtmlalias indexhtml
%define apache2documentationalias documentation
%define _indexhtmldir %_defaultdocdir/indexhtml
%define _documentationdir %_defaultdocdir/documentation

Name: alt-docs-apache2
Version: 0.2.2
Release: alt1

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
BuildRequires: rpm-macros-apache2
BuildRequires: cmake
Requires: apache2
Requires: indexhtml

%description
apache2-related config for ALT Linux documentation.

Documentation is accessible by URL:
http://localhost/%apache2docstartalias

%prep
%setup

%build
cmake \
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DSYSCONF_DIR=/etc \
 -DAPACHE2_INDEXHTML_ALIAS=%apache2indexhtmlalias \
 -DAPACHE2_INDEXHTML_DIR=%_indexhtmldir \
 -DAPACHE2_DOCUMENTATION_ALIAS=%apache2documentationalias \
 -DAPACHE2_DOCUMENTATION_DIR=%_documentationdir \
 -DAPACHE2_DOCSTART_ALIAS=%apache2docstartalias \

%install
%makeinstall_std

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

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

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

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009