%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	%_libdir/apache
%apache_moduleperldir	%_libdir/apache-perl
%apache_logdir		%_logdir/httpd

%apache_modulelink	%apache_basedir/modules
%apache_moduleperllink	%apache_basedir/modules-perl
%apache_loglink		%apache_basedir/logs

%apache_datadir		%webserver_datadir
%apache_htdocsdir	%webserver_htdocsdir
%apache_htdocsaddondir	%webserver_htdocsaddondir
%apache_cgibindir	%webserver_cgibindir
%apache_iconsdir	%webserver_iconsdir
%apache_iconssmalldir	%webserver_iconssmalldir
%apache_vhostdir	%webserver_vhostdir
%apache_webappsdir	%webserver_webappsdir

%apache_tmpdir		%_spooldir/apache

%apache_apxs		%_sbindir/apxs

%apache_user		apache
%apache_group		apache
%apache_webmaster	%webserver_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

# aliases
%apache_root		%apache_basedir
%apache_home		%webserver_datadir
