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