Change-Id: I169ee086c8871107bf7165903e036a90d83111ac
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1243
Reviewed-by: suezzelur <anishs@vmware.com>
Tested-by: suezzelur <anishs@vmware.com>
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,58 @@ |
0 |
+Summary: OpenPGP standard implementation used for encrypted communication and data storage. |
|
1 |
+Name: gnupg |
|
2 |
+Version: 2.0.30 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+License: GPLv3+ |
|
5 |
+URL: https://gnupg.org/index.html |
|
6 |
+Group: Applications/Cryptography. |
|
7 |
+Source0: https://gnupg.org/ftp/gcrypt/gnupg/%{name}-%{version}.tar.bz2 |
|
8 |
+%define sha1 gnupg=a9f024588c356a55e2fd413574bfb55b2e18794a |
|
9 |
+Vendor: VMware, Inc. |
|
10 |
+Distribution: Photon |
|
11 |
+BuildRequires: zlib-devel |
|
12 |
+BuildRequires: bzip2-devel |
|
13 |
+BuildRequires: readline-devel |
|
14 |
+BuildRequires: pth |
|
15 |
+BuildRequires: pth-devel |
|
16 |
+BuildRequires: libassuan |
|
17 |
+BuildRequires: libksba >= 1.0.7 |
|
18 |
+BuildRequires: libgcrypt-devel |
|
19 |
+Requires: libksba |
|
20 |
+Requires: pth |
|
21 |
+Requires: libassuan |
|
22 |
+Provides: gpg |
|
23 |
+ |
|
24 |
+ |
|
25 |
+%description |
|
26 |
+GnuPG is a complete and free implementation of the OpenPGP standard as defined |
|
27 |
+by RFC4880 (also known as PGP). GnuPG allows to encrypt and sign your data and |
|
28 |
+communication, features a versatile key management system as well as access |
|
29 |
+modules for all kinds of public key directories. GnuPG, also known as GPG, is |
|
30 |
+a command line tool with features for easy integration with other applications. |
|
31 |
+ |
|
32 |
+%prep |
|
33 |
+%setup -q -n %{name}-%{version} |
|
34 |
+%build |
|
35 |
+./configure --prefix=%{_prefix} \ |
|
36 |
+ --sysconfdir=%{_sysconfdir} \ |
|
37 |
+ --with-libusb=no |
|
38 |
+ |
|
39 |
+make |
|
40 |
+%install |
|
41 |
+make DESTDIR=%{buildroot} install |
|
42 |
+ |
|
43 |
+%files |
|
44 |
+%defattr(-,root,root) |
|
45 |
+%{_bindir}/* |
|
46 |
+%{_sbindir}/* |
|
47 |
+%{_datadir}/locale/*/*/* |
|
48 |
+%{_mandir}/* |
|
49 |
+%{_infodir}/gnupg* |
|
50 |
+%{_libexecdir}/* |
|
51 |
+%{_datadir}/gnupg/* |
|
52 |
+%exclude %{_infodir}/dir |
|
53 |
+%exclude /usr/share/doc/* |
|
54 |
+ |
|
55 |
+%changelog |
|
56 |
+* Wed Jul 27 2016 Kumar Kaushik <kaushikk@vmware.com> 2.0.30-1 |
|
57 |
+- Initial Build. |
0 | 58 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,45 @@ |
0 |
+Summary: Library for accessing X.509 and CMS data structure. |
|
1 |
+Name: libksba |
|
2 |
+Version: 1.3.4 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+License: GPLv3+ |
|
5 |
+URL: https://www.gnupg.org/(fr)/download/index.html#libksba |
|
6 |
+Group: Security/Libraries. |
|
7 |
+Source0: https://www.gnupg.org/ftp/gcrypt/%{name}/%{name}-%{version}.tar.bz2 |
|
8 |
+%define sha1 libksba=bc84945400bd1cabfd7b8ba4e20e71082f32bcc9 |
|
9 |
+Vendor: VMware, Inc. |
|
10 |
+Distribution: Photon |
|
11 |
+BuildRequires: libgpg-error >= 1.2 |
|
12 |
+ |
|
13 |
+%description |
|
14 |
+Libksba is a library to make the tasks of working with X.509 certificates, |
|
15 |
+CMS data and related objects more easy. It provides a highlevel interface |
|
16 |
+to the implemented protocols and presents the data in a consistent way. |
|
17 |
+ |
|
18 |
+%prep |
|
19 |
+%setup -q |
|
20 |
+ |
|
21 |
+%build |
|
22 |
+%configure --disable-static \ |
|
23 |
+ --prefix=%{_prefix} |
|
24 |
+make |
|
25 |
+ |
|
26 |
+%install |
|
27 |
+make DESTDIR=%{buildroot} install |
|
28 |
+ |
|
29 |
+%post -p /sbin/ldconfig |
|
30 |
+ |
|
31 |
+%postun -p /sbin/ldconfig |
|
32 |
+ |
|
33 |
+%files |
|
34 |
+%defattr(-,root,root) |
|
35 |
+%{_bindir}/ksba-config |
|
36 |
+%{_libdir}/* |
|
37 |
+%{_includedir}/* |
|
38 |
+%{_datadir}/aclocal/ksba.m4 |
|
39 |
+%{_datadir}/info/ksba.info.gz |
|
40 |
+%exclude %{_datadir}/info/dir |
|
41 |
+ |
|
42 |
+%changelog |
|
43 |
+* Wed Jul 27 2016 Kumar Kaushik <kaushikk@vmware.com> 1.3.4-1 |
|
44 |
+- Initial Build. |
0 | 45 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,59 @@ |
0 |
+Summary: The GNU portable thread library. |
|
1 |
+Name: pth |
|
2 |
+Version: 2.0.7 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+License: LGPLv2+ |
|
5 |
+URL: http://www.gnu.org/software/pth/ |
|
6 |
+Group: System Environment/Libraries. |
|
7 |
+Source0: http://open-source-box.org/%{name}/%{name}-%{version}.tar.gz |
|
8 |
+%define sha1 pth=9a71915c89ff2414de69fe104ae1016d513afeee |
|
9 |
+Vendor: VMware, Inc. |
|
10 |
+Distribution: Photon |
|
11 |
+ |
|
12 |
+%description |
|
13 |
+ |
|
14 |
+Pth is a very portable POSIX/ANSI-C based library for Unix platforms which |
|
15 |
+provides non-preemptive priority-based scheduling for multiple threads of |
|
16 |
+execution (aka ``multithreading'') inside event-driven applications. All |
|
17 |
+threads run in the same address space of the server application, but each |
|
18 |
+thread has it's own individual program-counter, run-time stack, signal |
|
19 |
+mask and errno variable. |
|
20 |
+ |
|
21 |
+%package devel |
|
22 |
+Summary: GNU pth development header and libraries. |
|
23 |
+Group: Development/Libraries. |
|
24 |
+Requires: pth = %{version} |
|
25 |
+ |
|
26 |
+%description devel |
|
27 |
+Development package for pth. |
|
28 |
+ |
|
29 |
+%prep |
|
30 |
+%setup -q |
|
31 |
+ |
|
32 |
+%build |
|
33 |
+%configure --disable-static \ |
|
34 |
+ --prefix=%{_prefix} |
|
35 |
+make |
|
36 |
+ |
|
37 |
+%install |
|
38 |
+make DESTDIR=%{buildroot} install |
|
39 |
+ |
|
40 |
+%post -p /sbin/ldconfig |
|
41 |
+ |
|
42 |
+%postun -p /sbin/ldconfig |
|
43 |
+ |
|
44 |
+%files |
|
45 |
+%defattr(-,root,root) |
|
46 |
+%{_libdir}/*.so.* |
|
47 |
+ |
|
48 |
+%files devel |
|
49 |
+%defattr(-,root,root) |
|
50 |
+%{_bindir}/* |
|
51 |
+%{_includedir}/* |
|
52 |
+%{_libdir}/* |
|
53 |
+%{_mandir}/*/* |
|
54 |
+%{_datadir}/aclocal/* |
|
55 |
+ |
|
56 |
+%changelog |
|
57 |
+* Wed Jul 27 2016 Kumar Kaushik <kaushikk@vmware.com> 2.0.7-1 |
|
58 |
+- Initial Build. |