diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..3606a43
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+*.tgz filter=lfs diff=lfs merge=lfs -text
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1534ba5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.rpm
+*.log
+*spec-20*
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4e1ecdc
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+# Makefile for source rpm: dokuwiki
+# $Id: Makefile,v 1.1 2021/10/04 14:39:34 jcrisp Exp $
+NAME := dokuwiki
+SPECFILE = $(firstword $(wildcard *.spec))
+
+define find-makefile-common
+for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
+endef
+
+MAKEFILE_COMMON := $(shell $(find-makefile-common))
+
+ifeq ($(MAKEFILE_COMMON),)
+# attept a checkout
+define checkout-makefile-common
+test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
+endef
+
+MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
+endif
+
+include $(MAKEFILE_COMMON)
diff --git a/README.md b/README.md
index 2c5bc84..10fc0a7 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,9 @@
# dokuwiki
-3rd Party (Maintained by Koozali) git repo for dokuwiki smecontribs
\ No newline at end of file
+3rd Party (Maintained by Koozali) git repo for dokuwiki smecontribs
+
+## Description
+
+
*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
+*Once it has been checked, then this comment will be deleted*
+
diff --git a/contriborbase b/contriborbase
new file mode 100644
index 0000000..9b7fd51
--- /dev/null
+++ b/contriborbase
@@ -0,0 +1 @@
+contribs10
diff --git a/dokuwiki.spec b/dokuwiki.spec
new file mode 100644
index 0000000..906f86d
--- /dev/null
+++ b/dokuwiki.spec
@@ -0,0 +1,355 @@
+%define realversion 2020-07-29
+%define version %(echo %{realversion} | sed -e 's/-//g')
+%define releasenum 1
+
+%if 0%{?fedora} >= 11 || 0%{?rhel} >= 5
+%global useselinux 1
+%else
+%global useselinux 0
+%endif
+
+Name: dokuwiki
+Version: %{version}
+Release: %{releasenum}%{?dist}
+Summary: Standards compliant simple to use wiki
+Group: Applications/Internet
+License: GPLv2
+URL: http://www.dokuwiki.org/dokuwiki
+Source: http://download.dokuwiki.org/src/dokuwiki/%{name}-%{realversion}.tgz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+Requires: php
+Requires: php-gd
+Requires: php-imap
+Requires: php-ldap
+Requires: httpd
+
+%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.
+
+
+%prep
+%setup -q -n %{name}-%{realversion}
+
+chmod a-x inc/lang/az/*.{txt,html}
+
+mv -f conf/mysql.conf.php.example .
+
+sed -i "s:'./data':'%{_localstatedir}/lib/%{name}/data':" conf/%{name}.php
+sed -i "s:ALL 8:ALL 1:" conf/acl.auth.php.dist
+
+# Use admin as default superuser
+echo "\$conf['superuser'] = 'admin';" >> conf/local.php.dist
+
+cat <%{name}.httpd
+# %{name}
+# %{summary}
+# %{version}
+#
+
+Alias /%{name} %{_datadir}/%{name}
+
+
+ Options +FollowSymLinks
+
+ Order Allow,Deny
+ Allow from 127.0.0.1 ::1
+
+
+ Require ip 127.0.0.1 ::1
+
+
+
+
+
+ Order Deny,Allow
+ Deny from all
+
+
+ Require all denied
+
+
+
+
+
+ Order Deny,Allow
+ Deny from all
+
+
+ Require all denied
+
+
+
+
+
+ Order allow,deny
+ Deny from all
+
+
+ Require all denied
+
+
+
+
+
+ Order Deny,Allow
+ Deny from all
+
+
+ Require all denied
+
+
+
+
+ Order allow,deny
+ Deny from all
+
+
+ Require all denied
+
+
+
+
+
+ Order Deny,Allow
+ Deny from all
+
+
+ Require all denied
+
+
+
+
+ Order allow,deny
+ Deny from all
+
+
+ Require all denied
+
+
+
+EOF
+
+cat <DOKUWIKI-SELINUX.README
+%{name}-selinux
+====================
+
+This package configures dokuwiki to run in
+SELinux enabled environments
+
+EOF
+
+%build
+# nothing to do here
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+install -d -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
+install -d -p $RPM_BUILD_ROOT%{_datadir}/%{name}
+install -d -p $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
+install -d -p $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}
+mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}/data/{index,tmp,media,attic,pages,cache,meta,locks,media_attic,media_meta}
+rm -f install.php
+rm -f inc/.htaccess
+rm -f inc/lang/.htaccess
+rm -f lib/_fla/{.htaccess,README}
+rm -f lib/plugins/revert/lang/sk/intro.txt
+cp -rp data/pages/* $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}/data/pages/
+cp -rp conf/* $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+cp -rp bin/* $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
+cp -rp lib $RPM_BUILD_ROOT%{_datadir}/%{name}/
+cp -rp inc $RPM_BUILD_ROOT%{_datadir}/%{name}/
+cp -rp vendor $RPM_BUILD_ROOT%{_datadir}/%{name}/
+install -p -m0644 VERSION $RPM_BUILD_ROOT%{_datadir}/%{name}
+install -p -m0644 *.php $RPM_BUILD_ROOT%{_datadir}/%{name}
+install -p -m0644 %{name}.httpd $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/%{name}.conf
+
+pushd $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+for d in *.dist; do
+ d0=`basename $d .dist`
+ if [ ! -f "$d0" ]; then
+ mv -f $d $d0
+ fi
+done
+popd
+
+pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
+ ln -sf ../../../etc/%name conf
+ ln -sf ../../../%{_localstatedir}/lib/%{name}/data/ data
+popd
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%if %{useselinux}
+(
+semanage fcontext -a -t httpd_sys_content_t '%{_sysconfdir}/%{name}(/.*)?'
+semanage fcontext -a -t httpd_sys_content_t '%{_datadir}/%{name}(/.*)?'
+semanage fcontext -a -t httpd_sys_content_t '%{_datadir}/%{name}/lib/plugins(/.*)?'
+restorecon -R '%{_sysconfdir}/%{name}'
+restorecon -R '%{_datadir}/%{name}'
+restorecon -R '%{_datadir}/%{name}/lib/plugins'
+) &> /dev/null || :
+%endif
+
+
+%postun
+%if %{useselinux}
+(
+if [ $1 -eq 0 ] ; then
+semanage fcontext -d -t httpd_sys_content_t '%{_sysconfdir}/%{name}(/.*)?'
+semanage fcontext -d -t httpd_sys_content_t '%{_datadir}/%{name}(/.*)?'
+semanage fcontext -d -t httpd_sys_content_t '%{_datadir}/%{name}/lib/plugins(/.*)?'
+fi
+) &> /dev/null || :
+%endif
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README mysql.conf.php.example DOKUWIKI-SELINUX.README
+%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
+%config(noreplace) %attr(0644,apache,apache) %{_sysconfdir}/%{name}/*
+%dir %attr(0755,apache,apache) %{_sysconfdir}/%{name}
+%attr(0755,apache,apache) %{_datadir}/%{name}/bin/*.php
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/conf
+%{_datadir}/%{name}/data
+%{_datadir}/%{name}/*.php
+%{_datadir}/%{name}/VERSION
+%dir %{_datadir}/%{name}/lib
+%{_datadir}/%{name}/lib/exe
+%{_datadir}/%{name}/lib/images
+%{_datadir}/%{name}/lib/index.html
+%{_datadir}/%{name}/lib/scripts
+%{_datadir}/%{name}/lib/styles
+%{_datadir}/%{name}/lib/tpl
+#%{_datadir}/%{name}/lib/_fla
+%attr(0755,apache,apache) %dir %{_datadir}/%{name}/lib/plugins
+%{_datadir}/%{name}/lib/plugins/*
+%{_datadir}/%{name}/inc
+%{_datadir}/%{name}/vendor
+%dir %{_localstatedir}/lib/%{name}
+%attr(0750,apache,apache) %dir %{_localstatedir}/lib/%{name}/data
+%attr(0755,apache,apache) %dir %{_localstatedir}/lib/%{name}/data/media
+%attr(0755,apache,apache) %dir %{_localstatedir}/lib/%{name}/data/media_attic
+%attr(0755,apache,apache) %dir %{_localstatedir}/lib/%{name}/data/media_meta
+%attr(0755,apache,apache) %dir %{_localstatedir}/lib/%{name}/data/attic
+%attr(0755,apache,apache) %dir %{_localstatedir}/lib/%{name}/data/cache
+%attr(0755,apache,apache) %dir %{_localstatedir}/lib/%{name}/data/meta
+%attr(0755,apache,apache) %dir %{_localstatedir}/lib/%{name}/data/locks
+%attr(0755,apache,apache) %dir %{_localstatedir}/lib/%{name}/data/tmp
+%attr(0755,apache,apache) %dir %{_localstatedir}/lib/%{name}/data/index
+%attr(0755,apache,apache) %dir %{_localstatedir}/lib/%{name}/data/pages
+#%attr(0755,apache,apache) %dir %{_localstatedir}/lib/%{name}/data/pages/playground
+%attr(0755,apache,apache) %dir %{_localstatedir}/lib/%{name}/data/pages/wiki
+%attr(0644,apache,apache) %{_localstatedir}/lib/%{name}/data/pages/*/*
+
+%changelog
+* Thu Oct 09 2025 BogusDateBot
+- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
+ by assuming the date is correct and changing the weekday.
+
+* Mon Oct 04 2021 John Crisp -2020-07-29-1
+- First import to Contribs [SME: 11702]
+
+* Mon Aug 28 2017 Daniel Berteaud - 20170219e-1
+- Update to 2017-02-19e
+
+* Wed Aug 23 2017 Daniel Berteaud - 20170219d-1
+- Update to 2017-02-19d
+
+* Thu Mar 9 2017 Daniel Berteaud - 20170219b-1
+- Update to 2017-02-19b
+
+* Tue Feb 21 2017 Daniel Berteaud - 20170219a-1
+- Update to 2017-02-19a
+
+* Mon Feb 20 2017 Daniel Berteaud - 20170219-1
+- Update to 2017-02-19
+
+* Mon Jul 4 2016 Daniel Berteaud - 20160626a-1
+- Update to 2016-06-26a
+
+* Tue Jun 28 2016 Daniel Berteaud - 20160626-1
+- Update to 2016-06-26
+
+* Thu Oct 22 2015 Daniel Berteaud - 20150810a-3
+- Fix SELinux labels
+
+* Mon Oct 19 2015 Daniel Berteaud - 20150810a-2
+- Adapt default conf for apache 2.4
+
+* Tue Sep 1 2015 Daniel Berteaud - 20150810a-1
+- Update to 2015-08-10a
+
+* Fri Mar 20 2015 Daniel Berteaud - 20140929d-1
+- Update to 2014-09-29d
+
+* Thu Feb 26 2015 Daniel Berteaud - 20140929c-1
+- Update to 2014-09-29c
+
+* Thu Dec 4 2014 Daniel Berteaud - 20140929b-1
+- Update to 2014-09-29b
+
+* Fri Oct 17 2014 Daniel Berteaud - 20140929a-2
+- Put the VERSION file in the doc root
+
+* Tue Oct 14 2014 Daniel Berteaud - 20140929a-1
+- Update to 2014-09-29a
+
+* Fri Jun 27 2014 Daniel Berteaud - 20140505a-1
+- update to 2014-05-05a (security fix)
+
+* Tue May 6 2014 Daniel Berteaud - 20140505-1
+- update to 2014-05-05
+
+* Mon Dec 9 2013 Daniel Berteaud - 20131208-1
+- update to 2013-12-08
+
+* Fri Nov 15 2013 Daniel Berteaud - 20130510a-4
+- Cleanup the spec file
+
+* Tue Sep 3 2013 Daniel Berteaud - 20130510a-3
+- Add a dependency on php
+
+* Wed Aug 28 2013 Daniel Berteaud - 20130510a-2
+- Fix permission on data dir and playground page
+
+* Wed Aug 21 2013 Daniel Berteaud - 20130510a-1
+- update to 2013-05-10a
+
+* Wed May 15 2013 Daniel Berteaud - 20130510-1
+- update to 2013-05-10
+
+* Mon Oct 15 2012 Daniel Berteaud - 20121013-1
+- update to 2012-10-13
+
+* Tue Sep 11 2012 Daniel Berteaud - 20120910-1
+- update to 2012-09-10
+
+* Sun Jul 15 2012 Daniel Berteaud - 20120125b-1
+- update to 2012-01-25b
+
+* Mon Apr 23 2012 Daniel Berteaud - 20120125a-4
+- upstream upgrade to 2012-01-25a
+
+* Fri Jan 27 2012 Daniel Berteaud - 20120125-4
+- Upstream upgrade to 2012-01-25
+
+* Mon Dec 19 2011 Daniel Berteaud - 20110525a-3
+- Link data dir to the real path
+
+* Thu Sep 29 2011 Daniel Berteaud - 20110525a-2
+- Don't exit with error if SELinux is disabled
+
+* Fri Jul 08 2011 Daniel Berteaud - 20110525a-1
+- Upstream upgrade to 2011-05-25a (based on EPEL RPM from Andrew Colin Kissa)
+