]> git.pld-linux.org Git - packages/php-psr-Log.git/commitdiff
new, version 1.0.0 auto/th/php-psr-Log-1.0.0-1
authorElan Ruusamäe <glen@delfi.ee>
Mon, 23 Sep 2013 21:01:03 +0000 (00:01 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 23 Sep 2013 21:01:03 +0000 (00:01 +0300)
php-psr-Log.spec [new file with mode: 0644]

diff --git a/php-psr-Log.spec b/php-psr-Log.spec
new file mode 100644 (file)
index 0000000..afcd047
--- /dev/null
@@ -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
This page took 0.080477 seconds and 5 git commands to generate.