4 |
|
|
5 |
%define name smeserver-wordpress |
%define name smeserver-wordpress |
6 |
%define version 1.0 |
%define version 1.0 |
7 |
%define release 10 |
%define release 11 |
8 |
Summary: smserver rpm to setup mysql database and web link for wordpress weblog |
Summary: smserver rpm to setup mysql database and web link for wordpress weblog |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
16 |
Patch0: smeserver-wordpress-1.0-rm80opt.patch |
Patch0: smeserver-wordpress-1.0-rm80opt.patch |
17 |
Patch1: smeserver-wordpress-1.0-tmp_folder.patch |
Patch1: smeserver-wordpress-1.0-tmp_folder.patch |
18 |
Patch2: smeserver-wordpress-1.0-wpEPEL.patch |
Patch2: smeserver-wordpress-1.0-wpEPEL.patch |
19 |
|
Patch3: smeserver-wordpress-1.0-patch3.patch |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
22 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
28 |
smserver rpm to setup mysql database and web link for wordpress weblog |
smserver rpm to setup mysql database and web link for wordpress weblog |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Tue Nov 5 2013 JP Pialasse <tests@pialasse.com> 1.0-11.sme |
32 |
|
- error in config file [SME: 7978] |
33 |
|
- also added more configuration option |
34 |
|
- added /usr/share/php/ in phpbasedir [SME: 7977] |
35 |
|
|
36 |
* Sun Oct 27 2013 JP Pialasse <tests@pialasse.com> 1.0-10.sme |
* Sun Oct 27 2013 JP Pialasse <tests@pialasse.com> 1.0-10.sme |
37 |
- rewritten for epel version of wordpress |
- rewritten for epel version of wordpress |
38 |
- added createlinks and conf-wordpress event |
- added createlinks and conf-wordpress event |
83 |
%patch0 -p1 |
%patch0 -p1 |
84 |
%patch1 -p1 |
%patch1 -p1 |
85 |
%patch2 -p1 |
%patch2 -p1 |
86 |
|
%patch3 -p1 |
87 |
|
|
88 |
%build |
%build |
89 |
#mkdir -p root/etc/e-smith/db/accounts/defaults/wordpress |
perl createlinks |
90 |
|
#mkdir -p root/etc/e-smith/db/accounts/defaults/wordpress |
91 |
#echo "reserved" > root/etc/e-smith/db/accounts/defaults/wordpress/type |
#echo "reserved" > root/etc/e-smith/db/accounts/defaults/wordpress/type |
92 |
# |
# |
93 |
#mkdir -p root/etc/e-smith/db/configuration/defaults/wordpress |
#mkdir -p root/etc/e-smith/db/configuration/defaults/wordpress |