Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:infrastructure:wiki
mediawiki_1_27-openSUSE
mediawiki_1_27-openSUSE.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mediawiki_1_27-openSUSE.spec of Package mediawiki_1_27-openSUSE
# # Copyright (c) 2016 Christian Boltz # # 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/ # %define ext_name openSUSE %define ext_version master %define ext_source_file %{ext_version}.tar.gz %define mediawiki_base mediawiki_1_27 %define ext_version_date 2020.06.21 # Note: this spec file is (mostly) shared between several mediawiki extension packages, only the defines above vary. # You should not need to modify anything below - but if you do, add a comment to mark your modifications. %define mediawiki_dir %{_datadir}/%{mediawiki_base} %define ext_dir %{mediawiki_dir}/extensions/%{ext_name} Name: %{mediawiki_base}-%{ext_name} Version: 0.%{ext_version_date} Release: 0 License: GPL-2.0+ # different Summary Summary: MediaWiki %{ext_name} Bento and Chameleon skins and some extensions # different Url Url: http://github.com/openSUSE/wiki Group: Productivity/Networking/Web/Utilities # different source Source: https://github.com/openSUSE/wiki/archive/%{ext_source_file} Requires: %{mediawiki_base} BuildRequires: fdupes BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch # require all packages needed for the openSUSE wiki Requires: mediawiki_1_27-AbuseFilter Requires: mediawiki_1_27-Auth_remoteuser Requires: mediawiki_1_27-CategoryTree Requires: mediawiki_1_27-CirrusSearch Requires: mediawiki_1_27-GitHub Requires: mediawiki_1_27-HitCounters Requires: mediawiki_1_27-intersection Requires: mediawiki_1_27-Maps Requires: mediawiki_1_27-MultiBoilerplate Requires: mediawiki_1_27-openSUSE-skin-Chameleon-res Requires: mediawiki_1_27-ParamProcessor Requires: mediawiki_1_27-ReplaceText Requires: mediawiki_1_27-RSS Requires: mediawiki_1_27-UserMerge Requires: mediawiki_1_27-UserPageEditProtection # the Chameleon skin requires _() aka gettext() Requires: php-gettext # not a strict requirement (therefore not in the mediawiki main package), but it makes things much faster, so we want it in the openSUSE infrastructure Requires: php-opcache # different description %description MediaWiki %{ext_name} Bento skin and several one-file extensions (all managed on %{url}) This package also makes sure all extensions needed by the openSUSE wiki are installed. %prep # different dirname %setup -q -n wiki-%{ext_version} %build %install # different install section install -d -m 0755 %{buildroot}%{mediawiki_dir}/extensions install -d -m 0755 %{buildroot}%{mediawiki_dir}/skins cp -a skins/bento %{buildroot}%{mediawiki_dir}/skins cp -a skins/Chameleon %{buildroot}%{mediawiki_dir}/skins cp -a extensions/* %{buildroot}%{mediawiki_dir}/extensions fdupes -s %{buildroot}%{ext_dir} %files %defattr(-,root,root) %dir %{mediawiki_dir} %dir %{mediawiki_dir}/extensions # non-default filelist %{mediawiki_dir}/extensions/EventCountdown.php %{mediawiki_dir}/extensions/google-coop.php %{mediawiki_dir}/extensions/notitle.php %{mediawiki_dir}/extensions/videoflash.php %dir %{mediawiki_dir}/extensions/LeapVersion %{mediawiki_dir}/extensions/LeapVersion/LeapVersion.php %{mediawiki_dir}/extensions/LeapVersion/LeapVersionHooks.php %{mediawiki_dir}/extensions/LeapVersion/extension.json %dir %{mediawiki_dir}/skins %{mediawiki_dir}/skins/bento %{mediawiki_dir}/skins/Chameleon
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