]> git.pld-linux.org Git - packages/apache-mod_vhost_mysql.git/blame - apache-mod_vhost_mysql.spec
- cosmetics
[packages/apache-mod_vhost_mysql.git] / apache-mod_vhost_mysql.spec
CommitLineData
e94b8853 1#
2# Conditional build:
3%bcond_with publichtml # enables search of public_html in home taken from mysql
4#
2cde4b59 5%define mod_name vhost_mysql
6%define apxs /usr/sbin/apxs
803005ec
JB
7Summary: Apache vhost in MySQL
8Summary(pl): Wirtualne hosty dla Apache'a w bazie MySQL
2cde4b59 9Name: apache-mod_%{mod_name}
10Version: 0.10
71795966 11Release: 6
2cde4b59 12License: GPL
13Group: Networking/Daemons
803005ec 14Source0: http://fabienne.tc2.utelisys.net/~skinkie/mod_vhost_mysql2/mod_%{mod_name}2-%{version}.tar.gz
2cde4b59 15# Source0-md5: c47c8dc4ac41e9ed2c91a239c876d272
7761a207 16Source1: apache_vhost_mysql.conf
71795966 17Patch0: mod_%{mod_name}2-publichtml.patch
2cde4b59 18BuildRequires: %{apxs}
5171fc9d 19BuildRequires: apache-devel >= 2.0
2cde4b59 20BuildRequires: db-devel >= 4.2.52
21BuildRequires: mysql-devel
a4066740 22BuildRequires: rpmbuild(macros) >= 1.268
5171fc9d 23Requires: apache(modules-api) = %apache_modules_api
2cde4b59 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
5171fc9d
ER
26%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
27%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
2cde4b59 28
29%description
803005ec
JB
30This module provides dynamically configured virtual hosting using
31MySQL in Apache2.
32
33%description -l pl
34