]> git.pld-linux.org Git - packages/phpBB.git/blobdiff - phpBB.spec
- add missing files (images in subSilver)
[packages/phpBB.git] / phpBB.spec
index adf3ba3e9eb023792d7002eceb723e127888743f..97ef3007a53e72beafd8db60c24ce4a3591d5678 100644 (file)
@@ -1,19 +1,20 @@
 Summary:       A feature-rich PHP discussion board
-Summary(pl):   phpBB
+Summary(pl):   Forum dyskusyjne o du¿ych mo¿liwo¶ciach
 Name:          phpBB
 Version:       2.0.3
-Release:       1
+Release:       3
 License:       GPL v2
 Group:         Applications/Databases/Interfaces
 Source0:       http://prdownloads.sourceforge.net/phpbb/%{name}-%{version}.tar.gz
+Source1:       http://prdownloads.sourceforge.net/phpbb/lang_polish.tar.gz
+Source2:       http://prdownloads.sourceforge.net/phpbb/subSilver_polish.tar.gz
 URL:           http://www.phpbb.com/
-Requires:      mysql
 Requires:      php-mysql >= 4.1.0
 Requires:      webserver
-Buildarch:     noarch
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _phpdir /home/httpd/html/phpBB
+%define                _phpdir         /home/httpd/html/phpBB
 
 %description
 phpBB is a UBB-style dissussion board written in PHP backended by a
@@ -22,6 +23,14 @@ messages, private messages, private forums, user and anonymous
 posting, robust theming, user ranking by posts or by special, admin
 definable, ranks, and much more.
 
+%description -l pl
+phpBB jest forum dyskusyjnym w stylu UBB napisanym w PHP z u¿yciem
+bazy danych MySQL. Ma mo¿liwo¶ci takie jak: wysy³anie, odpisywanie,
+edycja wiadomo¶ci, prywatne wiadomo¶ci, prywatne fora, wysy³anie jako
+u¿ytkownik i anonimowe, bogaty wybór motywów, ranking u¿ytkowników
+wed³ug ich wiadomo¶ci lub specjalne, definiowane przez administratora,
+rankingi i wiele innych.
+
 %prep
 %setup -q -n %{name}2
 
@@ -38,6 +47,9 @@ cp -R images/*                $RPM_BUILD_ROOT%{_phpdir}/images
 cp -R language/*       $RPM_BUILD_ROOT%{_phpdir}/language
 cp -R templates/*      $RPM_BUILD_ROOT%{_phpdir}/templates
 
+tar zxfv %{SOURCE1} -C $RPM_BUILD_ROOT%{_phpdir}/language/
+tar zxfv %{SOURCE2} -C $RPM_BUILD_ROOT%{_phpdir}/templates/
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -47,10 +59,24 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_phpdir}
 %{_phpdir}/*.php
 %{_phpdir}/*.inc
+%dir %{_phpdir}/admin
+%dir %{_phpdir}/includes
+%dir %{_phpdir}/db
+%dir %{_phpdir}/images
+%dir %{_phpdir}/images/smiles
+%dir %{_phpdir}/images/avatars
+%dir %{_phpdir}/language/*.htm
 %{_phpdir}/admin/*.php
 %{_phpdir}/db/*.php
 %{_phpdir}/includes/*.php
 %{_phpdir}/images/*.gif
+%{_phpdir}/images/*.htm
 %{_phpdir}/images/smiles/*.gif
-%{_phpdir}/language
-%{_phpdir}/templates
+%{_phpdir}/templates/subSilver/admin/
+%{_phpdir}/templates/subSilver/*.*
+%{_phpdir}/templates/subSilver/images/*.*
+
+%lang(en) %{_phpdir}/language/lang_english/*
+%lang(en) %{_phpdir}/templates/subSilver/images/lang_english/*.gif
+%lang(pl) %{_phpdir}/language/lang_polish/*
+%lang(pl) %{_phpdir}/templates/subSilver/images/lang_polish/*.gif
This page took 0.045466 seconds and 4 git commands to generate.