SPECS: php-addendum.spec (NEW) - new

glen glen at pld-linux.org
Tue Feb 10 13:35:53 CET 2009


Author: glen                         Date: Tue Feb 10 12:35:53 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/php-addendum.spec
diff -u /dev/null SPECS/php-addendum.spec:1.1
--- /dev/null	Tue Feb 10 13:35:53 2009
+++ SPECS/php-addendum.spec	Tue Feb 10 13:35:48 2009
@@ -0,0 +1,47 @@
+# $Revision$, $Date$
+Summary:	DocBlock/JavaDoc annotations support for PHP 5
+Name:		php-addendum
+Version:	0.3.2
+Release:	0.1
+License:	LGPL v2.1
+Group:		Development/Languages/PHP
+Source0:	http://addendum.googlecode.com/files/addendum-%{version}.zip
+# Source0-md5:	cddbd1014e44b14f049fabaa5c7ecc4f
+URL:		http://code.google.com/p/addendum/
+BuildRequires:	rpmbuild(macros) >= 1.300
+Requires:	php-common >= 4:5.0
+Requires:	sed >= 4.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_appdir	%{php_data_dir}/addendum
+
+%description
+DocBlock/JavaDoc annotations support for PHP5. Supporting single and
+multi valued annotations accessible through extended Reflection API.
+
+%prep
+%setup -q -n addendum-%{version}
+find -name '*.php' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_appdir}/annotations
+cp -a annotations.php $RPM_BUILD_ROOT%{_appdir}
+cp -a annotations/*.php $RPM_BUILD_ROOT%{_appdir}/annotations
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_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/10 12:35:48  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list