Change-Id: Id71a76cd10ea5e3a64d0f3fd435318c983a4686a
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2354
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Divya Thaluru <dthaluru@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,46 @@ |
| 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 |
+find %{buildroot}%{_libdir} -name '*.la' -delete
|
|
| 29 |
+ |
|
| 30 |
+%post -p /sbin/ldconfig |
|
| 31 |
+ |
|
| 32 |
+%postun -p /sbin/ldconfig |
|
| 33 |
+ |
|
| 34 |
+%files |
|
| 35 |
+%defattr(-,root,root) |
|
| 36 |
+%{_bindir}/ksba-config
|
|
| 37 |
+%{_libdir}/*.so*
|
|
| 38 |
+%{_includedir}/*
|
|
| 39 |
+%{_datadir}/aclocal/ksba.m4
|
|
| 40 |
+%{_datadir}/info/ksba.info.gz
|
|
| 41 |
+%exclude %{_datadir}/info/dir
|
|
| 42 |
+ |
|
| 43 |
+%changelog |
|
| 44 |
+* Wed Jul 27 2016 Kumar Kaushik <kaushikk@vmware.com> 1.3.4-1 |
|
| 45 |
+- Initial Build. |
| 0 | 46 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,60 @@ |
| 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 |
+find %{buildroot}%{_libdir} -name '*.la' -delete
|
|
| 40 |
+ |
|
| 41 |
+%post -p /sbin/ldconfig |
|
| 42 |
+ |
|
| 43 |
+%postun -p /sbin/ldconfig |
|
| 44 |
+ |
|
| 45 |
+%files |
|
| 46 |
+%defattr(-,root,root) |
|
| 47 |
+%{_libdir}/*.so.*
|
|
| 48 |
+ |
|
| 49 |
+%files devel |
|
| 50 |
+%defattr(-,root,root) |
|
| 51 |
+%{_bindir}/*
|
|
| 52 |
+%{_includedir}/*
|
|
| 53 |
+%{_libdir}/*.so
|
|
| 54 |
+%{_mandir}/*/*
|
|
| 55 |
+%{_datadir}/aclocal/*
|
|
| 56 |
+ |
|
| 57 |
+%changelog |
|
| 58 |
+* Wed Jul 27 2016 Kumar Kaushik <kaushikk@vmware.com> 2.0.7-1 |
|
| 59 |
+- Initial Build. |