1 |
%define realversion 20210220 |
2 |
%define version %(echo %{realversion} | sed -e 's/-//g') |
3 |
%define releasenum 3 |
4 |
|
5 |
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 5 |
6 |
%global useselinux 1 |
7 |
%else |
8 |
%global useselinux 0 |
9 |
%endif |
10 |
|
11 |
Name: dokuwiki-plugins |
12 |
Version: %{version} |
13 |
Release: %{releasenum}%{?dist} |
14 |
Summary: Standards compliant simple to use wiki |
15 |
Group: Applications/Internet |
16 |
License: GPLv2 |
17 |
URL: http://www.dokuwiki.org/dokuwiki |
18 |
|
19 |
Source10: changes.zip |
20 |
Source11: ckgedit.zip |
21 |
Source12: color.zip |
22 |
Source13: dw2pdf.zip |
23 |
Source14: edittable.zip |
24 |
Source15: encryptedpasswords.zip |
25 |
Source16: hidden.zip |
26 |
Source17: howhard.zip |
27 |
Source18: loglog.zip |
28 |
Source19: note.zip |
29 |
Source20: nspages.zip |
30 |
Source21: odt.zip |
31 |
Source22: pagelist.zip |
32 |
Source23: pagemove.zip |
33 |
Source24: sortablejs.zip |
34 |
Source25: tag.zip |
35 |
Source26: todo.zip |
36 |
|
37 |
|
38 |
Patch1: dokuwiki-plugins-2021-10-05-ckgedit_fix_media_dir.patch |
39 |
Patch2: dokuwiki-plugins-2021-10-05-mupdf_tmp_dir.patch |
40 |
|
41 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
42 |
BuildArch: noarch |
43 |
Requires: dokuwiki >= 20200729 |
44 |
|
45 |
|
46 |
%description |
47 |
DokuWiki is a standards compliant, simple to use Wiki, mainly aimed at creating |
48 |
documentation of any kind. It has a simple but powerful syntax which makes sure |
49 |
the data files remain readable outside the Wiki and eases the creation of |
50 |
structured texts. |
51 |
|
52 |
All data is stored in plain text files no database is required. |
53 |
|
54 |
This package provides several useful plugins for dokuwiki |
55 |
|
56 |
%prep |
57 |
%{__rm} -rf lib |
58 |
%{__mkdir_p} lib/{plugins,tpl} |
59 |
# Extract plugins |
60 |
for S in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} %{SOURCE15} %{SOURCE16} %{SOURCE17} %{SOURCE18} %{SOURCE19} %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} %{SOURCE24} %{SOURCE25} %{SOURCE26}; do |
61 |
unzip -o -d lib/plugins $S |
62 |
done |
63 |
|
64 |
mv lib/plugins/changes-master lib/plugins/changes |
65 |
mv lib/plugins/ckgedit-master lib/plugins/ckgedit |
66 |
mv lib/plugins/color-master lib/plugins/color |
67 |
mv lib/plugins/dw2pdf-master lib/plugins/dw2pdf |
68 |
mv lib/plugins/edittable-master lib/plugins/edittable |
69 |
mv lib/plugins/encryptedpasswords-master lib/plugins/encryptedpasswords |
70 |
mv lib/plugins/hidden-master lib/plugins/hidden |
71 |
mv lib/plugins/howhard-master lib/plugins/howhard |
72 |
mv lib/plugins/loglog-master lib/plugins/loglog |
73 |
mv lib/plugins/note-master lib/plugins/note |
74 |
mv lib/plugins/nspages-master lib/plugins/nspages |
75 |
mv lib/plugins/odt-master lib/plugins/odt |
76 |
mv lib/plugins/pagelist-master lib/plugins/pagelist |
77 |
mv lib/plugins/pagemove-master lib/plugins/pagemove |
78 |
mv lib/plugins/sortablejs-master lib/plugins/sortablejs |
79 |
mv lib/plugins/tag-master lib/plugins/tag |
80 |
mv lib/plugins/todo-master lib/plugins/todo |
81 |
|
82 |
ls -l lib/plugins/ckgedit |
83 |
|
84 |
find lib -type d -exec chmod 755 "{}" \; |
85 |
find lib -type f -exec chmod 644 "{}" \; |
86 |
|
87 |
%patch1 -p0 |
88 |
%patch2 -p0 |
89 |
|
90 |
%build |
91 |
|
92 |
%install |
93 |
rm -rf $RPM_BUILD_ROOT |
94 |
install -d -p $RPM_BUILD_ROOT%{_datadir}/dokuwiki/ |
95 |
cp -rp lib $RPM_BUILD_ROOT%{_datadir}/dokuwiki/ |
96 |
|
97 |
%files |
98 |
%defattr(-,root,root,-) |
99 |
%attr(0755,apache,apache) %dir %{_datadir}/dokuwiki/lib/plugins |
100 |
%attr(0775,root,apache) %dir %{_datadir}/dokuwiki/lib/plugins/* |
101 |
%{_datadir}/dokuwiki/lib/plugins/* |
102 |
|
103 |
%clean |
104 |
%{__rm} -rf $RPM_BUILD_ROOT |
105 |
|
106 |
%changelog |
107 |
* Mon Oct 11 2021 Terry Fage <terry@fage.id.au> 20210220-3 |
108 |
- reapply patchs ckgedit_fix_media_dir mupdf_tmp_dir [SME: 11704] |
109 |
|
110 |
* Wed Oct 06 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 20210220-2 |
111 |
- Update the dokuwiki requires version |
112 |
|
113 |
* Tue Oct 05 2021 John Crisp <jcrisp@safeandsoundit.co.uk> - 20210220-1 |
114 |
- First import to SME [SME: 11704] |
115 |
- Updated plugins to lastest versions |
116 |
- Scripted git pulls for plugins and zipping them |
117 |
- Sorted plugin names alphabetically |
118 |
|
119 |
* Mon Sep 25 2017 Daniel Berteaud <daniel@firewall-services.com> - 20170219e-2 |
120 |
- Fix syntax error in ckgedit lang file preventing access to settings |
121 |
|
122 |
* Mon Aug 28 2017 Daniel Berteaud <daniel@firewall-services.com> - 20170219e-1 |
123 |
- Bump for 2017-02-19e |
124 |
|
125 |
* Wed Aug 23 2017 Daniel Berteaud <daniel@firewall-services.com> - 20170219d-1 |
126 |
- Bump for 2017-02-19d |
127 |
- Update ckgedit |
128 |
- Update hidden |
129 |
- Update tag |
130 |
- Update pagelist |
131 |
- Update loglog |
132 |
- Update edittable |
133 |
- Update odt |
134 |
- Update nspages |
135 |
- Update changes |
136 |
- Update dw2pdf |
137 |
|
138 |
* Thu Mar 9 2017 Daniel Berteaud <daniel@firewall-services.com> - 20170219b-1 |
139 |
- Bump for 2017-02-19b |
140 |
|
141 |
* Tue Feb 21 2017 Daniel Berteaud <daniel@firewall-services.com> - 20170219a-1 |
142 |
- Bump for 2017-02-19a |
143 |
- Update note |
144 |
- Update odt |
145 |
- Update dw2pdf |
146 |
- Update color |
147 |
- Update hidden |
148 |
- Update encryptedpasswords |
149 |
- Update tag |
150 |
- Update pagelist |
151 |
- Update changes |
152 |
- Update loglog |
153 |
- Update todo |
154 |
- Update ckgedit |
155 |
- Update edittable |
156 |
- Update sortablejs |
157 |
- Update howhard |
158 |
|
159 |
* Wed Jul 20 2016 Daniel Berteaud <daniel@firewall-services.com> - 20160626a-2 |
160 |
- Fix odt export when notes are used |
161 |
See https://github.com/LarsGit223/dokuwiki-plugin-odt/issues/144 |
162 |
|
163 |
* Mon Jul 4 2016 Daniel Berteaud <daniel@firewall-services.com> - 20160626a-1 |
164 |
- Bump for 2016-06-26a |
165 |
|
166 |
* Tue Jun 28 2016 Daniel Berteaud <daniel@firewall-services.com> - 20160626-1 |
167 |
- Bump for 2016-06-26 |
168 |
- Update changes |
169 |
- Update ckgedit |
170 |
- Update dw2pdf |
171 |
- Update edittable |
172 |
- Update hidden |
173 |
- Update howhard |
174 |
- Update loglog |
175 |
- Update nspages |
176 |
- Update odt |
177 |
- Update pagelist |
178 |
- Update pagemove |
179 |
- Update tag |
180 |
- Update todo |
181 |
|
182 |
* Wed Sep 9 2015 Daniel Berteaud <daniel@firewall-services.com> - 20150810a-2 |
183 |
- Update edittable to 2015-09-01 |
184 |
|
185 |
* Tue Sep 1 2015 Daniel Berteaud <daniel@firewall-services.com> - 20150810a-1 |
186 |
- Bump for 2015-08-10a |
187 |
- Update odt |
188 |
- Update dw2pdf |
189 |
- Update hidden |
190 |
- Update encryptedpassword |
191 |
- Update nspage |
192 |
- Update ckgedit |
193 |
- Update edittable |
194 |
- Update sortablejs |
195 |
- Update howhard |
196 |
- Remove useless dokuwiki_export template |
197 |
|
198 |
* Fri Mar 20 2015 Daniel Berteaud <daniel@firewall-services.com> - 20140029d-1 |
199 |
- Bump for 2014-09-29d |
200 |
- Update changes |
201 |
- Update edittable |
202 |
- Update encryptedpassword |
203 |
- Update loglog |
204 |
- Update odt |
205 |
|
206 |
* Thu Feb 26 2015 Daniel Berteaud <daniel@firewall-services.com> - 20140029c-1 |
207 |
- Bump for 2014-09-29c |
208 |
- Update odt |
209 |
- Update dw2pdf |
210 |
- Update nspage |
211 |
- Update changes |
212 |
- Update todo |
213 |
- Update ckgedit |
214 |
- Update edittable |
215 |
|
216 |
* Thu Dec 4 2014 Daniel Berteaud <daniel@firewall-services.com> - 20140029b-1 |
217 |
- Bump for 2014-09-29b |
218 |
|
219 |
* Tue Oct 14 2014 Daniel Berteaud <daniel@firewall-services.com> - 20140029a-1 |
220 |
- Bump version for 2014-09-29a |
221 |
- Update default template |
222 |
- Update ckgedit |
223 |
- Update dw2pdf |
224 |
- Update encryptedpassword |
225 |
- Update howhard |
226 |
- Update odt |
227 |
- Update pagemove |
228 |
- Update sortablejs |
229 |
- Update todo |
230 |
|
231 |
* Tue Aug 12 2014 Daniel Berteaud <daniel@firewall-services.com> - 20140505a-2 |
232 |
- update odt |
233 |
- update tag |
234 |
- update hidden |
235 |
- update todo |
236 |
- update pagelist |
237 |
- update pagemove |
238 |
- update dw2pdf |
239 |
- update loglog |
240 |
- update ckgedit |
241 |
- update nspage |
242 |
- update encryptedpasswords |
243 |
- add edittable |
244 |
- add sertablejs |
245 |
- add howhard |
246 |
- remove toolbox |
247 |
- remove floartdiv |
248 |
- remove iframe |
249 |
|
250 |
* Fri Jun 27 2014 Daniel Berteaud <daniel@firewall-services.com> - 20140505a-1 |
251 |
- bump version for 2014-05-05a |
252 |
|
253 |
* Tue May 6 2014 Daniel Berteaud <daniel@firewall-services.com> - 20140505-1 |
254 |
- Bump release for new dokuwiki (2014-05-05) |
255 |
- Update dokuwiki tpl |
256 |
- Update dw2pdf |
257 |
- Update tag |
258 |
- Update pagelist |
259 |
- Update ckgedit |
260 |
|
261 |
* Mon Dec 9 2013 Daniel Berteaud <daniel@firewall-services.com> - 20131208-1 |
262 |
- bump release for new dokuwiki version (2013-12-08) |
263 |
- Update dokuwiki tpl |
264 |
- Remove the old default template |
265 |
|
266 |
* Thu Nov 28 2013 Daniel Berteaud <daniel@firewall-services.com> - 20130510a-4 |
267 |
- Fix permissions on the plugins dir |
268 |
|
269 |
* Fri Nov 15 2013 Daniel Berteaud <daniel@firewall-services.com> - 20130510a-3 |
270 |
- Cleanup the spec file |
271 |
|
272 |
* Thu Oct 31 2013 Daniel Berteaud <daniel@firewall-services.com> - 20130510a-2 |
273 |
- Fix media manager in ckgedit |
274 |
- Update dw2pdf |
275 |
- Update tag |
276 |
- Update pagelist |
277 |
- Update nspages |
278 |
- Update todo |
279 |
- Update ckgedit |
280 |
|
281 |
* Wed Aug 21 2013 Daniel Berteaud <daniel@firewall-services.com> - 20130510a-1 |
282 |
- bump version to 2013-05-10a |
283 |
|
284 |
* Thu Mar 28 2013 Daniel Berteaud <daniel@firewall-services.com> - 20130510-1 |
285 |
- update hidden |
286 |
- update encryptpassword |
287 |
- update tag |
288 |
- update pagelist |
289 |
- update todo |
290 |
- replace fckgLite with ckgedit |
291 |
- remove edittable |
292 |
- bump version for dokuwiki 2013-05-10 |
293 |
|
294 |
* Mon Oct 15 2012 Daniel Berteaud <daniel@firewall-services.com> - 20121013-1 |
295 |
- bump release for new dokuwiki version |
296 |
|
297 |
* Thu Sep 13 2012 Daniel Berteaud <daniel@firewall-services.com> - 20120910-1 |
298 |
- bump release for new dokuwiki version |
299 |
- update hidden |
300 |
- update tag |
301 |
- update fckgLite |
302 |
- update encryptedpasswords |
303 |
|
304 |
* Sun Jul 15 2012 Daniel Berteaud <daniel@firewall-services.com> - 20120125b-1 |
305 |
- bump release for dokuwiki 2012-01-25b |
306 |
- update default tpl |
307 |
- update dw2pdf |
308 |
- update hidden |
309 |
- update encryptedpasswords |
310 |
- update pagelist |
311 |
- update nspages |
312 |
- update pagemove |
313 |
- update fckgLite |
314 |
- add iframe plugin |
315 |
|
316 |
* Tue May 29 2012 Daniel Berteaud <daniel@firewall-services.com> - 20120125a-4 |
317 |
- update dw2pdf, tag and hidden plugins |
318 |
|
319 |
* Mon Apr 23 2012 Daniel Berteaud <daniel@firewall-services.com> - 20120125a-3 |
320 |
- bump release for new dokuwiki version |
321 |
|
322 |
* Fri Jan 27 2012 Daniel Berteaud <daniel@firewall-services.com> - 20120125-3 |
323 |
- upgrade for upstream dokuwiki |
324 |
- upgrade dw2pdf to latest release |
325 |
|
326 |
* Fri Nov 18 2011 Daniel Berteaud <daniel@firewall-services.com> - 20110525a-2 |
327 |
- Add fckgLite plugin |
328 |
|
329 |
* Mon Jul 18 2011 Daniel Berteaud <daniel@firewall-services.com> - 20110525a-1 |
330 |
- Initial release |
331 |
|