%define realversion 20210220 %define version %(echo %{realversion} | sed -e 's/-//g') %define releasenum 2 %if 0%{?fedora} >= 11 || 0%{?rhel} >= 5 %global useselinux 1 %else %global useselinux 0 %endif Name: dokuwiki-plugins Version: %{version} Release: %{releasenum}%{?dist} Summary: Standards compliant simple to use wiki Group: Applications/Internet License: GPLv2 URL: http://www.dokuwiki.org/dokuwiki Source10: changes.zip Source11: ckgedit.zip Source12: color.zip Source13: dw2pdf.zip Source14: edittable.zip Source15: encryptedpasswords.zip Source16: hidden.zip Source17: howhard.zip Source18: loglog.zip Source19: note.zip Source20: nspages.zip Source21: odt.zip Source22: pagelist.zip Source23: pagemove.zip Source24: sortablejs.zip Source25: tag.zip Source26: todo.zip Patch1: dokuwiki-plugins-2021-10-05-ckgedit_fix_media_dir.patch Patch2: dokuwiki-plugins-2021-10-05-mupdf_tmp_dir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: dokuwiki >= 20200729 %description DokuWiki is a standards compliant, simple to use Wiki, mainly aimed at creating documentation of any kind. It has a simple but powerful syntax which makes sure the data files remain readable outside the Wiki and eases the creation of structured texts. All data is stored in plain text files no database is required. This package provides several useful plugins for dokuwiki %prep %{__rm} -rf lib %{__mkdir_p} lib/{plugins,tpl} # Extract plugins for S in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} %{SOURCE15} %{SOURCE16} %{SOURCE17} %{SOURCE18} %{SOURCE19} %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} %{SOURCE24} %{SOURCE25} %{SOURCE26}; do unzip -o -d lib/plugins $S done mv lib/plugins/changes-master lib/plugins/changes mv lib/plugins/ckgedit-master lib/plugins/ckgedit mv lib/plugins/color-master lib/plugins/color mv lib/plugins/dw2pdf-master lib/plugins/dw2pdf mv lib/plugins/edittable-master lib/plugins/edittable mv lib/plugins/encryptedpasswords-master lib/plugins/encryptedpasswords mv lib/plugins/hidden-master lib/plugins/hidden mv lib/plugins/howhard-master lib/plugins/howhard mv lib/plugins/loglog-master lib/plugins/loglog mv lib/plugins/note-master lib/plugins/note mv lib/plugins/nspages-master lib/plugins/nspages mv lib/plugins/odt-master lib/plugins/odt mv lib/plugins/pagelist-master lib/plugins/pagelist mv lib/plugins/pagemove-master lib/plugins/pagemove mv lib/plugins/sortablejs-master lib/plugins/sortablejs mv lib/plugins/tag-master lib/plugins/tag mv lib/plugins/todo-master lib/plugins/todo ls -l lib/plugins/ckgedit find lib -type d -exec chmod 755 "{}" \; find lib -type f -exec chmod 644 "{}" \; %patch1 -p0 %patch2 -p0 %build %install rm -rf $RPM_BUILD_ROOT install -d -p $RPM_BUILD_ROOT%{_datadir}/dokuwiki/ cp -rp lib $RPM_BUILD_ROOT%{_datadir}/dokuwiki/ %files %defattr(-,root,root,-) %attr(0755,apache,apache) %dir %{_datadir}/dokuwiki/lib/plugins %attr(0775,root,apache) %dir %{_datadir}/dokuwiki/lib/plugins/* %{_datadir}/dokuwiki/lib/plugins/* %clean %{__rm} -rf $RPM_BUILD_ROOT %changelog * Wed Oct 06 2021 John Crisp 20210220-2 - Update the dokuwiki requires version * Tue Oct 05 2021 John Crisp - 20210220-1 - First import to SME [SME: 11704] - Updated plugins to lastest versions - Scripted git pulls for plugins and zipping them - Sorted plugin names alphabetically * Mon Sep 25 2017 Daniel Berteaud - 20170219e-2 - Fix syntax error in ckgedit lang file preventing access to settings * Mon Aug 28 2017 Daniel Berteaud - 20170219e-1 - Bump for 2017-02-19e * Wed Aug 23 2017 Daniel Berteaud - 20170219d-1 - Bump for 2017-02-19d - Update ckgedit - Update hidden - Update tag - Update pagelist - Update loglog - Update edittable - Update odt - Update nspages - Update changes - Update dw2pdf * Thu Mar 9 2017 Daniel Berteaud - 20170219b-1 - Bump for 2017-02-19b * Tue Feb 21 2017 Daniel Berteaud - 20170219a-1 - Bump for 2017-02-19a - Update note - Update odt - Update dw2pdf - Update color - Update hidden - Update encryptedpasswords - Update tag - Update pagelist - Update changes - Update loglog - Update todo - Update ckgedit - Update edittable - Update sortablejs - Update howhard * Wed Jul 20 2016 Daniel Berteaud - 20160626a-2 - Fix odt export when notes are used See https://github.com/LarsGit223/dokuwiki-plugin-odt/issues/144 * Mon Jul 4 2016 Daniel Berteaud - 20160626a-1 - Bump for 2016-06-26a * Tue Jun 28 2016 Daniel Berteaud - 20160626-1 - Bump for 2016-06-26 - Update changes - Update ckgedit - Update dw2pdf - Update edittable - Update hidden - Update howhard - Update loglog - Update nspages - Update odt - Update pagelist - Update pagemove - Update tag - Update todo * Wed Sep 9 2015 Daniel Berteaud - 20150810a-2 - Update edittable to 2015-09-01 * Tue Sep 1 2015 Daniel Berteaud - 20150810a-1 - Bump for 2015-08-10a - Update odt - Update dw2pdf - Update hidden - Update encryptedpassword - Update nspage - Update ckgedit - Update edittable - Update sortablejs - Update howhard - Remove useless dokuwiki_export template * Fri Mar 20 2015 Daniel Berteaud - 20140029d-1 - Bump for 2014-09-29d - Update changes - Update edittable - Update encryptedpassword - Update loglog - Update odt * Thu Feb 26 2015 Daniel Berteaud - 20140029c-1 - Bump for 2014-09-29c - Update odt - Update dw2pdf - Update nspage - Update changes - Update todo - Update ckgedit - Update edittable * Thu Dec 4 2014 Daniel Berteaud - 20140029b-1 - Bump for 2014-09-29b * Tue Oct 14 2014 Daniel Berteaud - 20140029a-1 - Bump version for 2014-09-29a - Update default template - Update ckgedit - Update dw2pdf - Update encryptedpassword - Update howhard - Update odt - Update pagemove - Update sortablejs - Update todo * Tue Aug 12 2014 Daniel Berteaud - 20140505a-2 - update odt - update tag - update hidden - update todo - update pagelist - update pagemove - update dw2pdf - update loglog - update ckgedit - update nspage - update encryptedpasswords - add edittable - add sertablejs - add howhard - remove toolbox - remove floartdiv - remove iframe * Fri Jun 27 2014 Daniel Berteaud - 20140505a-1 - bump version for 2014-05-05a * Tue May 6 2014 Daniel Berteaud - 20140505-1 - Bump release for new dokuwiki (2014-05-05) - Update dokuwiki tpl - Update dw2pdf - Update tag - Update pagelist - Update ckgedit * Mon Dec 9 2013 Daniel Berteaud - 20131208-1 - bump release for new dokuwiki version (2013-12-08) - Update dokuwiki tpl - Remove the old default template * Thu Nov 28 2013 Daniel Berteaud - 20130510a-4 - Fix permissions on the plugins dir * Fri Nov 15 2013 Daniel Berteaud - 20130510a-3 - Cleanup the spec file * Thu Oct 31 2013 Daniel Berteaud - 20130510a-2 - Fix media manager in ckgedit - Update dw2pdf - Update tag - Update pagelist - Update nspages - Update todo - Update ckgedit * Wed Aug 21 2013 Daniel Berteaud - 20130510a-1 - bump version to 2013-05-10a * Thu Mar 28 2013 Daniel Berteaud - 20130510-1 - update hidden - update encryptpassword - update tag - update pagelist - update todo - replace fckgLite with ckgedit - remove edittable - bump version for dokuwiki 2013-05-10 * Mon Oct 15 2012 Daniel Berteaud - 20121013-1 - bump release for new dokuwiki version * Thu Sep 13 2012 Daniel Berteaud - 20120910-1 - bump release for new dokuwiki version - update hidden - update tag - update fckgLite - update encryptedpasswords * Sun Jul 15 2012 Daniel Berteaud - 20120125b-1 - bump release for dokuwiki 2012-01-25b - update default tpl - update dw2pdf - update hidden - update encryptedpasswords - update pagelist - update nspages - update pagemove - update fckgLite - add iframe plugin * Tue May 29 2012 Daniel Berteaud - 20120125a-4 - update dw2pdf, tag and hidden plugins * Mon Apr 23 2012 Daniel Berteaud - 20120125a-3 - bump release for new dokuwiki version * Fri Jan 27 2012 Daniel Berteaud - 20120125-3 - upgrade for upstream dokuwiki - upgrade dw2pdf to latest release * Fri Nov 18 2011 Daniel Berteaud - 20110525a-2 - Add fckgLite plugin * Mon Jul 18 2011 Daniel Berteaud - 20110525a-1 - Initial release