[packages/php-props-dic] new, version 2.2.0

glen glen at pld-linux.org
Tue Sep 13 15:44:49 CEST 2016


commit 15e36405663a635dd87d11e8ba7af187eb587d86
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Sep 13 16:44:25 2016 +0300

    new, version 2.2.0

 php-props-dic.spec | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
---
diff --git a/php-props-dic.spec b/php-props-dic.spec
new file mode 100644
index 0000000..437fb20
--- /dev/null
+++ b/php-props-dic.spec
@@ -0,0 +1,34 @@
+%define		pkgname props-dic
+%define		php_min_version 5.3.3
+Summary:	An IDE and static analysis friendly PHP DI container
+Name:		php-%{pkgname}
+Version:	2.2.0
+Release:	1
+License:	MIT
+Group:		Development/Languages/PHP
+Source0:	https://github.com/mrclay/Props/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	b33eb3f60a41a7caa5ea0794a357ab92
+URL:		https://packagist.org/packages/mrclay/props-dic
+Requires:	php(core) >= %{php_min_version}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Props is a simple DI container that allows retrieving values via
+custom property and method names.
+
+%prep
+%setup -qn Props-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}
+cp -a src/* $RPM_BUILD_ROOT%{php_data_dir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENSE composer.json
+%{php_data_dir}/Props
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-props-dic.git/commitdiff/15e36405663a635dd87d11e8ba7af187eb587d86



More information about the pld-cvs-commit mailing list