# TODO: # - SECURITY: http://securitytracker.com/alerts/2004/Jul/1010734.html # - SECURITY: http://securitytracker.com/alerts/2004/Jul/1010722.html # - SECURITY: http://securitytracker.com/alerts/2004/Jun/1010571.html # - SECURITY: http://securitytracker.com/alerts/2004/Jun/1010477.html # - SECURITY: http://securitytracker.com/alerts/2004/Aug/1010924.html # - SECURITY: http://securitytracker.com/alerts/2004/Sep/1011160.html Summary: Slashdot-like webnews site written in php, easy to install and use Summary(pl): Serwis nowinek WWW w stylu Slashdota napisany w PHP, łatwy w instalacji i używaniu Name: PHP-nuke Version: 7.5 Release: 1 License: GPL Group: Applications/Databases/Interfaces Source0: http://phpnuke.org/files/PHP-Nuke-%{version}.zip # Source0-md5: 49ccda4e5b2862b8ba9ab8a1cc8b52d7 # Source0-size: 3961035 Source1: PHP-Nuke.README.first #Icon: phpnuke.gif URL: http://phpnuke.org/ Requires: php-mysql Requires: php-pcre Requires: webserver BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _nukeroot %{_datadir}/phpnuke %description Web-portal writen in php. Very powerful, yet easy to install and use: see documentation in %{_docdir}/%{name}-%{version} for details. You only have to run: mysqladmin create nuke mysql nuke < \ %{_docdir}/%{name}-%{version}/nuke.sql (read %{_docdir}/%{name}-%{version}/README.first for further information) %description -l pl Portal WWW napisany w PHP. Ma duże możliwości, jest łatwy w instalacji u używaniu. Szczegóły w dokumentacji w %{_docdir}/%{name}-%{version}. Wystarczy zrobić jedno: mysqladmin create nuke mysql nuke < \ %{_docdir}/%{name}-%{version}/nuke.sql (więcej informacji w %{_docdir}/%{name}-%{version}/README.first) %prep %setup -q -c %{name}-%{version} install %{SOURCE1} README.first # (TV): workaround for bad tarball find -type d -exec chmod 755 '{}' \; find -type f -exec chmod 644 '{}' \; find -type f -empty |xargs rm -f chmod 755 */*/*/ %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_nukeroot} cp -ar html/* $RPM_BUILD_ROOT%{_nukeroot} %clean rm -rf $RPM_BUILD_ROOT %triggerpostun -- %{name} <= 7.4-2 if [ -s /etc/httpd/httpd.conf/lstat.conf ]; then mv -f /home/services/httpd/html/nuke/config.php %{_nukeroot} fi %files %defattr(644,root,root,755) %doc Addons* Blocks* Changes* Credits* Install* README* Readme* %doc Support* Upgrade* sql/nuke.sql upgrades %dir %{_nukeroot} %config(noreplace) %attr(640,http,http) %{_nukeroot}/config.php %{_nukeroot}/[^c]* # more needed? %triggerpostun --