]> git.pld-linux.org Git - packages/phpBB.git/blobdiff - phpBB.spec
- seems to work. release 1
[packages/phpBB.git] / phpBB.spec
index ceb173e698d74536f45d23ac80933e36f75207b5..bffb2e14ec0cb480ed66b1ec93771915bcbb7e1b 100644 (file)
@@ -1,18 +1,18 @@
 Summary:       A feature-rich PHP discussion board
 Summary(pl):   Forum dyskusyjne o du¿ych mo¿liwo¶ciach
 Name:          phpBB
-Version:       2.0.5
+Version:       2.0.10
 Release:       1
 License:       GPL v2
 Group:         Applications/WWW
-Source0:       http://dl.sourceforge.net/phpbb/%{name}-%{version}.tar.gz
-# Source0-md5: 602cf40b6ea57c042a83e394f0722fef
+Source0:       http://dl.sourceforge.net/phpbb/%{name}-%{version}.tar.bz2
+# Source0-md5: 9aaf577d3160f6e3ba069eb2e670e2a4
 Source1:       http://dl.sourceforge.net/phpbb/lang_polish.tar.gz
-# Source1-md5: feabc41c40577dbdb148b06d3e0a9f41
+# Source1-md5: db020ef788d4bd50ce04014964e3e043
 Source2:       http://dl.sourceforge.net/phpbb/subSilver_polish.tar.gz
 # Source2-md5: 9367f7a761aef3795ffa296b413136b4
 Source3:       http://dl.sourceforge.net/phpbb/lang_german.tar.gz
-# Source3-md5: 5a36c6b00740e17a12500ad303c92113
+# Source3-md5: afc686072978b896e18fa211210c3b13
 Source4:       http://dl.sourceforge.net/phpbb/subSilver_german.tar.gz
 # Source4-md5: 8340f310ee4892f3e19da3e000fdb708
 Source5:       http://dl.sourceforge.net/phpbb/lang_french.tar.gz
@@ -65,7 +65,7 @@ install *.{php,inc}   $RPM_BUILD_ROOT%{_phpdir}
 install admin/*.php    $RPM_BUILD_ROOT%{_phpdir}/admin
 install db/*.php       $RPM_BUILD_ROOT%{_phpdir}/db
 install includes/*.php $RPM_BUILD_ROOT%{_phpdir}/includes
-install install/*.{htm,php} $RPM_BUILD_ROOT%{_phpdir}/install
+install install/*.php  $RPM_BUILD_ROOT%{_phpdir}/install
 install install/schemas/*.sql $RPM_BUILD_ROOT%{_phpdir}/install/schemas
 
 cp -R images/*         $RPM_BUILD_ROOT%{_phpdir}/images
@@ -85,7 +85,14 @@ tar zxfv %{SOURCE6} -C $RPM_BUILD_ROOT%{_phpdir}/templates/
 rm -rf $RPM_BUILD_ROOT
 
 %post install
-echo "Remember to uninstall %{name}-install after initiation of %{name}!!"
+echo "For instalation: http://<your.site.address>/<path>/install/install.php"
+echo "For upgrade: http://<your.site.address>/<path>/install/upgrade.php"
+echo
+echo "Remember to uninstall %{name}-install after initiation/upgrade of %{name}!!"
+
+%triggerpostun  -- %{name} <= %{version}
+echo "You have to install %{name}-install package to prepare upgrade!!!"
+echo "For upgrade: http://<your.site.address>/<path>/install/upgrade.php"
 
 %files
 %defattr(644,root,root,755)
@@ -98,11 +105,17 @@ echo "Remember to uninstall %{name}-install after initiation of %{name}!!"
 %attr(750,root,http) %dir %{_phpdir}/admin
 %attr(750,root,http) %dir %{_phpdir}/db
 %attr(750,root,http) %dir %{_phpdir}/images
+%attr(640,root,http) %{_phpdir}/images/*.gif
+%attr(640,root,http) %{_phpdir}/images/index.htm
+%attr(750,root,http) %dir %{_phpdir}/images/smiles
+%attr(1770,root,http) %dir %{_phpdir}/images/avatars
 %attr(750,root,http) %dir %{_phpdir}/includes
 %{_phpdir}/admin/*
 %{_phpdir}/db/*
-%{_phpdir}/images/*
+%{_phpdir}/images/smiles/*
+%{_phpdir}/images/avatars/*
 %{_phpdir}/includes/*
+%{_phpdir}/templates/index.htm
 %attr(750,root,http) %dir %{_phpdir}/templates
 %attr(750,root,http) %dir %{_phpdir}/templates/subSilver
 %attr(750,root,http) %dir %{_phpdir}/templates/subSilver/admin
@@ -129,6 +142,5 @@ echo "Remember to uninstall %{name}-install after initiation of %{name}!!"
 %doc install/schemas/*.zip
 %attr(750,root,http) %dir %{_phpdir}/install
 %attr(640,root,http) %{_phpdir}/install/*.php
-%attr(640,root,http) %{_phpdir}/install/*.htm
 %attr(750,root,http) %dir %{_phpdir}/install/schemas
 %attr(640,root,http) %{_phpdir}/install/schemas/*.sql
This page took 0.032308 seconds and 4 git commands to generate.