[packages/php-composer-ca-bundle: 1/2] new, version 1.0.2

glen glen at pld-linux.org
Wed May 11 22:34:37 CEST 2016


commit c8f204fa707ba6750db17142d58f63f67c1d1211
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed May 11 23:30:45 2016 +0300

    new, version 1.0.2

 php-composer-ca-bundle.spec | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
---
diff --git a/php-composer-ca-bundle.spec b/php-composer-ca-bundle.spec
new file mode 100644
index 0000000..a6760bc
--- /dev/null
+++ b/php-composer-ca-bundle.spec
@@ -0,0 +1,43 @@
+# TODO
+# - system ca certs
+%define		php_min_version 5.3.2
+%define		pkgname	ca-bundle
+%include	/usr/lib/rpm/macros.php
+Summary:	Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle
+Name:		php-composer-%{pkgname}
+Version:	1.0.2
+Release:	0.1
+License:	MIT
+Group:		Development/Libraries
+Source0:	https://github.com/composer/ca-bundle/archive/%{version}/%{pkgname}-%{version}.tar.gz
+# Source0-md5:	0e08430806fbcad13b8e568a854e5b4e
+URL:		https://github.com/composer/ca-bundle
+Requires:	php(core) >= %{php_min_version}
+Requires:	php(openssl)
+Requires:	php(pcre)
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Small utility library that lets you find a path to the system CA
+bundle, and includes a fallback to the Mozilla CA bundle.
+
+Originally written as part of composer/composer, now extracted and
+made available as a stand-alone library.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}/Composer/CaBundle
+cp -a src/* $RPM_BUILD_ROOT%{php_data_dir}/Composer/CaBundle
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENSE
+%dir %{php_data_dir}/Composer
+%{php_data_dir}/Composer/CaBundle
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-composer-ca-bundle.git/commitdiff/467779ccee13fd227a36e7a70ac1fc6f10c65db9



More information about the pld-cvs-commit mailing list