1 Summary: A feature-rich PHP discussion board
2 Summary(pl): Forum dyskusyjne o du¿ych mo¿liwo¶ciach
7 Group: Applications/Databases/Interfaces
8 Source0: http://prdownloads.sourceforge.net/phpbb/%{name}-%{version}.tar.gz
9 Source1: http://prdownloads.sourceforge.net/phpbb/lang_polish.tar.gz
10 Source2: http://prdownloads.sourceforge.net/phpbb/subSilver_polish.tar.gz
11 Source3: http://prdownloads.sourceforge.net/phpbb/lang_german.tar.gz
12 Source4: http://prdownloads.sourceforge.net/phpbb/subSilver_german.tar.gz
13 Source5: http://prdownloads.sourceforge.net/phpbb/lang_french.tar.gz
14 Source6: http://prdownloads.sourceforge.net/phpbb/subSilver_french.tar.gz
15 Patch0: %{name}-viewtopic-sec_fix.patch
16 URL: http://www.phpbb.com/
17 Requires: php-mysql >= 4.1.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _phpdir /home/services/httpd/html/phpBB
25 phpBB is a UBB-style dissussion board written in PHP backended by a
26 MySQL database. It includes features such as posting/replying/editing
27 messages, private messages, private forums, user and anonymous
28 posting, robust theming, user ranking by posts or by special, admin
29 definable, ranks, and much more.
32 phpBB jest forum dyskusyjnym w stylu UBB napisanym w PHP z u¿yciem
33 bazy danych MySQL. Ma mo¿liwo¶ci takie jak: wysy³anie, odpisywanie,
34 edycja wiadomo¶ci, prywatne wiadomo¶ci, prywatne fora, wysy³anie jako
35 u¿ytkownik i anonimowe, bogaty wybór motywów, ranking u¿ytkowników
36 wed³ug ich wiadomo¶ci lub specjalne, definiowane przez administratora,
37 rankingi i wiele innych.
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{_phpdir}/{admin,db,images,includes,language,templates}
47 install *.{php,inc} $RPM_BUILD_ROOT%{_phpdir}
48 install admin/*.php $RPM_BUILD_ROOT%{_phpdir}/admin
49 install db/*.php $RPM_BUILD_ROOT%{_phpdir}/db
50 install includes/*.php $RPM_BUILD_ROOT%{_phpdir}/includes
52 cp -R images/* $RPM_BUILD_ROOT%{_phpdir}/images
53 cp -R language/* $RPM_BUILD_ROOT%{_phpdir}/language
54 cp -R templates/* $RPM_BUILD_ROOT%{_phpdir}/templates
56 tar zxfv %{SOURCE1} -C $RPM_BUILD_ROOT%{_phpdir}/language/
57 tar zxfv %{SOURCE2} -C $RPM_BUILD_ROOT%{_phpdir}/templates/
59 tar zxfv %{SOURCE3} -C $RPM_BUILD_ROOT%{_phpdir}/language/
60 tar zxfv %{SOURCE4} -C $RPM_BUILD_ROOT%{_phpdir}/templates/
62 tar zxfv %{SOURCE5} -C $RPM_BUILD_ROOT%{_phpdir}/language/
63 tar zxfv %{SOURCE6} -C $RPM_BUILD_ROOT%{_phpdir}/templates/
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc docs/* db/schemas/*
71 %attr(755,root,http) %dir %{_phpdir}
72 %attr(640,root,http) %config(noreplace) %{_phpdir}/config.php
73 %attr(640,root,http) %{_phpdir}/[efgilmpsuv]*.php
74 %attr(640,root,http) %{_phpdir}/com*.php
75 %attr(640,root,http) %{_phpdir}/*.inc
76 %attr(640,root,http) %{_phpdir}/admin
77 %attr(640,root,http) %{_phpdir}/includes
78 %attr(640,root,http) %{_phpdir}/db
79 %attr(640,root,http) %{_phpdir}/images
80 %attr(640,root,http) %dir %{_phpdir}/language
82 %attr(640,root,http) %{_phpdir}/language/*.htm
83 %attr(640,root,http) %{_phpdir}/templates/subSilver/admin/
84 %attr(640,root,http) %{_phpdir}/templates/subSilver/*.*
85 %attr(640,root,http) %{_phpdir}/templates/subSilver/images/*.*
87 %lang(en) %{_phpdir}/language/lang_english
88 %lang(en) %{_phpdir}/templates/subSilver/images/lang_english
90 %lang(pl) %{_phpdir}/language/lang_polish
91 %lang(pl) %{_phpdir}/templates/subSilver/images/lang_polish
93 %lang(de) %{_phpdir}/language/lang_german
94 %lang(de) %{_phpdir}/templates/subSilver/images/lang_german
96 %lang(fr) %{_phpdir}/language/lang_french
97 %lang(fr) %{_phpdir}/templates/subSilver/images/lang_french