#curl http://trac.symfony-project.org/browser/tools/lime/tags/RELEASE_1_0_9/lib/lime.php?format=raw > lime.php && curl http://trac.symfony-project.org/browser/tools/lime/tags/RELEASE_1_0_9/LICENSE?format=raw > LICENSE && tar -czf php-lime-1.0.9.tar.gz lime.php LICENSE && rm -f lime.php && rm -f LICENSE Name: php-lime Version: 1.0.9 Release: %mkrel 1 Summary: Testing framework in PHP Group: Development/PHP BuildArch: noarch License: MIT URL: http://www.symfony-project.org/book/1_0/15-Unit-and-Functional-Testing Source0: php-lime-1.0.9.tar.gz Requires: php Requires: php-cli %description Testing framework in PHP %prep %setup -q -c %build %install rm -rf %{buildroot} mkdir -p $RPM_BUILD_ROOT/usr/share/php/lime/ cp lime.php $RPM_BUILD_ROOT/usr/share/php/lime/lime.php %files %doc LICENSE %dir %{_datadir}/php/lime %{_datadir}/php/lime/lime.php %changelog * Sun Jul 24 2011 agallou <agallou> 1.0.9-1.mga2 + Revision: 128468 - clean buildroot at %%install - fixed tgz filename - added licence to spec file - added build section - list each file instead of all files - import php-lime - Created package structure for php-lime. + stormi <stormi> - fix %%files section