]> git.pld-linux.org Git - packages/apache1-mod_dynvhost.git/blame - apache1-mod_dynvhost.spec
- restart apache in %postun rather in %preun as the config file, loading module
[packages/apache1-mod_dynvhost.git] / apache1-mod_dynvhost.spec
CommitLineData
f93a0006 1%define mod_name dynvhost
8af3d19f 2%define apxs /usr/sbin/apxs1
f93a0006
AM
3Summary: Dynamic Virtual Hosting
4Summary(pl): Dynamiczne Serwery Wirtualne
8af3d19f 5Name: apache1-mod_%{mod_name}
f93a0006 6Version: 1
f98a00c6 7Release: 3
f93a0006
AM
8License: GPL
9Group: Networking/Daemons
f93a0006 10Source0: http://funkcity.com/0101/projects/dynvhost/mod_%{mod_name}.tar.gz
d1866533 11# Source0-md5: 7608ca6ce5c906bfe960cd0f92bdb6d8
cf611ec1 12URL: http://funkcity.com/0101/
cfc035b4 13BuildRequires: %{apxs}
09a2c30a 14BuildRequires: apache1-devel >= 1.3.33-2
f93a0006 15BuildRequires: zlib-devel
09a2c30a
ER
16Requires(triggerpostun): %{apxs}
17Requires: apache1 >= 1.3.33-2
8af3d19f 18Obsoletes: apache-mod_%{mod_name} <= %{version}
f93a0006
AM
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
09a2c30a
ER
21%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
22%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
f93a0006
AM
23
24%description
25The "mod_dynvhost" module will create pseudo name based VirtualHosts
26on the fly. All you need is a directory with the fully qualified
09a2c30a 27domain name (FQDN) of your virtual site and the module will take
f93a0006
AM
28care of the rest.
29
30%description -l pl
31