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