Summary: Personal publishing system Summary(pl): Osobisty system publikacji Name: wordpress Version: 1.5 Release: 1 License: GPL Group: Applications/Publishing Source0: http://wordpress.org/latest.tar.gz # Source0-md5: df6dc18a7a0d93fa6bb187eb48b41612 URL: http://wordpress.org/ BuildArch: noarch Requires: webserver Requires: php >= 4.1 Requires: php-mysql >= 5.0 Requires: php-gettext >= 5.0 Requires: php-xml >= 5.0 Requires: php-xmlrpc >= 5.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define wordpressdir /home/services/httpd/html/wordpress %description WordPress is a state-of-the-art semantic personal publishing platform with a focus on aesthetics, web standards, and usability. WordPress was born out of a desire for an elegant, well-architectured personal publishing system (also called blog or weblog) built on PHP and MySQL and licensed under the GPL. It is the official successor of b2/cafelog. WordPress is fresh software, but its roots and development go back to 2001. %description -l pl WordPress jest technologicznie dopracowaną, semantyczną, osobistą platformą do publikacji kładącą nacisk na standardy sieci Web oraz użyteczność. WordPress został stworzony w wyniku potrzeby eleganckiego, dobrze zaprojektowanego, osobistego systemu publikacji (nazywanego również blogiem czy weblogiem). Jest to system oparty o PHP i MySQL oraz na licencji GPL. Jest oficjalnym następcą b2/cafelog. WordPress jest nowym oprogramowaniem, ale jego korzenie i rozwój sięgają 2001 roku. %prep %setup -q -n %{name} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{wordpressdir} rm -f license.txt cp -R * $RPM_BUILD_ROOT%{wordpressdir} %post if [ ! -f %{wordpressdir}/wp-config.php ]; then cp -pf %{wordpressdir}/wp-config-sample.php %{wordpressdir}/wp-config.php echo "To finish your configuration DO NOT FORGET to:" echo echo "1.) Edit the file: %{wordpressdir}/wp-config.php" echo "2.) Run a browser and visit: http://`hostname`/wordpress/wp-admin/install.php" fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc readme.html %dir %{wordpressdir} %{wordpressdir}/wp-admin %{wordpressdir}/wp-content %{wordpressdir}/wp-images %{wordpressdir}/wp-includes %{wordpressdir}/*.php