/[smecontribs]/rpms/smeserver-wordpress/contribs10/smeserver-wordpress.spec
ViewVC logotype

Diff of /rpms/smeserver-wordpress/contribs10/smeserver-wordpress.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by brianr, Sat Mar 6 07:39:54 2021 UTC Revision 1.4 by brianr, Mon Aug 1 14:55:31 2022 UTC
# Line 1  Line 1 
1  # $Id: smeserver-wordpress.spec,v 1.3 2015/11/18 14:26:52 stephdl Exp $  # $Id: smeserver-wordpress.spec,v 1.3 2021/03/12 12:25:50 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 12
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}
# Line 16  Source: %{name}-%{version}.tar.gz Line 16  Source: %{name}-%{version}.tar.gz
16  BuildArchitectures: noarch  BuildArchitectures: noarch
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 >= 10.0
20  Requires: wordpress  Requires: e-smith-apache >= 2.6.0-19
21    Requires: smeserver-php >= 3.0.0-43
22    #Requires: wordpress
23  AutoReqProv: no  AutoReqProv: no
24  Patch0: smeserver-wordpress-1.2.NfrHttpdDirective.patch  Patch0: smeserver-wordpress-1.2.NfrHttpdDirective.patch
25    Patch1: smeserver-wordpress-1.2-Add-in-update-event-and-fix-php-fpw.patch
26    Patch2: smeserver-wordpress-1.2-Remove-need-for-wordpress-rpm.patch
27    Patch3: smeserver-wordpress-1.2-Add-backup-folders-to-createlinks.patch
28  %description  %description
29  smserver rpm to setup mysql database and web link for wordpress weblog  smserver rpm to setup mysql database and web link for wordpress weblog
30    
31  %changelog  %changelog
32    * Sun Jul 31 2022 Brian Read <brianr@bjsystems.co.uk> 1.2-12.sme
33    - Add in backup folders to createlinks [SME: 12070]
34    - update to httpd 2.4 access syntax [SME: 12050]
35    
36    * Tue Mar 09 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-11.sme
37    - Update wp-config.php with AUTO UPDATE and DIRECT download [SME: 11428]
38    - Remove requirement for wordpress rpm, and set script to download and install
39    
40    * Sun Mar 07 2021 BogusDateBot
41    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
42      by assuming the date is correct and changing the weekday.
43      Thu May 29 2013 --> Thu May 23 2013 or Wed May 29 2013 or Thu May 30 2013 or ....
44      Wed Jun 20 2014 --> Wed Jun 18 2014 or Fri Jun 20 2014 or Wed Jun 25 2014 or ....
45    
46    * Sat Mar 06 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-10.sme
47    - -Add-in-update-event-and-fix-php-fpw [SME: 11428]
48    
49  * 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
50  - Added new directive to apache (Indexes, FollowSymLinks, AllowOverrideAll)  - Added new directive to apache (Indexes, FollowSymLinks, AllowOverrideAll)
51  - 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
# Line 52  smserver rpm to setup mysql database and Line 74  smserver rpm to setup mysql database and
74  - 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
75  - changed db {wordpress}{phrase} to {wordpress}{Salt}  - changed db {wordpress}{phrase} to {wordpress}{Salt}
76    
77  * 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
78      Wed Jun 20 2014 --> Wed Jun 18 2014 or Fri Jun 20 2014 or Wed Jun 25 2014 or ....
79  - initial release to sme9  - initial release to sme9
80    
81  * 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
# Line 80  smserver rpm to setup mysql database and Line 103  smserver rpm to setup mysql database and
103  * 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
104  - 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
105    
106  * Thu May 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr>  * Wed May 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr>
107      Thu May 29 2013 --> Thu May 23 2013 or Wed May 29 2013 or Thu May 30 2013 or ....
108  - require sme8 due to wordpress 3.5 needs php version > 5.2  - require sme8 due to wordpress 3.5 needs php version > 5.2
109    
110  * Sat Nov 29 2008 Stephen Noble <support@dungog.net> 1.0-2  * Sat Nov 29 2008 Stephen Noble <support@dungog.net> 1.0-2
# Line 113  smserver rpm to setup mysql database and Line 137  smserver rpm to setup mysql database and
137  %prep  %prep
138  %setup  %setup
139  %patch0 -p1  %patch0 -p1
140    %patch1 -p1
141    %patch2 -p1
142    %patch3 -p1
143  %build  %build
144  perl createlinks  perl createlinks
145    
# Line 120  perl createlinks Line 147  perl createlinks
147  %install  %install
148  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
149  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
150    mkdir -p $RPM_BUILD_ROOT/etc/wordpress
151  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
152  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
153      > %{name}-%{version}-filelist      > %{name}-%{version}-filelist
# Line 136  rm -rf %{name}-%{version} Line 164  rm -rf %{name}-%{version}
164  %post  %post
165    
166  %postun  %postun
167    rm -fR /etc/wordpress
168    rm -fR /usr/share/wordpress
169    
170    
171  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed