Change-Id: Ic40c955541a163e54f126e13313970e871240b84
Reviewed-on: http://photon-jenkins.eng.vmware.com/276
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Sharath George
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,33 @@ |
0 |
+Summary: The Python Cryptography Toolkit. |
|
1 |
+Name: pycrypto |
|
2 |
+Version: 2.6.1 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+License: UNKNOWN |
|
5 |
+URL: https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.6.1.tar.gz |
|
6 |
+Source: %{name}-%{version}.tar.gz |
|
7 |
+%define sha1 pycrypto=aeda3ed41caf1766409d4efc689b9ca30ad6aeb2 |
|
8 |
+Group: Development/Tools |
|
9 |
+Vendor: VMware, Inc. |
|
10 |
+Distribution: Photon |
|
11 |
+ |
|
12 |
+BuildRequires: python-setuptools |
|
13 |
+BuildRequires: python2-devel |
|
14 |
+Requires: python2 |
|
15 |
+%description |
|
16 |
+ |
|
17 |
+%prep |
|
18 |
+%setup -q |
|
19 |
+ |
|
20 |
+%build |
|
21 |
+python setup.py build |
|
22 |
+ |
|
23 |
+%install |
|
24 |
+python setup.py install -O1 --root=%{buildroot} --prefix=/usr |
|
25 |
+ |
|
26 |
+%files |
|
27 |
+%defattr(-,root,root) |
|
28 |
+%{_libdir}/python2.7/* |
|
29 |
+ |
|
30 |
+%changelog |
|
31 |
+* Tue Dec 15 2015 Xiaolin Li <xiaolinl@vmware.com> 2.6.1-1 |
|
32 |
+- Initial build. First version |