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 URL: http://www.phpbb.com/
12 Requires: php-mysql >= 4.1.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _phpdir /home/httpd/html/phpBB
20 phpBB is a UBB-style dissussion board written in PHP backended by a
21 MySQL database. It includes features such as posting/replying/editing
22 messages, private messages, private forums, user and anonymous
23 posting, robust theming, user ranking by posts or by special, admin
24 definable, ranks, and much more.
27 phpBB jest forum dyskusyjnym w stylu UBB napisanym w PHP z u¿yciem
28 bazy danych MySQL. Ma mo¿liwo¶ci takie jak: wysy³anie, odpisywanie,
29 edycja wiadomo¶ci, prywatne wiadomo¶ci, prywatne fora, wysy³anie jako
30 u¿ytkownik i anonimowe, bogaty wybór motywów, ranking u¿ytkowników
31 wed³ug ich wiadomo¶ci lub specjalne, definiowane przez administratora,
32 rankingi i wiele innych.
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_phpdir}/{admin,db,images,includes,language,templates}
41 install *.{php,inc} $RPM_BUILD_ROOT%{_phpdir}
42 install admin/*.php $RPM_BUILD_ROOT%{_phpdir}/admin
43 install db/*.php $RPM_BUILD_ROOT%{_phpdir}/db
44 install includes/*.php $RPM_BUILD_ROOT%{_phpdir}/includes
46 cp -R images/* $RPM_BUILD_ROOT%{_phpdir}/images
47 cp -R language/* $RPM_BUILD_ROOT%{_phpdir}/language
48 cp -R templates/* $RPM_BUILD_ROOT%{_phpdir}/templates
49 #mkdir $RPM_BUILD_ROOT%{_phpdir}/images/avatars
51 tar zxfv %{SOURCE1} -C $RPM_BUILD_ROOT%{_phpdir}/language/
52 tar zxfv %{SOURCE2} -C $RPM_BUILD_ROOT%{_phpdir}/templates/
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc docs/* db/schemas/*
64 %dir %{_phpdir}/includes
66 %dir %{_phpdir}/images
67 %dir %{_phpdir}/images/smiles
68 %dir %{_phpdir}/images/avatars
69 %dir %{_phpdir}/images/avatars/*
70 %dir %{_phpdir}/language/*.htm
71 %{_phpdir}/admin/*.php
73 %{_phpdir}/includes/*.php
74 %{_phpdir}/images/*.gif
75 %{_phpdir}/images/*.htm
76 %{_phpdir}/images/smiles/*.gif
77 %{_phpdir}/templates/*.htm
79 %lang(en) %{_phpdir}/language/lang_english
80 %lang(en) %{_phpdir}/templates/subSilver/images/lang_english/*.gif
81 %lang(pl) %{_phpdir}/language/lang_polish
82 %lang(pl) %{_phpdir}/templates/subSilver/images/lang_polish/*.gif