%apache_version 	%get_version apache-devel
%apache_release 	%get_release apache-devel

%apache_basedir 	%_sysconfdir/httpd

%apache_confdir 	%apache_basedir/conf
%apache_addonconfdir	%apache_confdir/addon-modules
%apache_modconfdir	%apache_confdir/addon-modules.d
%apache_vhconfdir	%apache_confdir/vhosts.d
%apache_conf		%apache_confdir/httpd.conf

%apache_moduledir	%apache_basedir/modules
%apache_logdir 		%apache_basedir/logs

%apache_datadir		%_var/www
%apache_htdocsdir	%apache_datadir/html
%apache_cgibindir	%apache_datadir/cgi-bin
%apache_vhostdir	%apache_datadir/vhosts

%apache_tmpdir		%_spooldir/apache

%apache_apxs		%_sbindir/apxs

%apache_user		apache
%apache_group		apache
%apache_webmaster	webmaster

# Standard %%post/%%postun scripts for packages extending apache configuration
# see also https://bugzilla.altlinux.org/show_bug.cgi?id=1735
%post_apacheconf	/sbin/service httpd condreload
%postun_apacheconf	/sbin/service httpd condreload

