%define name simpleweb %define version 2.0.0 %define release 0 %define pack %{name}_%{version}-%{release} Summary: Simple web framework Name: %{name} Version: %{version} Release: %{release} License: Redistributable Group: Web Source0: %{pack}.tgz URL: http;//www.softndesign.org/code/simpleweb BuildRoot: %{_tmppath}/%{name}-buildroot BuildArch: noarch Prefix: %{_prefix} %description Simpleweb is a PHP framework to create a web site with a nice top bar and a left navigation tool. A configuration file fully customizes the web site and a short section at the begin of each page describe how to insert them into the navigation three. %prep %setup -n %{pack} %build %make %install %__mkdir_p $RPM_BUILD_ROOT%_datadir %make install DESTDIR=$RPM_BUILD_ROOT/usr %clean %__rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README %doc ChangeLog %doc doc/mysql.sql %doc example %_datadir/Simpleweb %changelog * Sat NOV 22 2008 Laurent Mazet 2.0.0-1 - complete rewrite * Mon Mar 17 2003 Laurent Mazet 1.0.3-4 - initial release