commit fa984c39063ecd03d081ed96826bf09e6bd05bb4
Author: Elan Ruusamäe <[email protected]>
Date: Sat Feb 6 15:31:08 2016 +0200
new, version 1.1.0
php-sebastian-diff.spec | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
---
diff --git a/php-sebastian-diff.spec b/php-sebastian-diff.spec
new file mode 100644
index 0000000..13a96a6
--- /dev/null
+++ b/php-sebastian-diff.spec
@@ -0,0 +1,35 @@
+%define pkgname diff
+%define php_min_version 5.3.3
+Summary: Diff implementation for PHP
+Name: php-sebastian-%{pkgname}
+Version: 1.1.0
+Release: 1
+License: BSD
+Group: Development/Libraries
+Source0:
https://github.com/sebastianbergmann/diff/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 61b8db69978590e046d31586dff73997
+URL: https://github.com/sebastianbergmann/diff
+Requires: php(core) >= %{php_min_version}
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Diff implementation for PHP, factored out of PHPUnit into a
+stand-alone component.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}/SebastianBergmann/Diff
+cp -a src/* $RPM_BUILD_ROOT%{php_data_dir}/SebastianBergmann/Diff
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENSE composer.json
+%dir %{php_data_dir}/SebastianBergmann
+%{php_data_dir}/SebastianBergmann/Diff
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-sebastian-diff.git/commitdiff/63e9440c72daf0af9f61754d915738cc4a6f2be2
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit