]>
Commit | Line | Data |
---|---|---|
ccbe5ea1 | 1 | %define subver 2010-10-27 |
b54d08c7 | 2 | %define ver %(echo %{subver} | tr -d -) |
1807986d | 3 | %define php_min_version 5.1.2 |
067355f7 | 4 | %include /usr/lib/rpm/macros.php |
d73655e0 | 5 | Summary: PHP-based Wiki webapplication |
b9cde090 | 6 | Summary(pl.UTF-8): Aplikacja WWW Wiki oparta na PHP |
d73655e0 | 7 | Name: dokuwiki |
988b16db | 8 | Version: %{ver} |
ccbe5ea1 | 9 | Release: 0.1 |
d73655e0 SP |
10 | License: GPL v2 |
11 | Group: Applications/WWW | |
ccbe5ea1 ER |
12 | Source0: http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-rc2010-10-27.tgz |
13 | # Source0-md5: 9c87390cb4acda65d7b6002b8f7cceeb | |
99646b81 ER |
14 | Source1: %{name}-apache.conf |
15 | Source2: %{name}-lighttpd.conf | |
db16581c ER |
16 | Source3: jude.png |
17 | # Source3-md5: 623344128960e18f86097dfee213ad4a | |
18 | Source4: eventum.gif | |
db16581c ER |
19 | Source5: http://forum.skype.com/style_emoticons/skype/skype.png |
20 | # Source5-md5: 25c355be038267dc9fdb724b628000b9 | |
dff16d0a ER |
21 | Source6: pld_button.png |
22 | # Source6-md5: 185afa921e81bd726b9f0f9f0909dc6e | |
00c44498 ER |
23 | Source7: cacti.gif |
24 | Source8: nagios.gif | |
a154f52b ER |
25 | Source9: http://trac.edgewall.org/export/9404/trunk/doc/trac_icon_16x16.png |
26 | # Source9-md5: 0c19ed35bf677f33f6bea14b3a8a2e10 | |
c4df8b0c | 27 | Source10: pld.gif |
107aba6f | 28 | Patch66: %{name}-config.patch |
641b29cc | 29 | Patch0: %{name}-paths.patch |
59f818e0 | 30 | Patch2: %{name}-mysqlauth.patch |
0a785872 | 31 | Patch3: %{name}-config-allow-require.patch |
48993817 | 32 | Patch4: %{name}-geshi.patch |
9e409dbc | 33 | Patch5: %{name}-http_auth-option.patch |
ff1d703f | 34 | Patch6: %{name}-nice_exit.patch |
19f4a739 | 35 | Patch7: %{name}-mail-headerencodequotes.patch |
e79c8784 | 36 | Patch8: %{name}-notify-respect-minor.patch |
6bda8de4 | 37 | Patch9: %{name}-media-userinfo.patch |
aea2faa7 | 38 | Patch10: %{name}-mailtext.patch |
1bf63c70 | 39 | Patch11: %{name}-notifyns.patch |
e21b2065 | 40 | Patch12: %{name}-mailthreads.patch |
369ed483 | 41 | Patch13: %{name}-media-directlink.patch |
e5ce8ca9 | 42 | Patch14: interwiki-outputonly.patch |
ae5a5f57 | 43 | Patch15: simplepie.patch |
bba17ba4 | 44 | Patch18: install.patch |
dff16d0a | 45 | Patch19: pld-branding.patch |
a3e2b241 | 46 | Patch20: fixprivilegeescalationbug.diff |
638afb06 | 47 | Patch21: task-1821.patch |
259e9b01 | 48 | Patch22: adldap.patch |
3aa37b5a | 49 | URL: http://www.dokuwiki.org/dokuwiki |
067355f7 | 50 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
db16581c | 51 | BuildRequires: rpmbuild(macros) >= 1.520 |
1807986d ER |
52 | Requires: php-common >= 4:%{php_min_version} |
53 | Requires: php-geshi >= 1.0.7.19 | |
41c49b4c | 54 | Requires: php-session |
c4df8b0c | 55 | Requires: php-simplepie >= 1.0.1 |
bd481dc8 | 56 | Requires: php-xml |
d73655e0 | 57 | Requires: webapps |
105a71ba | 58 | Requires: webserver(access) |
24a3d556 | 59 | Requires: webserver(alias) |
bd481dc8 | 60 | Requires: webserver(php) |
259e9b01 | 61 | Suggests: php-adldap >= 3.3.1 |
bd481dc8 | 62 | Suggests: php-gd |
083e173b | 63 | # can use gz compression to store attic pages |
bd481dc8 | 64 | Suggests: php-zlib |
d73655e0 SP |
65 | BuildArch: noarch |
66 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
67 | ||
68 | %define _webapps /etc/webapps | |
69 | %define _webapp %{name} | |
70 | %define _sysconfdir %{_webapps}/%{_webapp} | |
71 | %define _appdir %{_datadir}/%{_webapp} | |
881190a4 | 72 | %define _localstatedir /var/lib/%{name} |
db16581c | 73 | %define find_lang %{_usrlibrpm}/dokuwiki-find-lang.sh %{buildroot} |
d73655e0 | 74 | |
067355f7 | 75 | # bad depsolver |
0a09ce01 | 76 | %define _noautopear 'pear(/usr/share/php/geshi.php)' 'pear(/usr/share/php/adLDAP.php)' |
1807986d ER |
77 | |
78 | # exclude optional php dependencies | |
616a9f7a | 79 | %define _noautophp php-bzip2 php-bcmath php-zip php-date php-ftp php-hash php-ldap php-mbstring php-mysql php-pgsql php-tokenizer |
1807986d ER |
80 | |
81 | %define _noautoreq %{_noautophp} %{_noautopear} | |
067355f7 | 82 | |
d73655e0 SP |
83 | %description |
84 | DokuWiki is a standards compliant, simple to use Wiki, mainly aimed at | |
85 | creating documentation of any kind. It is targeted at developer teams, | |
86 | workgroups and small companies. It has a simple but powerful syntax | |
87 | which makes sure the datafiles remain readable outside the Wiki and | |
88 | eases the creation of structured texts. All data is stored in plain | |
b9cde090 JB |
89 | text files - no database is required. |
90 | ||
91 | %description -l pl.UTF-8 | |
92 | DokuWiki to zgodne ze standardami i proste w użyciu Wiki, przeznaczone | |
93 | głównie do tworzenia dokumentów wszelkiego rodzaju. Jest przeznaczone | |
94 | dla zespołów programistów, grup roboczych i małych firm. Ma prostą, | |
95 | ale mającą duże możliwości składnię, dzięki której pliki danych | |
96 | pozostają czytelne poza Wiki, a także ułatwiającą tworzenie tekstów | |
97 | strukturalnych. Wszystkie dane są przechowywane w plikach tekstowych - | |
98 | nie jest wymagana baza danych. | |
d73655e0 | 99 | |
641b29cc | 100 | %package setup |
4c94baaa JB |
101 | Summary: DokuWiki setup package |
102 | Summary(pl.UTF-8): Pakiet do wstępnej konfiguracji DokuWiki | |
641b29cc ER |
103 | Group: Applications/WWW |
104 | Requires: %{name} = %{version}-%{release} | |
105 | ||
106 | %description setup | |
4c94baaa | 107 | Install this package to configure initial DokuWiki installation. You |
641b29cc ER |
108 | should uninstall this package when you're done, as it considered |
109 | insecure to keep the setup files in place. | |
110 | ||
111 | %description setup -l pl.UTF-8 | |
4c94baaa | 112 | Ten pakiet należy zainstalować w celu wstępnej konfiguracji DokuWiki |
641b29cc ER |
113 | po pierwszej instalacji. Potem należy go odinstalować, jako że |
114 | pozostawienie plików instalacyjnych mogłoby być niebezpieczne. | |
115 | ||
d73655e0 | 116 | %prep |
c4df8b0c | 117 | %setup -q -n %{name}-rc%{subver} |
641b29cc | 118 | %patch0 -p1 |
59f818e0 | 119 | %patch2 -p1 |
0a785872 | 120 | %patch3 -p1 |
48993817 | 121 | %patch4 -p1 |
9e409dbc | 122 | %patch5 -p1 |
ff1d703f | 123 | %patch6 -p1 |
19f4a739 | 124 | %patch7 -p1 |
e79c8784 | 125 | %patch8 -p1 |
6bda8de4 | 126 | %patch9 -p1 |
aea2faa7 | 127 | %patch10 -p1 |
1bf63c70 | 128 | %patch11 -p1 |
e21b2065 | 129 | %patch12 -p1 |
369ed483 | 130 | %patch13 -p1 |
e5ce8ca9 | 131 | %patch14 -p1 |
ae5a5f57 | 132 | %patch15 -p1 |
bba17ba4 | 133 | %patch18 -p1 |
a3e2b241 ER |
134 | %patch19 -p1 |
135 | %patch20 -p1 | |
638afb06 | 136 | %patch21 -p1 |
259e9b01 | 137 | %patch22 -p1 |
d73655e0 | 138 | |
107aba6f ER |
139 | %patch66 -p1 |
140 | ||
7df7f76f | 141 | find -name _dummy | xargs rm |
a3e2b241 | 142 | rm lib/index.html lib/plugins/index.html inc/lang/.htaccess |
7df7f76f | 143 | |
2d01b400 ER |
144 | # safe file |
145 | mv conf/words.aspell{.dist,} | |
146 | ||
b3528e0c | 147 | # use system geshi package |
48993817 | 148 | rm -f inc/geshi.php |
b3528e0c ER |
149 | rm -rf inc/geshi |
150 | ||
259e9b01 ER |
151 | # use system adldap package |
152 | rm -f inc/adLDAP.php | |
153 | ||
ae5a5f57 ER |
154 | # use system simplepie package |
155 | rm -f inc/SimplePie.php | |
156 | ||
7df7f76f ER |
157 | # our plugins dir is not writable anyway, nothing to convert |
158 | rm -rf lib/plugins/upgradeplugindirectory | |
159 | ||
107aba6f ER |
160 | # flash source |
161 | rm -rf lib/_fla | |
162 | ||
08b33253 ER |
163 | # cleanup backups after patching |
164 | find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f | |
165 | ||
107aba6f ER |
166 | %build |
167 | md5=$(md5sum -b conf/dokuwiki.php | awk '{print $1}') | |
168 | if ! grep $md5 install.php; then | |
af5aefcd | 169 | : update %{name}-config.patch -- it is outdated |
107aba6f ER |
170 | exit 1 |
171 | fi | |
172 | ||
d73655e0 SP |
173 | %install |
174 | rm -rf $RPM_BUILD_ROOT | |
641b29cc | 175 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_localstatedir},%{_appdir}/{bin,inc,lib}} |
d73655e0 SP |
176 | |
177 | cp -a *.php $RPM_BUILD_ROOT%{_appdir} | |
afdae6ca | 178 | cp -a VERSION $RPM_BUILD_ROOT%{_appdir} |
641b29cc ER |
179 | cp -a bin/* $RPM_BUILD_ROOT%{_appdir}/bin |
180 | cp -a inc/* $RPM_BUILD_ROOT%{_appdir}/inc | |
181 | cp -a lib/* $RPM_BUILD_ROOT%{_appdir}/lib | |
881190a4 ER |
182 | cp -a conf/* $RPM_BUILD_ROOT%{_sysconfdir} |
183 | cp -a data/* $RPM_BUILD_ROOT%{_localstatedir} | |
107aba6f ER |
184 | cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf |
185 | cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf | |
186 | cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf | |
a4053ed1 ER |
187 | touch $RPM_BUILD_ROOT%{_sysconfdir}/acronyms.local.conf |
188 | touch $RPM_BUILD_ROOT%{_sysconfdir}/entities.local.conf | |
189 | touch $RPM_BUILD_ROOT%{_sysconfdir}/interwiki.local.conf | |
7df7f76f ER |
190 | touch $RPM_BUILD_ROOT%{_sysconfdir}/license.local.php |
191 | touch $RPM_BUILD_ROOT%{_sysconfdir}/local.php | |
192 | touch $RPM_BUILD_ROOT%{_sysconfdir}/local.protected.php | |
a4053ed1 ER |
193 | touch $RPM_BUILD_ROOT%{_sysconfdir}/mime.local.conf |
194 | touch $RPM_BUILD_ROOT%{_sysconfdir}/smileys.local.conf | |
d6d39525 | 195 | touch $RPM_BUILD_ROOT%{_sysconfdir}/userstyle.css |
d73655e0 | 196 | |
2d01b400 | 197 | ln $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/{dokubug,bug}.gif |
71848539 | 198 | cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_appdir}/lib/images/fileicons/jude.png |
db16581c | 199 | cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/eventum.gif |
00c44498 ER |
200 | cp -a %{SOURCE7} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/cacti.gif |
201 | cp -a %{SOURCE8} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/nagios.gif | |
202 | cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/skype.png | |
a154f52b | 203 | cp -a %{SOURCE9} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/trac.png |
203f991f | 204 | cp -a %{SOURCE10} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/pld.gif |
dff16d0a | 205 | cp -a %{SOURCE6} $RPM_BUILD_ROOT%{_appdir}/lib/tpl/default/images/button-pld.png |
2d01b400 | 206 | |
fe631b5b | 207 | # find locales |
db16581c | 208 | %find_lang %{name}.lang |
fe631b5b | 209 | |
b607609a ER |
210 | # make inc/lang/en/edit.txt as %config |
211 | %{__sed} -i -e ' | |
212 | /%%lang([^)]\+) \/usr\/share\/dokuwiki\/inc\/lang\/[^/]\+/{ | |
213 | # make entry as %%dir | |
214 | s/^/%%dir /; p | |
215 | ||
216 | # add files inside the %dir | |
217 | s/^%%dir /%%config(noreplace) %%verify(not md5 mtime size) /; s/$/\/*.*/ | |
218 | }' %{name}.lang | |
219 | ||
d73655e0 SP |
220 | %clean |
221 | rm -rf $RPM_BUILD_ROOT | |
222 | ||
641b29cc ER |
223 | %post setup |
224 | chmod 770 %{_sysconfdir} | |
225 | chmod 660 %{_sysconfdir}/dokuwiki.php | |
226 | ||
227 | %postun setup | |
228 | if [ "$1" = "0" ]; then | |
1bf63c70 ER |
229 | if [ -f %{_sysconfdir}/dokuwiki.php ]; then |
230 | chmod 750 %{_sysconfdir} | |
231 | chmod 640 %{_sysconfdir}/dokuwiki.php | |
232 | fi | |
641b29cc ER |
233 | fi |
234 | ||
d73655e0 SP |
235 | %triggerin -- apache1 < 1.3.37-3, apache1-base |
236 | %webapp_register apache %{_webapp} | |
237 | ||
238 | %triggerun -- apache1 < 1.3.37-3, apache1-base | |
239 | %webapp_unregister apache %{_webapp} | |
240 | ||
241 | %triggerin -- apache < 2.2.0, apache-base | |
242 | %webapp_register httpd %{_webapp} | |
243 | ||
244 | %triggerun -- apache < 2.2.0, apache-base | |
245 | %webapp_unregister httpd %{_webapp} | |
246 | ||
99646b81 ER |
247 | %triggerin -- lighttpd |
248 | %webapp_register lighttpd %{_webapp} | |
249 | ||
250 | %triggerun -- lighttpd | |
251 | %webapp_unregister lighttpd %{_webapp} | |
252 | ||
881190a4 ER |
253 | %pretrans |
254 | if [ -d %{_appdir}/data -a ! -L %{_appdir}/data ]; then | |
255 | mv -f %{_appdir}/data/* %{_localstatedir} | |
256 | rm -rf %{_appdir}/data | |
257 | fi | |
258 | if [ -d %{_appdir}/conf -a ! -L %{_appdir}/conf ]; then | |
259 | mv -f %{_appdir}/conf/* %{_sysconfdir} | |
260 | rm -rf %{_appdir}/conf | |
261 | fi | |
262 | exit 0 | |
263 | ||
fe631b5b | 264 | %files -f %{name}.lang |
d73655e0 | 265 | %defattr(644,root,root,755) |
08b33253 | 266 | %doc README |
d73655e0 SP |
267 | %dir %attr(750,root,http) %{_sysconfdir} |
268 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf | |
269 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf | |
99646b81 ER |
270 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lighttpd.conf |
271 | ||
881190a4 | 272 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mediameta.php |
2d01b400 | 273 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/words.aspell |
7df7f76f | 274 | %attr(660,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/scheme.conf |
a4053ed1 | 275 | |
a4053ed1 ER |
276 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/acronyms.local.conf |
277 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/entities.local.conf | |
278 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/interwiki.local.conf | |
7df7f76f ER |
279 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/license.local.php |
280 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/local.protected.php | |
a4053ed1 ER |
281 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.local.conf |
282 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/smileys.local.conf | |
d6d39525 | 283 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/userstyle.css |
7df7f76f | 284 | %attr(660,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/local.php |
2d01b400 | 285 | |
a4053ed1 | 286 | # use local.php,local.protected.php, etc for local changes |
a4053ed1 | 287 | %attr(640,root,http) %config %verify(not md5 mtime size) %{_sysconfdir}/acronyms.conf |
7df7f76f | 288 | %attr(640,root,http) %config %verify(not md5 mtime size) %{_sysconfdir}/dokuwiki.php |
a4053ed1 | 289 | %attr(640,root,http) %config %verify(not md5 mtime size) %{_sysconfdir}/entities.conf |
fc7417e4 | 290 | %attr(640,root,http) %config %verify(not md5 mtime size) %{_sysconfdir}/interwiki.conf |
7df7f76f | 291 | %attr(640,root,http) %config %verify(not md5 mtime size) %{_sysconfdir}/license.php |
a4053ed1 ER |
292 | %attr(640,root,http) %config %verify(not md5 mtime size) %{_sysconfdir}/mime.conf |
293 | %attr(640,root,http) %config %verify(not md5 mtime size) %{_sysconfdir}/smileys.conf | |
b9fff555 | 294 | |
a4053ed1 | 295 | # samples. perhaps move to %doc instead? |
b9fff555 ER |
296 | %attr(640,root,http) %{_sysconfdir}/mysql.conf.php.example |
297 | %attr(640,root,http) %{_sysconfdir}/acl.auth.php.dist | |
298 | %attr(640,root,http) %{_sysconfdir}/wordblock.conf | |
299 | %attr(640,root,http) %{_sysconfdir}/local.php.dist | |
300 | %attr(640,root,http) %{_sysconfdir}/users.auth.php.dist | |
881190a4 | 301 | |
641b29cc | 302 | %dir %{_appdir} |
afdae6ca | 303 | %{_appdir}/VERSION |
fe631b5b ER |
304 | %{_appdir}/doku.php |
305 | %{_appdir}/feed.php | |
306 | %{_appdir}/index.php | |
641b29cc ER |
307 | %dir %{_appdir}/bin |
308 | %attr(755,root,root) %{_appdir}/bin/dwpage.php | |
309 | %attr(755,root,root) %{_appdir}/bin/indexer.php | |
c4df8b0c | 310 | %attr(755,root,root) %{_appdir}/bin/render.php |
641b29cc | 311 | %attr(755,root,root) %{_appdir}/bin/wantedpages.php |
fe631b5b ER |
312 | |
313 | %dir %{_appdir}/inc | |
314 | %{_appdir}/inc/*.php | |
315 | %{_appdir}/inc/auth | |
316 | %{_appdir}/inc/parser | |
317 | ||
318 | %dir %{_appdir}/lib | |
319 | %dir %{_appdir}/lib/plugins | |
320 | %dir %{_appdir}/lib/plugins/acl | |
321 | %{_appdir}/lib/plugins/acl/*.* | |
08b33253 | 322 | %{_appdir}/lib/plugins/acl/pix |
fe631b5b ER |
323 | %dir %{_appdir}/lib/plugins/config |
324 | %{_appdir}/lib/plugins/config/*.* | |
107aba6f | 325 | %{_appdir}/lib/plugins/config/images |
fe631b5b ER |
326 | %{_appdir}/lib/plugins/config/settings |
327 | %dir %{_appdir}/lib/plugins/plugin | |
328 | %{_appdir}/lib/plugins/plugin/*.* | |
107aba6f | 329 | %{_appdir}/lib/plugins/plugin/classes |
fe631b5b ER |
330 | %dir %{_appdir}/lib/plugins/revert |
331 | %{_appdir}/lib/plugins/revert/*.* | |
332 | %dir %{_appdir}/lib/plugins/usermanager | |
333 | %{_appdir}/lib/plugins/usermanager/*.* | |
334 | %{_appdir}/lib/plugins/usermanager/images | |
fe631b5b | 335 | %{_appdir}/lib/plugins/info |
08b33253 ER |
336 | %dir %{_appdir}/lib/plugins/popularity |
337 | %{_appdir}/lib/plugins/popularity/*.* | |
fe631b5b ER |
338 | %{_appdir}/lib/plugins/*.php |
339 | %{_appdir}/lib/images | |
340 | %{_appdir}/lib/scripts | |
341 | %{_appdir}/lib/styles | |
342 | %{_appdir}/lib/tpl | |
343 | %{_appdir}/lib/exe | |
881190a4 ER |
344 | |
345 | %dir %attr(770,root,http) %{_localstatedir} | |
346 | %dir %attr(770,root,http) %{_localstatedir}/attic | |
347 | %dir %attr(770,root,http) %{_localstatedir}/cache | |
348 | %dir %attr(770,root,http) %{_localstatedir}/index | |
349 | %dir %attr(770,root,http) %{_localstatedir}/locks | |
350 | %dir %attr(770,root,http) %{_localstatedir}/media | |
351 | %dir %attr(770,root,http) %{_localstatedir}/media/wiki | |
352 | %dir %attr(770,root,http) %{_localstatedir}/meta | |
353 | %dir %attr(770,root,http) %{_localstatedir}/pages | |
af5aefcd | 354 | %dir %attr(770,root,http) %{_localstatedir}/pages/playground |
881190a4 | 355 | %dir %attr(770,root,http) %{_localstatedir}/pages/wiki |
08b33253 | 356 | %dir %attr(770,root,http) %{_localstatedir}/tmp |
b9fff555 | 357 | %attr(660,root,http) %config(noreplace,missingok) %verify(not md5 mtime size) %{_localstatedir}/media/wiki/dokuwiki-128.png |
b9fff555 ER |
358 | %attr(660,root,http) %config(noreplace,missingok) %verify(not md5 mtime size) %{_localstatedir}/pages/wiki/dokuwiki.txt |
359 | %attr(660,root,http) %config(noreplace,missingok) %verify(not md5 mtime size) %{_localstatedir}/pages/wiki/syntax.txt | |
8e4e22ac | 360 | %attr(660,root,http) %config(noreplace,missingok) %verify(not md5 mtime size) %{_localstatedir}/pages/playground/playground.txt |
c4df8b0c ER |
361 | %attr(660,root,http) %config(noreplace,missingok) %verify(not md5 mtime size) %{_localstatedir}/security.png |
362 | %attr(660,root,http) %config(noreplace,missingok) %verify(not md5 mtime size) %{_localstatedir}/security.xcf | |
641b29cc ER |
363 | |
364 | %files setup | |
365 | %defattr(644,root,root,755) | |
366 | %{_appdir}/install.php |