]> git.pld-linux.org Git - packages/phpBB.git/blob - phpBB.spec
- massive attack: source-md5
[packages/phpBB.git] / phpBB.spec
1 Summary:        A feature-rich PHP discussion board
2 Summary(pl):    Forum dyskusyjne o du¿ych mo¿liwo¶ciach
3 Name:           phpBB
4 Version:        2.0.4
5 Release:        1.1
6 License:        GPL v2
7 Group:          Applications/WWW
8 Source0:        http://dl.sourceforge.net/phpbb/%{name}-%{version}.tar.gz
9 # Source0-md5:  e10b9c5c397365d0c32d99b99725b0ad
10 Source1:        http://dl.sourceforge.net/phpbb/lang_polish.tar.gz
11 # Source1-md5:  3f40c4f9056a9675e73bdafca37c20ff
12 Source2:        http://dl.sourceforge.net/phpbb/subSilver_polish.tar.gz
13 # Source2-md5:  c89562d926c372710ccc9614ee72b07e
14 Source3:        http://dl.sourceforge.net/phpbb/lang_german.tar.gz
15 # Source3-md5:  c3d833cdc316b045d626fe6ef3905ad6
16 Source4:        http://dl.sourceforge.net/phpbb/subSilver_german.tar.gz
17 # Source4-md5:  8d19b6dfa995ae454eca02be38a96eee
18 Source5:        http://dl.sourceforge.net/phpbb/lang_french.tar.gz
19 # Source5-md5:  0d7d61b034f43a089ced8d831e24765f
20 Source6:        http://dl.sourceforge.net/phpbb/subSilver_french.tar.gz
21 # Source6-md5:  6d856d8a00f62554ee773720df1e4010
22 URL:            http://www.phpbb.com/
23 Requires:       php-pcre
24 Requires:       webserver
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _phpdir         /home/services/httpd/html/phpBB
29
30 %description
31 phpBB is a UBB-style dissussion board written in PHP backended by a
32 MySQL database. It includes features such as posting/replying/editing
33 messages, private messages, private forums, user and anonymous
34 posting, robust theming, user ranking by posts or by special, admin
35 definable, ranks, and much more.
36
37 %description -l pl
38 phpBB jest forum dyskusyjnym w stylu UBB napisanym w PHP z u¿yciem
39 bazy danych MySQL. Ma mo¿liwo¶ci takie jak: wysy³anie, odpisywanie,
40 edycja wiadomo¶ci, prywatne wiadomo¶ci, prywatne fora, wysy³anie jako
41 u¿ytkownik i anonimowe, bogaty wybór motywów, ranking u¿ytkowników
42 wed³ug ich wiadomo¶ci lub specjalne, definiowane przez administratora,
43 rankingi i wiele innych.
44
45 %package install
46 Summary:        A feature-rich PHP discussion board - installer
47 Summary(pl):    Forum dyskusyjne o du¿ych mo¿liwo¶ciach - instalator
48 Group:          Applications/Databases/Interfaces
49 Requires:       phpBB
50
51 %description install
52 Package needed for %{name} forum instalation.
53
54 %description install -l pl
55 Pakiet potrzebny do instalacji forum %{name}.
56
57 %prep
58 %setup -q -n %{name}2
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{_phpdir}/{admin,db,images,includes,install/schemas,language,templates}
63
64 install *.{php,inc}     $RPM_BUILD_ROOT%{_phpdir}
65 install admin/*.php     $RPM_BUILD_ROOT%{_phpdir}/admin
66 install db/*.php        $RPM_BUILD_ROOT%{_phpdir}/db
67 install includes/*.php  $RPM_BUILD_ROOT%{_phpdir}/includes
68 install install/*.{htm,php} $RPM_BUILD_ROOT%{_phpdir}/install
69 install install/schemas/*.sql $RPM_BUILD_ROOT%{_phpdir}/install/schemas
70
71 cp -R images/*          $RPM_BUILD_ROOT%{_phpdir}/images
72 cp -R language/*        $RPM_BUILD_ROOT%{_phpdir}/language
73 cp -R templates/*       $RPM_BUILD_ROOT%{_phpdir}/templates
74
75 tar zxfv %{SOURCE1} -C $RPM_BUILD_ROOT%{_phpdir}/language/
76 tar zxfv %{SOURCE2} -C $RPM_BUILD_ROOT%{_phpdir}/templates/
77
78 tar zxfv %{SOURCE3} -C $RPM_BUILD_ROOT%{_phpdir}/language/
79 tar zxfv %{SOURCE4} -C $RPM_BUILD_ROOT%{_phpdir}/templates/
80
81 tar zxfv %{SOURCE5} -C $RPM_BUILD_ROOT%{_phpdir}/language/
82 tar zxfv %{SOURCE6} -C $RPM_BUILD_ROOT%{_phpdir}/templates/
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post install
88 echo "Remember to uninstall %{name}-install after initiation of %{name}!!"
89
90 %files
91 %defattr(644,root,root,755)
92 %doc docs/*
93 %attr(755,root,http) %dir %{_phpdir}
94 %attr(640,root,http) %config(noreplace) %{_phpdir}/config.php
95 %attr(640,root,http) %{_phpdir}/[^c]*.php
96 %attr(640,root,http) %{_phpdir}/common.php
97 %attr(640,root,http) %{_phpdir}/*.inc
98 %attr(750,root,http) %dir %{_phpdir}/admin
99 %attr(750,root,http) %dir %{_phpdir}/db
100 %attr(750,root,http) %dir %{_phpdir}/images
101 %attr(750,root,http) %dir %{_phpdir}/includes
102 %{_phpdir}/admin/*
103 %{_phpdir}/db/*
104 %{_phpdir}/images/*
105 %{_phpdir}/includes/*
106 %attr(750,root,http) %dir %{_phpdir}/templates
107 %attr(750,root,http) %dir %{_phpdir}/templates/subSilver
108 %attr(750,root,http) %dir %{_phpdir}/templates/subSilver/admin
109 %attr(640,root,http) %{_phpdir}/templates/subSilver/admin/*
110 %attr(640,root,http) %{_phpdir}/templates/subSilver/*.*
111 %attr(750,root,http) %dir %{_phpdir}/templates/subSilver/images
112 %attr(640,root,http) %{_phpdir}/templates/subSilver/images/*.*
113 %attr(640,root,http) %{_phpdir}/language/*.htm
114
115 %lang(en) %{_phpdir}/language/lang_english
116 %lang(en) %{_phpdir}/templates/subSilver/images/lang_english
117
118 %lang(pl) %{_phpdir}/language/lang_polish
119 %lang(pl) %{_phpdir}/templates/subSilver/images/lang_polish
120
121 %lang(de) %{_phpdir}/language/lang_german
122 %lang(de) %{_phpdir}/templates/subSilver/images/lang_german
123
124 %lang(fr) %{_phpdir}/language/lang_french
125 %lang(fr) %{_phpdir}/templates/subSilver/images/lang_french
126
127 %files install
128 %defattr(644,root,root,755)
129 %doc install/schemas/*.zip
130 %attr(750,root,http) %dir %{_phpdir}/install
131 %attr(640,root,http) %{_phpdir}/install/*.php
132 %attr(640,root,http) %{_phpdir}/install/*.htm
133 %attr(750,root,http) %dir %{_phpdir}/install/schemas
134 %attr(640,root,http) %{_phpdir}/install/schemas/*.sql
This page took 0.094692 seconds and 4 git commands to generate.