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