]>
Commit | Line | Data |
---|---|---|
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 |
7 | Summary: Apache vhost in MySQL |
8 | Summary(pl): Wirtualne hosty dla Apache'a w bazie MySQL | |
2cde4b59 | 9 | Name: apache-mod_%{mod_name} |
10 | Version: 0.10 | |
71795966 | 11 | Release: 6 |
2cde4b59 | 12 | License: GPL |
13 | Group: Networking/Daemons | |
803005ec | 14 | Source0: http://fabienne.tc2.utelisys.net/~skinkie/mod_vhost_mysql2/mod_%{mod_name}2-%{version}.tar.gz |
2cde4b59 | 15 | # Source0-md5: c47c8dc4ac41e9ed2c91a239c876d272 |
7761a207 | 16 | Source1: apache_vhost_mysql.conf |
71795966 | 17 | Patch0: mod_%{mod_name}2-publichtml.patch |
2cde4b59 | 18 | BuildRequires: %{apxs} |
5171fc9d | 19 | BuildRequires: apache-devel >= 2.0 |
2cde4b59 | 20 | BuildRequires: db-devel >= 4.2.52 |
21 | BuildRequires: mysql-devel | |
a4066740 | 22 | BuildRequires: rpmbuild(macros) >= 1.268 |
5171fc9d | 23 | Requires: apache(modules-api) = %apache_modules_api |
2cde4b59 | 24 | BuildRoot: %{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 |
30 | This module provides dynamically configured virtual hosting using |
31 | MySQL in Apache2. | |
32 | ||
33 | %description -l pl | |
34 |