]> git.pld-linux.org Git - packages/cakephp.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 2 Feb 2009 13:01:35 +0000 (13:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cakephp.spec -> 1.1

cakephp.spec [new file with mode: 0644]

diff --git a/cakephp.spec b/cakephp.spec
new file mode 100644 (file)
index 0000000..848813a
--- /dev/null
@@ -0,0 +1,41 @@
+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}
This page took 0.04939 seconds and 4 git commands to generate.