1 |
# $Id: smeserver-wordpress.spec,v 1.6 2008/11/29 03:11:22 dungog Exp $ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
%define name smeserver-wordpress |
6 |
%define version 1.2 |
7 |
%define release 9 |
8 |
Summary: smserver rpm to setup mysql database and web link for wordpress weblog |
9 |
Name: %{name} |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GNU GPL version 2 |
13 |
URL: http://wiki.contribs.org/Main_Page |
14 |
Group: SMEserver/addon |
15 |
Source: %{name}-%{version}.tar.gz |
16 |
BuildArchitectures: noarch |
17 |
BuildRoot: /var/tmp/%{name}-%{version} |
18 |
BuildRequires: e-smith-devtools |
19 |
Requires: e-smith-release >= 8.0 |
20 |
Requires: wordpress |
21 |
Patch0: smeserver-wordpress-1.2.NfrHttpdDirective.patch |
22 |
Patch1: smeserver-wordpress-1.2.remove_AuthBasicProvider.patch |
23 |
AutoReqProv: no |
24 |
|
25 |
%description |
26 |
smserver rpm to setup mysql database and web link for wordpress weblog |
27 |
|
28 |
%changelog |
29 |
* Wed Nov 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-9.sme |
30 |
- Added new directive to apache (Indexes, FollowSymLinks, AllowOverrideAll) |
31 |
- The http can be forced, even if it is not a good idea |
32 |
- new properties in the wordpress key |
33 |
- the AuthBasicProvider has been removed for sme8 |
34 |
|
35 |
* Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-7.sme |
36 |
- Initial release to contribs8 |
37 |
|
38 |
* Mon Feb 09 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-6.sme |
39 |
- Add usr/share/wordpress/wp-content in the default server backup |
40 |
|
41 |
* Thu Dec 25 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-5.sme |
42 |
- Force the 'Salt property' to enabled |
43 |
|
44 |
* Sun Nov 9 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-4.sme |
45 |
- Corrected a typo in the virtualhost https redirection |
46 |
|
47 |
* Wed Oct 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-3.sme |
48 |
- Thanks to Remi Collet for the help to resolve the 'bug' |
49 |
- define('DISALLOW_FILE_MODS', false); :) |
50 |
- Added another default value to {wordpress}{Salt} |
51 |
|
52 |
* Tue Sep 02 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-2.sme |
53 |
- corrected the lack of module MIME::Base64 [SME: 8548] |
54 |
- corrected the new ownership of www on /etc/wordpress [SME: 8546] |
55 |
- added templates.metadata to root,www 0640 on /etc/wordpress/wp-config.php |
56 |
- changed db {wordpress}{phrase} to {wordpress}{Salt} |
57 |
|
58 |
* Wed Jun 20 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-1.sme |
59 |
- initial release to sme9 |
60 |
|
61 |
* Tue Nov 5 2013 JP Pialasse <tests@pialasse.com> 1.0-13.sme |
62 |
- added chown to allow plugin instalaltion and translation |
63 |
|
64 |
* Tue Nov 5 2013 JP Pialasse <tests@pialasse.com> 1.0-12.sme |
65 |
- error in config file [SME: 7978] |
66 |
- also added more configuration option |
67 |
- added /usr/share/php/ in phpbasedir [SME: 7977] |
68 |
- patch cleanup, createlinks added to spec |
69 |
|
70 |
* Sun Oct 27 2013 JP Pialasse <tests@pialasse.com> 1.0-10.sme |
71 |
- rewritten for epel version of wordpress |
72 |
- added createlinks and conf-wordpress event |
73 |
- start cleaning spec file |
74 |
- modified php base dir |
75 |
|
76 |
|
77 |
* Wed Sep 04 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.5 |
78 |
- add www:www permission on /opt/wordpress folder to allow automatic update by FTP |
79 |
|
80 |
* Wed Jun 05 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.4 |
81 |
- add a tmp folder in httpd.conf |
82 |
|
83 |
* Mon Jun 03 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 1.0-3 |
84 |
- backup html-folder, mysql-base, and config-file during erase and upgrade process |
85 |
|
86 |
* Thu May 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> |
87 |
- require sme8 due to wordpress 3.5 needs php version > 5.2 |
88 |
|
89 |
* Sat Nov 29 2008 Stephen Noble <support@dungog.net> 1.0-2 |
90 |
- http alias 80opt removed |
91 |
|
92 |
* Fri Jul 06 2007 Stephen Noble <support@dungog.net> 1.0-1 |
93 |
- http alias, auto setup, template wp-config.php |
94 |
|
95 |
* Mon Dec 11 2006 Stephen Noble <support@dungog.net> |
96 |
- rpm %post events reordered, to enable clean install |
97 |
- [0.9-5] |
98 |
|
99 |
* Thu Nov 9 2006 Stephen Noble <support@dungog.net> |
100 |
- http alias corrected |
101 |
- [0.9-4] |
102 |
|
103 |
* Thu Nov 9 2006 Stephen Noble <support@dungog.net> |
104 |
- http PublicAccess setting added |
105 |
- [0.9-3] |
106 |
|
107 |
* Thu May 4 2006 Stephen Noble <support@dungog.net> |
108 |
- httpd fragment modified |
109 |
- rpm doesn't change file permissions |
110 |
- [0.9-2] |
111 |
|
112 |
* Sun Apr 16 2006 Stephen Noble <support@dungog.net> |
113 |
- initial release |
114 |
- [0.9-1] |
115 |
|
116 |
%prep |
117 |
%setup |
118 |
%patch0 -p1 |
119 |
%patch1 -p1 |
120 |
|
121 |
%build |
122 |
perl createlinks |
123 |
|
124 |
|
125 |
%install |
126 |
rm -rf $RPM_BUILD_ROOT |
127 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
128 |
rm -f %{name}-%{version}-filelist |
129 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
130 |
> %{name}-%{version}-filelist |
131 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
132 |
|
133 |
%clean |
134 |
|
135 |
cd .. |
136 |
rm -rf %{name}-%{version} |
137 |
|
138 |
%pre |
139 |
%preun |
140 |
|
141 |
%post |
142 |
|
143 |
%postun |
144 |
|
145 |
|
146 |
%files -f %{name}-%{version}-filelist |
147 |
%defattr(-,root,root) |
148 |
|