Пакет mediawiki-extensions-Widgets: Specfile

Загрузка mediawiki-extensions-Widgets.spec
%define ShortName Widgets

Name: mediawiki-extensions-%ShortName
Version: 0.9.2
Release: alt1

BuildArch: noarch

Group: Networking/WWW
Summary: Widgets extension allows adding widgets to wiki by just creating pages in Widget namespace
Url: http://www.mediawiki.org/wiki/Extension:%ShortName

Packager: Vitaly Lipatov <lav@altlinux.ru>

License: GPL

BuildPreReq: rpm-build-mediawiki >= 0.2
BuildPreReq: rpm-build-intro
Requires: mediawiki-common >= 1.15.1-alt4

# It is new feature etersoft-build-utils since 1.7.6: supports commented real url
# Source-url: http://mediawiki-widgets.googlecode.com/files/%{ShortName}_%version.tgz
Source: %name-%version.tar

%description
Widgets extension allows adding widgets
to wiki by just creating pages in Widget namespace.

%prep
%setup
%remove_repo_info
rm -f compiled_templates/*.php
rm -rf googlecode/

%install
%mediawiki_ext_install 50 %ShortName
subst "4i\$wgGroupPermissions['sysop']['editwidgets'] = true;" %buildroot%_mediawiki_settings_dir/50-%ShortName.php

%files -f %ShortName.files

%changelog
* Sat Mar 19 2011 Vitaly Lipatov <lav@altlinux.ru> 0.9.2-alt1
- initial build for ALT Linux Sisyphus
Наверх