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: 6.0 Release: 1 License: GPL Group: Applications/Databases/Interfaces Source0: http://prdownloads.sourceforge.net/phpnuke/PHP-Nuke-%{version}.tar.gz Source1: PHP-Nuke.README.first Icon: phpnuke.gif URL: http://phpnuke.org/ Requires: php-mysql Requires: webserver BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define nukeroot /home/httpd/html/nuke %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 %files %defattr(644,root,root,755) %doc ADDONS-MODULES BLOCKS CHANGES CREDITS INSTALL README* %doc SUPPORT TODO TRANSLATIONS UPGRADE sql/nuke.sql upgrades %dir %{nukeroot} %config(noreplace) %attr(644,apache,apache) %{nukeroot}/config.php %{nukeroot}/[^c]* # more needed?