Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37404778
en ru br
ALT Linux repositórios
S:0.1-alt1
5.0: 0.1-alt1
4.1: 0.1-alt1
4.0: 0.1-alt1
3.0: 0.1-alt1

Group :: Sistema/Servidores
RPM: apachkconfig

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define apachk_conf_file %apachk_addon_dir/defaults

Name: apachkconfig
Version: 0.1
Release: alt1

Summary: A tool for maintaining addon configuration accross different versions of Apache server
Group: System/Servers
License: GPL


Source:  %name
Source1: readme.en.txt
Source2: %name.8
Source3: %name-defaults

Requires: bash vhosts-filesystem

BuildPreReq: vhosts-filesystem-devel

%description
Provides a simple command-line tool  for  maintaining  the
apache  addon  configuration  (e.g  /etc/httpd*/addon.d) directories by
relieving system administrators of the task  of  directly  manipulating
the numerous symbolic links in those directories.

%prep
%__cp %SOURCE1 .

%build


%install
###
## Create directories
#

%__install -d \
   %buildroot%apachk_addon_dir \
   %buildroot%_sbindir \
   %buildroot%_man8dir \

###

## Real install
#    

%__install -m700 %SOURCE0 %buildroot%_sbindir/%name
%__install -m644 %SOURCE2 %buildroot%_man8dir/%name.8
%__install -m600 %SOURCE3 %buildroot%apachk_addon_dir/defaults

%__subst "s:-=apachk_addon_dir=-:%apachk_addon_dir:
s:-=apachk_addon_initd=-:%apachk_addon_initd:
s:-=apachk_favours_dir=-:%apachk_favours_dir:
" %buildroot%_sbindir/%name

%files
%attr(0400,root,root) %config(noreplace) %apachk_conf_file
%attr(0700,root,root) %_sbindir/%name
%_man8dir/*
%doc readme.en.txt

%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