Author: glen                         Date: Wed Sep  8 06:43:47 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- merge from DEVEL (heck, why you add initial spec to DEVEL?)

---- Files affected:
packages/kohana:
   kohana.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/kohana/kohana.spec
diff -u /dev/null packages/kohana/kohana.spec:1.2
--- /dev/null   Wed Sep  8 08:43:48 2010
+++ packages/kohana/kohana.spec Wed Sep  8 08:43:42 2010
@@ -0,0 +1,94 @@
+# $Revision$, $Date$
+%define                rel 1690
+%define                kohanadir       %{_datadir}/php/kohana
+
+%include       /usr/lib/rpm/macros.php
+Summary:       Swift PHP framework
+Summary(pl.UTF-8):     Szybki framework dla PHP
+Name:          kohana
+Version:       2.1
+Release:       0.%{rel}.1
+License:       Kohana License (http://kohanaphp.com/license.html)
+Group:         Development/Languages/PHP
+Source0:       %{name}-trunk-r%{rel}.zip
+# Source0-md5: 4a491482ed5ed6e345fb80aeba3a0f50
+URL:           http://kohanaphp.com/
+BuildRequires: rpm-php-pearprov >= 4.3
+BuildRequires: sed >= 4.0
+Requires:      php-common >= 5.1.3
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Kohana is a PHP5 framework that uses the Model View Controller
+architectural pattern. It aims to be secure, lightweight and easy to
+use.
+
+%description -l pl.UTF-8
+Kohana to framework dla PHP5 używający wzorzec Modelu, Widoku i
+Kontrolera. W zamierzeniu ma być bezpieczny, lekki i prosty w użyciu.
+
+%package examples
+Summary:       Example empty application
+Summary(pl.UTF-8):     Przykładowa pusta aplikacja
+Group:         Development/Languages/PHP
+Requires:      kohana
+
+%description examples
+This package contains basic application structure.
+
+%description examples -l pl.UTF-8
+Pakiet zawiera podstawową strukturę aplikacji.
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__sed} -i -e "s,$kohana_system = 'system',$kohana_system = 
'/usr/share/php/kohana/system'," trunk/index.php
+
+install -d $RPM_BUILD_ROOT%{kohanadir}
+cp -r trunk/{system,modules} $RPM_BUILD_ROOT%{kohanadir}
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+cp -r trunk/application trunk/index.php $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{kohanadir}
+%dir %{kohanadir}/system
+%dir %{kohanadir}/modules
+%{kohanadir}/system/*
+%{kohanadir}/modules/*
+
+%files examples
+%defattr(644,root,root,755)
+%dir %{_examplesdir}/%{name}
+%dir %{_examplesdir}/%{name}/application
+%{_examplesdir}/%{name}/application/*
+%{_examplesdir}/%{name}/index.php
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.2  2010/09/08 06:43:42  glen
+- merge from DEVEL (heck, why you add initial spec to DEVEL?)
+
+Revision 1.1.2.4  2008/01/08 14:40:36  gotar
+- cosmetics
+
+Revision 1.1.2.3  2008-01-08 11:32:15  vip
+- BR: sed
+
+Revision 1.1.2.2  2008-01-07 19:47:30  vip
+- descs
+
+Revision 1.1.2.1  2008-01-07 19:39:19  vip
+- initial, feel free to adjust
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kohana/kohana.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to