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 44 45 46
%define ShortName Widgets Name: mediawiki-extensions-%ShortName Version: 1.1 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: https://git.wikimedia.org/zip/?r=mediawiki/extensions/Widgets&h=%version&format=zip 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 * Sun Oct 05 2014 Vitaly Lipatov <lav@altlinux.ru> 1.1-alt1 - new version 1.1 (with rpmrb script) * Sat Mar 19 2011 Vitaly Lipatov <lav@altlinux.ru> 0.9.2-alt1 - initial build for ALT Linux Sisyphus