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