SPECS: cakephp.spec (NEW) - new

glen glen at pld-linux.org
Mon Feb 2 14:01:40 CET 2009


Author: glen                         Date: Mon Feb  2 13:01:40 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   cakephp.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/cakephp.spec
diff -u /dev/null SPECS/cakephp.spec:1.1
--- /dev/null	Mon Feb  2 14:01:40 2009
+++ SPECS/cakephp.spec	Mon Feb  2 14:01:35 2009
@@ -0,0 +1,51 @@
+# $Revision$, $Date$
+Summary:	OpenSource Rapid Development PHP Framework
+Name:		cakephp
+Version:	1.2.1.8004
+Release:	0.1
+License:	MIT
+Group:		Development/Languages/PHP
+Source0:	http://cakeforge.org/frs/download.php/697/cake_%{version}.tar.bz2/donation=%{name}-%{version}.tar.bz2
+# Source0-md5:	0d01d1bc4e2df9ccf82130a838b06dd6
+URL:		http://www.cakephp.org/
+BuildRequires:	rpmbuild(macros) >= 1.461
+Requires:	php-common
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_appdir		%{php_data_dir}/cake
+
+%description
+CakePHP is a rapid development framework for PHP that provides an
+extensible architecture for developing, maintaining, and deploying
+applications. Using commonly known design patterns like MVC and ORM
+within the convention over configuration paradigm, CakePHP reduces
+development costs and helps developers write less code.
+
+%prep
+%setup -q -n cake_%{version}
+
+mv cake/{LICENSE,VERSION}.txt .
+find -name empty | xargs rm -f
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_appdir}
+cp -a app cake vendors $RPM_BUILD_ROOT%{_appdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{_appdir}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/02/02 13:01:35  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list