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 # - SECURITY: http://securitytracker.com/alerts/2004/Aug/1010924.html
10 # - SECURITY: http://securitytracker.com/alerts/2004/Apr/1009748.html
11 # - SECURITY: http://securitytracker.com/alerts/2004/Apr/1009747.html
12 # - SECURITY: http://securitytracker.com/alerts/2004/Apr/1009735.html
13 Summary: Slashdot-like webnews site written in php, easy to install and use
14 Summary(pl): Serwis nowinek WWW w stylu Slashdota napisany w PHP, ³atwy w instalacji i u¿ywaniu
19 Group: Applications/Databases/Interfaces
20 Source0: http://phpnuke.org/files/PHP-Nuke-%{version}.zip
21 # Source0-md5: b6bdea4d54e0693e85b96bb405e2c874
22 Source1: PHP-Nuke.README.first
24 URL: http://phpnuke.org/
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 %define nukeroot /home/services/httpd/html/nuke
34 Web-portal writen in php. Very powerful, yet easy to install and use:
35 see documentation in %{_docdir}/%{name}-%{version} for details.
37 You only have to run: mysqladmin create nuke mysql nuke < \
38 %{_docdir}/%{name}-%{version}/nuke.sql
40 (read %{_docdir}/%{name}-%{version}/README.first for further
44 Portal WWW napisany w PHP. Ma du¿e mo¿liwo¶ci, jest ³atwy w instalacji
45 u u¿ywaniu. Szczegó³y w dokumentacji w %{_docdir}/%{name}-%{version}.
47 Wystarczy zrobiæ jedno: mysqladmin create nuke mysql nuke < \
48 %{_docdir}/%{name}-%{version}/nuke.sql
50 (wiêcej informacji w %{_docdir}/%{name}-%{version}/README.first)
53 %setup -q -c %{name}-%{version}
55 install %{SOURCE1} README.first
57 # (TV): workaround for bad tarball
58 find -type d -exec chmod 755 '{}' \;
59 find -type f -exec chmod 644 '{}' \;
60 find -type f -empty |xargs rm -f
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT%{nukeroot}
67 cp -ar html/* $RPM_BUILD_ROOT%{nukeroot}
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
74 %doc Addons* Blocks* Changes* Credits* Install* README* Readme*
75 %doc Support* Upgrade* sql/nuke.sql upgrades
77 %config(noreplace) %attr(640,http,http) %{nukeroot}/config.php