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

%define oname CategoryTree

Name: mediawiki-extensions-%oname
Version: 1.20
Release: alt1

BuildArch: noarch

Group: Networking/WWW
Summary: The CategoryTree extension provides a AJAX dynamic view of the wiki's category structure as a tree
Url: http://www.mediawiki.org/wiki/Extension:%oname

Packager: Vitaly Lipatov <lav@altlinux.ru>

License: GPL

BuildPreReq: rpm-build-mediawiki >= 0.2
Requires: mediawiki-common >= 1.20

Source: %oname-%version.tar


%description
The CategoryTree extension provides a dynamic view of the wiki's
category structure as a tree. It uses AJAX to load parts of the tree
on demand.

%prep
%setup -n %oname-%version

%install
%mediawiki_ext_install 50 %oname
subst "3i\$wgUseAjax = true;" %buildroot%_mediawiki_settings_dir/50-%oname.php

%files -f %oname.files

%changelog
* Sat Apr 27 2013 Vitaly Lipatov <lav@altlinux.ru> 1.20-alt1
- update to 1.20 version

* Wed Jun 08 2011 Vitaly Lipatov <lav@altlinux.ru> 0.0.1-alt1
- initial build for ALT Linux Sisyphus