%define name FUDforum %define version zl_2.6.7 %define release 1mdk %define __webroot /var/www/html/FUDforum Summary: Easy configurable and highly customizable PHP forum Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.bz2 License: GPL URL: http://fud.prohost.org Group: System/Servers BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Requires: webserver mysqlserver php-common mod_php php-mysql BuildArch: noarch Prefix: %{__webroot} %description Easy configurable and highly customizable PHP forum %prep %setup -q %build %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} install -d %{buildroot}/%{__webroot} cp -ar *.php %{buildroot}/%{__webroot}/ %post chown apache.apache %{__webroot} %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING CREDITS README %{__webroot} %changelog * Wed Nov 17 2004 Florent Chantret <florent@chantret.com> zl_2.6.7-1mdk - First RPM distribution.