[php-PsrLog] Initial import (#894167)
Shawn Iwinski
siwinski at fedoraproject.org
Wed Jan 23 00:30:21 UTC 2013
commit 374f2c4a27e9a19b8beb684a608725d12b1e0c59
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date: Tue Jan 22 19:30:03 2013 -0500
Initial import (#894167)
.gitignore | 1 +
php-PsrLog.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bac8500 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/php-PsrLog-1.0.0-fe0936ee26643249e916849d48e3a51d5f5e278b.tar.gz
diff --git a/php-PsrLog.spec b/php-PsrLog.spec
new file mode 100644
index 0000000..10ba101
--- /dev/null
+++ b/php-PsrLog.spec
@@ -0,0 +1,56 @@
+%global github_owner php-fig
+%global github_name log
+%global github_version 1.0.0
+%global github_commit fe0936ee26643249e916849d48e3a51d5f5e278b
+
+Name: php-PsrLog
+Version: %{github_version}
+Release: 2%{?dist}
+Summary: Common interface for logging libraries
+
+Group: Development/Libraries
+License: MIT
+URL: http://www.php-fig.org
+Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
+
+BuildArch: noarch
+
+Requires: php-common >= 5.3.0
+# phpci requires
+Requires: php-date
+Requires: php-spl
+
+%description
+This package holds all interfaces/classes/traits related to PSR-3
+(https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md).
+
+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 %{github_name}-%{github_commit}
+
+
+%build
+# Empty build section, nothing to build
+
+
+%install
+mkdir -p -m 755 %{buildroot}%{_datadir}/php/Psr
+cp -rp Psr/Log %{buildroot}%{_datadir}/php/Psr/
+
+
+%files
+%doc LICENSE README.md composer.json
+%dir %{_datadir}/php/Psr
+ %{_datadir}/php/Psr/Log
+
+
+%changelog
+* Tue Jan 22 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.0.0-2
+- Updated URL
+- Added php-date require
+
+* Thu Jan 10 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.0.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..950e712 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f2a687ddb7219f8db368e032f12149f0 php-PsrLog-1.0.0-fe0936ee26643249e916849d48e3a51d5f5e278b.tar.gz
More information about the scm-commits
mailing list