Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:infrastructure:wiki
mediawiki_1_27
mediawiki_1_27.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mediawiki_1_27.spec of Package mediawiki_1_27
# # Copyright (c) 2016 Christian Boltz # Based on a spec in server:php:applications - Copyright (c) 2010, 2016 Weberhofer GmbH, Vienna, Austria # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: mediawiki_1_27 Version: 1.27.7 Release: 0 License: GPL-2.0+ Summary: MediaWiki core package Url: http://www.mediawiki.org Group: Productivity/Networking/Web/Utilities Source: https://releases.wikimedia.org/mediawiki/1.27/mediawiki-%{version}.tar.gz #Requires: ImageMagick >= 6.5.6 # or php-gd? Requires: mod_php_any Requires: php >= 5.5.9 Requires: php-ctype Requires: php-dom Requires: php-iconv #Requires: php-gettext Requires: php-json Requires: php-mbstring %if %suse_version < 1330 # MediaWiki needs php-openssl _or_ php-mcrypt. php-mcrypt was dropped in the PHP 7.1.8 packages, # therefore don't require php-mcrypt in >= 1330 (we require php-openssl already, see below). # Note that extensions/ConfirmEdit/ReCaptcha/ still needs mcrypt and won't work without it. Requires: php-mcrypt %endif Requires: php-mysql Requires: php-openssl Requires: php-sockets Requires: php-xmlreader Requires: php-zlib Conflicts: mediawiki-math > 20000000 # php >= 5.5.9 would be enough, but we want PHP 7.x in the openSUSE infrastructure ;-) #Conflicts: php5 < 5.5.9 Conflicts: php5 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: fdupes %description MediaWiki is the collaborative editing software that runs Wikipedia, the free encyclopedia, and other projects. It is designed to handle a large number of users and pages without imposing a structure or workflow too rigidly. %prep %setup -q -n mediawiki-%{version} sed -i -e 's/@prefix@/\%{_prefix}/' vendor/pear/mail_mime/scripts/phail.php # avoid dependency on /usr/bin/hhvm chmod -x maintenance/hiphop/run-server %build %install install -d -m 0755 %{buildroot}%{_datadir}/%{name} cp -a api.php autoload.php extensions img_auth.php includes index.php languages load.php maintenance opensearch_desc.php resources serialized skins thumb_handler.php thumb.php vendor %{buildroot}%{_datadir}/%{name}/ # directories that need to be created for each instance # - cache # - images # files intentionally not included in the RPM # - composer.json # - composer.local.json-sample # - Gemfile.lock # - Gruntfile.js # - jsduck.json # - mw-config # - phpcs.xml # - profileinfo.php # - Rakefile # - StartProfiler.sample # - tests # - wiki.phtml # - and all files listed as doc below for FD in skins resources extensions vendor ; do %fdupes -s %{buildroot}%{_datadir}/%{name}/$FD done %files %defattr(-,root,root) %{_datadir}/%{name} %doc COPYING CREDITS FAQ HISTORY INSTALL README RELEASE-NOTES-1.27 UPGRADE docs
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor