1 |
# $Id: smeserver-mediawiki.spec,v 1.13 2022/07/12 11:47:01 brianr Exp $ |
# $Id: smeserver-mediawiki.spec,v 1.18 2022/08/02 05:52:32 jpp Exp $ |
2 |
# Authority: ber_die |
# Authority: ber_die |
3 |
# Name: Dietmar Berteld |
# Name: Dietmar Berteld |
4 |
|
|
5 |
%define name smeserver-mediawiki |
%define name smeserver-mediawiki |
6 |
%define version 1.38.2 |
%define version 1.39.0 |
7 |
%define release 1 |
%define release 1 |
8 |
|
|
9 |
Summary: Mediawiki Web Application for SME Server 7.x based on Mediawiki 1.38.0 |
Summary: Mediawiki Web Application for SME Server 10.x based on Mediawiki 1.39.0 |
10 |
Name: %{name} |
Name: %{name} |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
14 |
Group: /Web/Applications |
Group: /Web/Applications |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
|
|
17 |
#Patch0: smeserver-mediawiki-1.38.1-Fix-sql-create.patch |
#Patch0: smeserver-mediawiki-1.38.2-bz12133-httpd24.patch |
18 |
#Patch0: smeserver-mediawiki-1.37.2-Fix-up-password-generation-and-localsettings.patch |
#Patch1: smeserver-mediawiki-1.38.2-bz12134-backup.patch |
|
#Patch1: smeserver-mediawiki-1.6.10-Update-to-SME10.patch |
|
19 |
|
|
20 |
URL: http://mediawiki.org/ |
URL: http://mediawiki.org/ |
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArch: noarch |
BuildArch: noarch |
23 |
Requires: e-smith-base, e-smith-release >= 10 |
Requires: e-smith-base, e-smith-release >= 10 |
24 |
|
Requires: e-smith-apache >= 2.6.0-19 |
25 |
|
Requires: smeserver-php >= 3.0.0-43 |
26 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
27 |
|
|
28 |
%description |
%description |
34 |
http://your_e-smith-server_adress/wiki |
http://your_e-smith-server_adress/wiki |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
|
38 |
|
* Wed Dec 01 2022 Brian Read <brianr@bjsystems.co.uk> 1.39.0-1.sme |
39 |
|
- Update to LTS version 1.39.0 (Supported until dec 2025)[SME: 12250] |
40 |
|
|
41 |
|
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.38.2-2.sme |
42 |
|
- update to httpd 2.4 access syntax [SME: 12133] |
43 |
|
- add to core backup [SME: 12134] |
44 |
|
|
45 |
* Tue Jul 12 2022 Brian Read <brianr@bjsystems.co.uk> 1.38.2-1.sme |
* Tue Jul 12 2022 Brian Read <brianr@bjsystems.co.uk> 1.38.2-1.sme |
46 |
- Update version to Mediawiki-1.38.2 [sme: 11987] |
- Update version to Mediawiki-1.38.2 [sme: 11987] |
47 |
- Fix initial admin user |
- Fix initial admin user password |
48 |
|
|
49 |
* Thu Jun 09 2022 Brian Read <brianr@bjsystems.co.uk> 1.38.1-2.sme |
* Thu Jun 09 2022 Brian Read <brianr@bjsystems.co.uk> 1.38.1-2.sme |
50 |
- fix sql user create [SME: 11987] |
- fix sql user create [SME: 11987] |
159 |
APP=MediaWiki |
APP=MediaWiki |
160 |
URL=wiki |
URL=wiki |
161 |
WORKDIR=/root |
WORKDIR=/root |
162 |
MEDIAWIKIVERSION='1.38.2' |
MEDIAWIKIVERSION='1.39.0' |
163 |
INSTALLDIR=/usr/share/doc/mediawiki-$MEDIAWIKIVERSION/Sources |
INSTALLDIR=/usr/share/doc/mediawiki-$MEDIAWIKIVERSION/Sources |
164 |
HTMLDIR=/opt/mediawiki |
HTMLDIR=/opt/mediawiki |
165 |
MYSQLDB=mediawiki |
MYSQLDB=mediawiki |
276 |
echo "-------------------------------------------------------------------------------" |
echo "-------------------------------------------------------------------------------" |
277 |
|
|
278 |
%preun |
%preun |
279 |
MEDIAWIKIVERSION='1.38.2' |
MEDIAWIKIVERSION='1.39.0' |
280 |
INSTALLDIR=/usr/share/doc/mediawiki-$MEDIAWIKIVERSION/Sources |
INSTALLDIR=/usr/share/doc/mediawiki-$MEDIAWIKIVERSION/Sources |
281 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
282 |
mv $INSTALLDIR/DO_NOT_USE_OR_DELETE/MW-Full-Uninstall.sh /root/ |
mv $INSTALLDIR/DO_NOT_USE_OR_DELETE/MW-Full-Uninstall.sh /root/ |