/[smecontribs]/rpms/smeserver-dokuwiki/contribs10/smeserver-dokuwiki.spec
ViewVC logotype

Annotation of /rpms/smeserver-dokuwiki/contribs10/smeserver-dokuwiki.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (hide annotations) (download)
Fri Oct 15 08:34:10 2021 UTC (3 years ago) by jcrisp
Branch: MAIN
Changes since 1.3: +1 -0 lines
* 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

1 jcrisp 1.1 %define phpversion 74
2    
3     Summary: sme server integration of dokuwiki
4     Name: smeserver-dokuwiki
5     Version: 0.3.0
6 jcrisp 1.3 Release: 3%{?dist}
7 jcrisp 1.1 License: GNU GPL
8     URL: http://www.splitbrain.org/projects/dokuwiki
9     Group: SMEserver/addon
10     Source: %{name}-%{version}.tar.gz
11    
12     BuildArchitectures: noarch
13     BuildRequires: e-smith-devtools
14     BuildRoot: /var/tmp/%{name}-%{version}
15     Requires: e-smith-base >= 5.8.0
16     Requires: dokuwiki
17     Requires: smeserver-webapps-common
18 brianr 1.2 Patch0:smeserver-dokuwiki-0.3.0-Add-Update-Event.patch
19 jcrisp 1.3 Patch1: smeserver-dokuwiki-0.3.0-fix-httpd-syntax.patch
20    
21 jcrisp 1.1 AutoReqProv: no
22    
23     %description
24     smserver integration of dokuwiki
25     DokuWiki is a simple to use Wiki aimed at the documentation needs of a small company
26    
27     %changelog
28 jcrisp 1.3 * Thu Oct 14 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3.0-3.sme
29     - remove directory permissions for plugin directory [SME: 11703]
30     - Fix httpd FilesMatch
31    
32 brianr 1.2 * Tue Oct 05 2021 Brian Read <brianr@bjsystems.co.uk> 0.3.0-2.sme
33     - Add update event [SME: 11703]
34    
35 jcrisp 1.1 * Mon Oct 04 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3.0-1
36     - First import to SME Contribs [SME: 11703]
37     - Update to PHP 74
38    
39     * Mon Jan 22 2018 Daniel Berteaud <daniel@firewall-services.com> 0.2.2-1
40     - Fix permissions on plugin dir (daniel@firewall-services.com)
41    
42     * Sun Nov 19 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1
43     - new package built with tito
44    
45     * Fri Jul 14 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1
46     - Switch to php 71 using FastCGI and FPM is available
47    
48     * Wed Mar 15 2017 Daniel Berteaud <daniel@firewall-services.com> 0.1.7-1
49     - Add /dev/urandom to open_basedir, needed since 2017-02-19
50    
51     * Wed Oct 29 2014 Daniel B. <daniel@firewall-services.com> 0.1.6-1
52     - Fix SSL redirection
53    
54     * Sat Jul 5 2014 Daniel B. <daniel@firewall-services.com> 0.1.5-1
55     - Small fixes in authhttpldap plugin
56    
57     * Tue May 6 2014 Daniel B. <daniel@firewall-services.com> 0.1.4-1
58     - Add missing plugin.info.txt file for the authhttpldap plugin
59    
60     * Thu Dec 5 2013 Daniel B. <daniel@firewall-services.com> 0.1.3-1
61     - Push php memory limit to 128M
62    
63     * Fri Nov 22 2013 Daniel B. <daniel@firewall-services.com> 0.1.2-1
64     - Fix a typo which prevent transparent SSL redirection
65    
66     * Wed May 15 2013 Daniel B. <daniel@firewall-services.com> 0.1.1-1
67     - Use the new auth plugins to be compatible with dokuwiki 2013-05-10
68    
69     * Wed May 15 2013 Daniel B. <daniel@firewall-services.com> 0.1.0-1
70     - Import in GIT
71    
72     * Mon Dec 19 2011 Daniel B. <daniel@firewall-services.com> 0.1-2
73     - Follow symlinks so fck media browser works
74    
75     * Fri Jul 08 2011 Daniel B. <daniel@firewall-services.com> 0.1-1
76     - initial release
77    
78     %prep
79     %setup
80 brianr 1.2 %patch0 -p1
81 jcrisp 1.4 %patch1 -p1
82 jcrisp 1.1
83     %build
84     perl ./createlinks
85     find root/ -type f | xargs grep -l __PHP_VERSION__ | xargs sed -i -e "s/__PHP_VERSION__/%{phpversion}/g"
86     %{__mkdir_p} root/var/log/php/dokuwiki
87     %{__mkdir_p} root/var/lib/php/dokuwiki/{tmp,session,opcache}
88    
89     %install
90     rm -rf $RPM_BUILD_ROOT
91     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
92     rm -f %{name}-%{version}-filelist
93     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
94     --dir /var/log/php/dokuwiki 'attr(0770,root,www)' \
95     --dir /var/lib/php/dokuwiki 'attr(0770,root,www)' \
96     --dir /var/lib/php/dokuwiki/tmp 'attr(0770,root,www)' \
97     --dir /var/lib/php/dokuwiki/opcache 'attr(0770,root,www)' \
98     --dir /var/lib/php/dokuwiki/session 'attr(0770,root,www)' \
99 jcrisp 1.3 --ignoredir /usr/share/dokuwiki/lib/plugins \
100 jcrisp 1.1 > %{name}-%{version}-filelist
101    
102     %files -f %{name}-%{version}-filelist
103     %defattr(-,root,root)
104    
105     %clean
106     rm -rf $RPM_BUILD_ROOT
107    
108     %postun
109    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed