1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
%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