[packages/php-psr-Log] new, version 1.0.0

glen glen at pld-linux.org
Mon Sep 23 23:01:21 CEST 2013


commit 79c00927c2790bb8994c5f286749bf5f2be59c5a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Sep 24 00:01:03 2013 +0300

    new, version 1.0.0

 php-psr-Log.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
---
diff --git a/php-psr-Log.spec b/php-psr-Log.spec
new file mode 100644
index 0000000..afcd047
--- /dev/null
+++ b/php-psr-Log.spec
@@ -0,0 +1,50 @@
+%define		pearname	Log
+%define		php_min_version 5.3.3
+%include	/usr/lib/rpm/macros.php
+Summary:	Common interface for logging libraries
+Name:		php-psr-Log
+Version:	1.0.0
+Release:	1
+License:	MIT
+Group:		Development/Languages/PHP
+Source0:	https://github.com/php-fig/log/archive/%{version}/%{pearname}-%{version}.tar.gz
+# Source0-md5:	2499e0aeb6feaabcdd58f335ccdf5b96
+URL:		https://github.com/php-fig/log
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+BuildRequires:	rpmbuild(macros) >= 1.610
+Requires:	php(core) >= %{php_min_version}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains interfaces/classes/traits related to PSR-3.
+
+Note that this is not a logger of its own. It is merely an interface
+that describes a logger. See the specification for more details.
+
+%prep
+%setup -q -n log-%{version}
+
+mv Psr/Log/Test .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+cp -a Psr $RPM_BUILD_ROOT%{php_pear_dir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%dir %{php_pear_dir}/Psr
+%dir %{php_pear_dir}/Psr/Log
+%{php_pear_dir}/Psr/Log/AbstractLogger.php
+%{php_pear_dir}/Psr/Log/InvalidArgumentException.php
+%{php_pear_dir}/Psr/Log/LogLevel.php
+%{php_pear_dir}/Psr/Log/LoggerAwareInterface.php
+%{php_pear_dir}/Psr/Log/LoggerAwareTrait.php
+%{php_pear_dir}/Psr/Log/LoggerInterface.php
+%{php_pear_dir}/Psr/Log/LoggerTrait.php
+%{php_pear_dir}/Psr/Log/NullLogger.php
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-psr-Log.git/commitdiff/79c00927c2790bb8994c5f286749bf5f2be59c5a



More information about the pld-cvs-commit mailing list