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