1 |
# $Id: smeserver-wordpress.spec,v 1.3 2015/11/18 14:26:52 stephdl Exp $ |
# $Id: smeserver-wordpress.spec,v 1.2 2021/03/07 11:06:19 brianr Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
5 |
%define name smeserver-wordpress |
%define name smeserver-wordpress |
6 |
%define version 1.2 |
%define version 1.2 |
7 |
%define release 9 |
%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} |
17 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
18 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
19 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 9.0 |
20 |
Requires: wordpress |
#Requires: wordpress |
21 |
AutoReqProv: no |
AutoReqProv: no |
22 |
Patch0: smeserver-wordpress-1.2.NfrHttpdDirective.patch |
Patch0: smeserver-wordpress-1.2.NfrHttpdDirective.patch |
23 |
|
Patch1: smeserver-wordpress-1.2-Add-in-update-event-and-fix-php-fpw.patch |
24 |
|
Patch2: smeserver-wordpress-1.2-Remove-need-for-wordpress-rpm.patch |
25 |
%description |
%description |
26 |
smserver rpm to setup mysql database and web link for wordpress weblog |
smserver rpm to setup mysql database and web link for wordpress weblog |
27 |
|
|
28 |
%changelog |
%changelog |
29 |
|
* Tue Mar 09 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-11.sme |
30 |
|
- Update wp-config.php with AUTO UPDATE and DIRECT download [SME: 11428] |
31 |
|
- Remove requirement for wordpress rpm, and set script to download and install |
32 |
|
|
33 |
|
* Sun Mar 07 2021 BogusDateBot |
34 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
35 |
|
by assuming the date is correct and changing the weekday. |
36 |
|
Thu May 29 2013 --> Thu May 23 2013 or Wed May 29 2013 or Thu May 30 2013 or .... |
37 |
|
Wed Jun 20 2014 --> Wed Jun 18 2014 or Fri Jun 20 2014 or Wed Jun 25 2014 or .... |
38 |
|
|
39 |
|
* Sat Mar 06 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-10.sme |
40 |
|
- -Add-in-update-event-and-fix-php-fpw [SME: 11428] |
41 |
|
|
42 |
* Wed Nov 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-9.sme |
* Wed Nov 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-9.sme |
43 |
- Added new directive to apache (Indexes, FollowSymLinks, AllowOverrideAll) |
- Added new directive to apache (Indexes, FollowSymLinks, AllowOverrideAll) |
44 |
- The http can be forced, even if it is not a good idea |
- The http can be forced, even if it is not a good idea |
67 |
- added templates.metadata to root,www 0640 on /etc/wordpress/wp-config.php |
- added templates.metadata to root,www 0640 on /etc/wordpress/wp-config.php |
68 |
- changed db {wordpress}{phrase} to {wordpress}{Salt} |
- changed db {wordpress}{phrase} to {wordpress}{Salt} |
69 |
|
|
70 |
* Wed Jun 20 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-1.sme |
* Fri Jun 20 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-1.sme |
71 |
|
Wed Jun 20 2014 --> Wed Jun 18 2014 or Fri Jun 20 2014 or Wed Jun 25 2014 or .... |
72 |
- initial release to sme9 |
- initial release to sme9 |
73 |
|
|
74 |
* Tue Nov 5 2013 JP Pialasse <tests@pialasse.com> 1.0-13.sme |
* Tue Nov 5 2013 JP Pialasse <tests@pialasse.com> 1.0-13.sme |
96 |
* Mon Jun 03 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 1.0-3 |
* Mon Jun 03 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 1.0-3 |
97 |
- backup html-folder, mysql-base, and config-file during erase and upgrade process |
- backup html-folder, mysql-base, and config-file during erase and upgrade process |
98 |
|
|
99 |
* Thu May 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> |
* Wed May 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> |
100 |
|
Thu May 29 2013 --> Thu May 23 2013 or Wed May 29 2013 or Thu May 30 2013 or .... |
101 |
- require sme8 due to wordpress 3.5 needs php version > 5.2 |
- require sme8 due to wordpress 3.5 needs php version > 5.2 |
102 |
|
|
103 |
* Sat Nov 29 2008 Stephen Noble <support@dungog.net> 1.0-2 |
* Sat Nov 29 2008 Stephen Noble <support@dungog.net> 1.0-2 |
130 |
%prep |
%prep |
131 |
%setup |
%setup |
132 |
%patch0 -p1 |
%patch0 -p1 |
133 |
|
%patch1 -p1 |
134 |
|
%patch2 -p1 |
135 |
%build |
%build |
136 |
perl createlinks |
perl createlinks |
137 |
|
|
139 |
%install |
%install |
140 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
141 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
142 |
|
mkdir -p $RPM_BUILD_ROOT/etc/wordpress |
143 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
144 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
145 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
156 |
%post |
%post |
157 |
|
|
158 |
%postun |
%postun |
159 |
|
rm -fR /etc/wordpress |
160 |
|
rm -fR /usr/share/wordpress |
161 |
|
|
162 |
|
|
163 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |