File mediawiki_1_27-Auth_remoteuser.spec of Package mediawiki_1_27-Auth_remoteuser

# Copyright (c) 2017 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

%define ext_name                Auth_remoteuser
%define ext_source_file         Auth_remoteuser-REL1_27-380dbbe.tar.gz
%define mediawiki_base          mediawiki_1_27
%define ext_version_date        2017.06.13

# 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+
Summary:        MediaWiki %{ext_name} extension
Url:  {ext_name}
Group:          Productivity/Networking/Web/Utilities
Requires:       %{mediawiki_base}
BuildRequires:  fdupes
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

MediaWiki %{ext_name} extension

%setup -q -n %{ext_name}


install -d -m 0755 %{buildroot}%{ext_dir}
cp -a * %{buildroot}%{ext_dir}
fdupes -s %{buildroot}%{ext_dir}

%dir %{mediawiki_dir}
%dir %{mediawiki_dir}/extensions
openSUSE Build Service is sponsored by