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