%define git 29d662d Name: php-Slim Version: 1.6.4 Release: 1%{?dist} Summary: Slim Framework, a micro framework for PHP 5 Group: Development/Libraries License: MIT URL: http://github.com/codeguy/Slim # wget --content-disposition https://github.com/codeguy/Slim/tarball/master Source0: codeguy-Slim-%{version}-0-g%{git}.tar.gz Requires: php >= 5.2.0 BuildArch: noarch %description Slim is a micro framework for PHP 5 that helps you quickly write simple yet powerful RESTful web applications and APIs. Slim is easy to use for both beginners and professionals. Slim favors cleanliness over terseness and common cases over edge cases. Its interface is simple, intuitive, and extensively documented — both online and in the code itself. Thank you for choosing Slim for your next project. I think you're going to love it. %prep %setup -qn codeguy-Slim-%{git} %build %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_datadir}/php/Slim cp -ar Slim/* $RPM_BUILD_ROOT%{_datadir}/php/Slim/ %files %doc README.markdown LICENSE %{_datadir}/php/Slim %changelog * Wed Jun 27 2012 F. Kooman - 1.6.4-1 - initial package