]> git.pld-linux.org Git - packages/apache1-mod_dynvhost.git/blame_incremental - 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
1%define mod_name dynvhost
2%define apxs /usr/sbin/apxs1
3Summary: Dynamic Virtual Hosting
4Summary(pl): Dynamiczne Serwery Wirtualne
5Name: apache1-mod_%{mod_name}
6Version: 1
7Release: 3
8License: GPL
9Group: Networking/Daemons
10Source0: http://funkcity.com/0101/projects/dynvhost/mod_%{mod_name}.tar.gz
11# Source0-md5: 7608ca6ce5c906bfe960cd0f92bdb6d8
12URL: http://funkcity.com/0101/
13BuildRequires: %{apxs}
14BuildRequires: apache1-devel >= 1.3.33-2
15BuildRequires: zlib-devel
16Requires(triggerpostun): %{apxs}
17Requires: apache1 >= 1.3.33-2
18Obsoletes: apache-mod_%{mod_name} <= %{version}
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
22%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
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
27domain name (FQDN) of your virtual site and the module will take
28care of the rest.
29
30%description -l pl
31