[packages/php-zencoder] new, version 2.1.2
glen
glen at pld-linux.org
Thu Aug 22 16:39:51 CEST 2013
commit dba2150635570e8636be54c5497a8790e3eb67f2
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Aug 22 17:39:33 2013 +0300
new, version 2.1.2
php-zencoder.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
---
diff --git a/php-zencoder.spec b/php-zencoder.spec
new file mode 100644
index 0000000..779e0eb
--- /dev/null
+++ b/php-zencoder.spec
@@ -0,0 +1,42 @@
+%define pkgname zencoder
+%define php_min_version 5.2.0
+%include /usr/lib/rpm/macros.php
+Summary: Zencoder API PHP Library
+Name: php-%{pkgname}
+Version: 2.1.2
+Release: 1
+License: BSD
+Group: Development/Languages/PHP
+Source0: https://github.com/zencoder/zencoder-php/archive/v%{version}.tar.gz
+# Source0-md5: 9e125cfc5f480b9110b7143af708fd45
+URL: https://github.com/zencoder/zencoder-php
+BuildRequires: /usr/bin/php
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.553
+Requires: php(json)
+Requires: php(spl)
+Requires: php-common >= 4:%{php_min_version}
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Zencoder integration library for PHP.
+
+%prep
+%setup -q -n %{pkgname}-php-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}
+cp -a Services $RPM_BUILD_ROOT%{php_data_dir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENSE
+%{php_data_dir}/Services/Zencoder.php
+%dir %{php_data_dir}/Services/Zencoder
+%{php_data_dir}/Services/Zencoder/*.php
+%{php_data_dir}/Services/Zencoder/zencoder_ca_chain.crt
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-zencoder.git/commitdiff/dba2150635570e8636be54c5497a8790e3eb67f2
More information about the pld-cvs-commit
mailing list