2 # - SECURITY: http://securitytracker.com/alerts/2004/Jul/1010734.html
3 # - SECURITY: http://securitytracker.com/alerts/2004/Jul/1010722.html
4 # - SECURITY: http://securitytracker.com/alerts/2004/Jun/1010571.html
5 # - SECURITY: http://securitytracker.com/alerts/2004/Jun/1010477.html
6 # - SECURITY: http://securitytracker.com/alerts/2004/Jun/1010420.html
7 # - SECURITY: http://securitytracker.com/alerts/2004/May/1010186.html
8 # - SECURITY: http://securitytracker.com/alerts/2004/May/1010177.html
9 Summary: Slashdot-like webnews site written in php, easy to install and use
10 Summary(pl): Serwis nowinek WWW w stylu Slashdota napisany w PHP, ³atwy w instalacji i u¿ywaniu
15 Group: Applications/Databases/Interfaces
16 Source0: http://phpnuke.org/files/PHP-Nuke-%{version}.zip
17 # Source0-md5: b6bdea4d54e0693e85b96bb405e2c874
18 Source1: PHP-Nuke.README.first
20 URL: http://phpnuke.org/
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %define nukeroot /home/services/httpd/html/nuke
30 Web-portal writen in php. Very powerful, yet easy to install and use:
31 see documentation in %{_docdir}/%{name}-%{version} for details.
33 You only have to run: mysqladmin create nuke mysql nuke < \
34 %{_docdir}/%{name}-%{version}/nuke.sql
36 (read %{_docdir}/%{name}-%{version}/README.first for further
40 Portal WWW napisany w PHP. Ma du¿e mo¿liwo¶ci, jest ³atwy w instalacji
41 u u¿ywaniu. Szczegó³y w dokumentacji w %{_docdir}/%{name}-%{version}.
43 Wystarczy zrobiæ jedno: mysqladmin create nuke mysql nuke < \
44 %{_docdir}/%{name}-%{version}/nuke.sql
46 (wiêcej informacji w %{_docdir}/%{name}-%{version}/README.first)
49 %setup -q -c %{name}-%{version}
51 install %{SOURCE1} README.first
53 # (TV): workaround for bad tarball
54 find -type d -exec chmod 755 '{}' \;
55 find -type f -exec chmod 644 '{}' \;
56 find -type f -empty |xargs rm -f
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT%{nukeroot}
63 cp -ar html/* $RPM_BUILD_ROOT%{nukeroot}
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc Addons* Blocks* Changes* Credits* Install* README* Readme*
71 %doc Support* Upgrade* sql/nuke.sql upgrades
73 %config(noreplace) %attr(640,http,http) %{nukeroot}/config.php