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

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

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

Revision 1.10 by brianr, Fri Jun 3 09:35:35 2022 UTC Revision 1.11 by brianr, Wed Jun 8 12:13:07 2022 UTC
# Line 1  Line 1 
1  # $Id: smeserver-mediawiki.spec,v 1.9 2022/06/01 13:28:34 brianr Exp $  # $Id: smeserver-mediawiki.spec,v 1.10 2022/06/03 09:35:35 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.0  %define version 1.38.1
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 7.x based on Mediawiki 1.38.0
# Line 13  Release:       %{release}%{?dist} Line 13  Release:       %{release}%{?dist}
13  License:       GPL  License:       GPL
14  Group:         /Web/Applications  Group:         /Web/Applications
15  Source:        %{name}-%{version}.tar.gz  Source:        %{name}-%{version}.tar.gz
16    Patch0:         smeserver-mediawiki-1.38.0-fix-up-sql-create.patch
17  #Patch0:        smeserver-mediawiki-1.37.2-Fix-up-password-generation-and-localsettings.patch  #Patch0:        smeserver-mediawiki-1.37.2-Fix-up-password-generation-and-localsettings.patch
18  #Patch1:        smeserver-mediawiki-1.6.10-Update-to-SME10.patch  #Patch1:        smeserver-mediawiki-1.6.10-Update-to-SME10.patch
19    
# Line 31  After installation open your webbrowser Line 32  After installation open your webbrowser
32  http://your_e-smith-server_adress/wiki  http://your_e-smith-server_adress/wiki
33    
34  %changelog  %changelog
35    * Wed Jun 08 2022 Brian Read <brianr@bjsystems.co.uk> 1.38.0-2.sme
36    - Update version to Mediawiki-1.38.1 [sme: 11987]
37    
38    * Fri Jun 03 2022 Brian Read <brianr@bjsystems.co.uk> 1.38.0-2.sme
39    - update sql create [SME: 11987]
40    
41  * Fri Jun 03 2022 Brian Read <brianr@bjsystems.co.uk> 1.38.0-1.sme  * Fri Jun 03 2022 Brian Read <brianr@bjsystems.co.uk> 1.38.0-1.sme
42  - Rollup tar file to include mediawiki 1.38.0  [SME: 11987]  - Rollup tar file to include mediawiki 1.38.0  [SME: 11987]
43    
# Line 93  rm -rf $RPM_BUILD_ROOT Line 100  rm -rf $RPM_BUILD_ROOT
100    
101  %setup  %setup
102    
103  #%patch0 -p1  %patch0 -p1
104    
105  #%patch1 -p1  #%patch1 -p1
106    
107  %build  %build
# Line 151  rm -rf lang* Line 159  rm -rf lang*
159  #Untar application  #Untar application
160  echo "Decompressing files..."  echo "Decompressing files..."
161  mkdir -p $HTMLDIR  mkdir -p $HTMLDIR
162  tar xzf $INSTALLDIR/mediawiki-1.37.2.tar.gz -C /opt  tar xzf $INSTALLDIR/mediawiki-$MEDIAWIKIVERSION.tar.gz -C /opt
163  case $UPDATE in  case $UPDATE in
164     0) mv -f /opt/mediawiki-$MEDIAWIKIVERSION/* $HTMLDIR ;;     0) mv -f /opt/mediawiki-$MEDIAWIKIVERSION/* $HTMLDIR ;;
165     *) cp -ufR /opt/mediawiki-$MEDIAWIKIVERSION/* $HTMLDIR --reply=yes ;;     *) cp -ufR /opt/mediawiki-$MEDIAWIKIVERSION/* $HTMLDIR --reply=yes ;;
# Line 247  echo "For more details, see http://wiki. Line 255  echo "For more details, see http://wiki.
255  echo "-------------------------------------------------------------------------------"  echo "-------------------------------------------------------------------------------"
256    
257  %preun  %preun
258    MEDIAWIKIVERSION='1.38.0'
259  INSTALLDIR=/usr/share/doc/mediawiki-$MEDIAWIKIVERSION/Sources  INSTALLDIR=/usr/share/doc/mediawiki-$MEDIAWIKIVERSION/Sources
260  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
261    mv $INSTALLDIR/DO_NOT_USE_OR_DELETE/MW-Full-Uninstall.sh /root/    mv $INSTALLDIR/DO_NOT_USE_OR_DELETE/MW-Full-Uninstall.sh /root/


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