2024-09-07 12:19:56 +02:00
|
|
|
%define phpversion 74
|
|
|
|
|
|
|
|
Summary: sme server integration of dokuwiki
|
|
|
|
Name: smeserver-dokuwiki
|
|
|
|
Version: 0.3.0
|
2024-09-08 09:44:42 +02:00
|
|
|
Release: 7%{?dist}
|
2024-09-07 12:19:56 +02:00
|
|
|
License: GNU GPL
|
|
|
|
URL: http://www.splitbrain.org/projects/dokuwiki
|
|
|
|
Group: SMEserver/addon
|
|
|
|
Source: %{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildArchitectures: noarch
|
2024-09-08 09:44:42 +02:00
|
|
|
BuildRequires: smeserver-devtools
|
2024-09-07 12:19:56 +02:00
|
|
|
BuildRoot: /var/tmp/%{name}-%{version}
|
2024-09-08 09:44:42 +02:00
|
|
|
Requires: smeserver-base >= 5.8.0
|
2024-09-07 12:19:56 +02:00
|
|
|
Requires: dokuwiki
|
|
|
|
Requires: smeserver-webapps-common
|
2024-09-08 09:44:42 +02:00
|
|
|
Requires: smeserver-apache >= 2.6.0-19
|
2024-09-07 12:19:56 +02:00
|
|
|
Requires: smeserver-php >= 3.0.0-43
|
|
|
|
|
|
|
|
|
|
|
|
AutoReqProv: no
|
|
|
|
|
|
|
|
%description
|
|
|
|
smserver integration of dokuwiki
|
|
|
|
DokuWiki is a simple to use Wiki aimed at the documentation needs of a small company
|
|
|
|
|
|
|
|
%changelog
|
2024-09-08 09:44:42 +02:00
|
|
|
* Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 0.3.0-7.sme
|
|
|
|
- Fix e-smith references in smeserver-dokuwiki [SME: 12732]
|
|
|
|
|
2024-09-07 12:19:56 +02:00
|
|
|
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 0.3.0-6.sme
|
|
|
|
- Roll up patches and move to git repo [SME: 12338]
|
|
|
|
|
|
|
|
* Sat Sep 07 2024 BogusDateBot
|
|
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
|
|
|
by assuming the date is correct and changing the weekday.
|
|
|
|
|
|
|
|
* Fri Jun 24 2022 Michel Begue <mab974@misouk.com> 0.3.0-5.sme
|
|
|
|
- update to httpd 2.4 syntax [SME: 12043]
|
|
|
|
- add dokuwiki to backup list [SME: 12005]
|
|
|
|
|
|
|
|
* Sat Oct 16 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3.0-4.sme
|
|
|
|
- Fix spec file patch issue
|
|
|
|
|
|
|
|
* Thu Oct 14 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3.0-3.sme
|
|
|
|
- remove directory permissions for plugin directory [SME: 11703]
|
|
|
|
- Fix httpd FilesMatch
|
|
|
|
|
|
|
|
* Tue Oct 05 2021 Brian Read <brianr@bjsystems.co.uk> 0.3.0-2.sme
|
|
|
|
- Add update event [SME: 11703]
|
|
|
|
|
|
|
|
* Mon Oct 04 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3.0-1
|
|
|
|
- First import to SME Contribs [SME: 11703]
|
|
|
|
- Update to PHP 74
|
|
|
|
|
|
|
|
* Mon Jan 22 2018 Daniel Berteaud <daniel@firewall-services.com> 0.2.2-1
|
|
|
|
- Fix permissions on plugin dir (daniel@firewall-services.com)
|
|
|
|
|
|
|
|
* Sun Nov 19 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1
|
|
|
|
- new package built with tito
|
|
|
|
|
|
|
|
* Fri Jul 14 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1
|
|
|
|
- Switch to php 71 using FastCGI and FPM is available
|
|
|
|
|
|
|
|
* Wed Mar 15 2017 Daniel Berteaud <daniel@firewall-services.com> 0.1.7-1
|
|
|
|
- Add /dev/urandom to open_basedir, needed since 2017-02-19
|
|
|
|
|
|
|
|
* Wed Oct 29 2014 Daniel B. <daniel@firewall-services.com> 0.1.6-1
|
|
|
|
- Fix SSL redirection
|
|
|
|
|
|
|
|
* Sat Jul 5 2014 Daniel B. <daniel@firewall-services.com> 0.1.5-1
|
|
|
|
- Small fixes in authhttpldap plugin
|
|
|
|
|
|
|
|
* Tue May 6 2014 Daniel B. <daniel@firewall-services.com> 0.1.4-1
|
|
|
|
- Add missing plugin.info.txt file for the authhttpldap plugin
|
|
|
|
|
|
|
|
* Thu Dec 5 2013 Daniel B. <daniel@firewall-services.com> 0.1.3-1
|
|
|
|
- Push php memory limit to 128M
|
|
|
|
|
|
|
|
* Fri Nov 22 2013 Daniel B. <daniel@firewall-services.com> 0.1.2-1
|
|
|
|
- Fix a typo which prevent transparent SSL redirection
|
|
|
|
|
|
|
|
* Wed May 15 2013 Daniel B. <daniel@firewall-services.com> 0.1.1-1
|
|
|
|
- Use the new auth plugins to be compatible with dokuwiki 2013-05-10
|
|
|
|
|
|
|
|
* Wed May 15 2013 Daniel B. <daniel@firewall-services.com> 0.1.0-1
|
|
|
|
- Import in GIT
|
|
|
|
|
|
|
|
* Mon Dec 19 2011 Daniel B. <daniel@firewall-services.com> 0.1-2
|
|
|
|
- Follow symlinks so fck media browser works
|
|
|
|
|
|
|
|
* Fri Jul 08 2011 Daniel B. <daniel@firewall-services.com> 0.1-1
|
|
|
|
- initial release
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl ./createlinks
|
|
|
|
find root/ -type f | xargs grep -l __PHP_VERSION__ | xargs sed -i -e "s/__PHP_VERSION__/%{phpversion}/g"
|
|
|
|
%{__mkdir_p} root/var/log/php/dokuwiki
|
|
|
|
%{__mkdir_p} root/var/lib/php/dokuwiki/{tmp,session,opcache}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
|
|
|
rm -f %{name}-%{version}-filelist
|
|
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
|
|
|
--dir /var/log/php/dokuwiki 'attr(0770,root,www)' \
|
|
|
|
--dir /var/lib/php/dokuwiki 'attr(0770,root,www)' \
|
|
|
|
--dir /var/lib/php/dokuwiki/tmp 'attr(0770,root,www)' \
|
|
|
|
--dir /var/lib/php/dokuwiki/opcache 'attr(0770,root,www)' \
|
|
|
|
--dir /var/lib/php/dokuwiki/session 'attr(0770,root,www)' \
|
|
|
|
--ignoredir /usr/share/dokuwiki/lib/plugins \
|
|
|
|
> %{name}-%{version}-filelist
|
|
|
|
|
|
|
|
%files -f %{name}-%{version}-filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%postun
|