1 |
# $Id: smeserver-mediawiki.spec,v 1.17 2022/08/02 05:45:21 jpp Exp $ |
# $Id: smeserver-mediawiki.spec,v 1.20 2022/12/01 15:14:03 brianr 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.4 |
7 |
%define release 2 |
%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.2-bz12133-httpd24.patch |
#Patch0: smeserver-mediawiki-1.38.2-bz12133-httpd24.patch |
18 |
Patch1: smeserver-mediawiki-1.38.2-bz12134-backup.patch |
#Patch1: smeserver-mediawiki-1.38.2-bz12134-backup.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 |
34 |
http://your_e-smith-server_adress/wiki |
http://your_e-smith-server_adress/wiki |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
|
38 |
|
* Sat Jul 22 2023 Brian Read <brianr@koozali.org> 1.39.4-1.sme |
39 |
|
- Update to LTS version 1.39.4 (Supported until dec 2025)[SME: 12385] |
40 |
|
|
41 |
|
* Thu Dec 01 2022 Brian Read <brianr@bjsystems.co.uk> 1.39.0-1.sme |
42 |
|
- Update to LTS version 1.39.0 (Supported until dec 2025)[SME: 12250] |
43 |
|
|
44 |
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.38.2-2.sme |
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.38.2-2.sme |
45 |
- update to httpd 2.4 access syntax [SME: 12133] |
- update to httpd 2.4 access syntax [SME: 12133] |
46 |
- add to core backup [SME: 12134] |
- add to core backup [SME: 12134] |
120 |
|
|
121 |
%setup |
%setup |
122 |
|
|
123 |
%patch0 -p1 |
#%patch0 -p1 |
124 |
%patch1 -p1 |
#%patch1 -p1 |
125 |
|
|
126 |
%build |
%build |
127 |
perl createlinks |
perl createlinks |
162 |
APP=MediaWiki |
APP=MediaWiki |
163 |
URL=wiki |
URL=wiki |
164 |
WORKDIR=/root |
WORKDIR=/root |
165 |
MEDIAWIKIVERSION='1.38.2' |
MEDIAWIKIVERSION='1.39.4' |
166 |
INSTALLDIR=/usr/share/doc/mediawiki-$MEDIAWIKIVERSION/Sources |
INSTALLDIR=/usr/share/doc/mediawiki-$MEDIAWIKIVERSION/Sources |
167 |
HTMLDIR=/opt/mediawiki |
HTMLDIR=/opt/mediawiki |
168 |
MYSQLDB=mediawiki |
MYSQLDB=mediawiki |
279 |
echo "-------------------------------------------------------------------------------" |
echo "-------------------------------------------------------------------------------" |
280 |
|
|
281 |
%preun |
%preun |
282 |
MEDIAWIKIVERSION='1.38.2' |
MEDIAWIKIVERSION='1.39.4' |
283 |
INSTALLDIR=/usr/share/doc/mediawiki-$MEDIAWIKIVERSION/Sources |
INSTALLDIR=/usr/share/doc/mediawiki-$MEDIAWIKIVERSION/Sources |
284 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
285 |
mv $INSTALLDIR/DO_NOT_USE_OR_DELETE/MW-Full-Uninstall.sh /root/ |
mv $INSTALLDIR/DO_NOT_USE_OR_DELETE/MW-Full-Uninstall.sh /root/ |