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