Browse code

Updated gnupg, gnuplot, libgcrypt, libgpg-error, created npth spec that gnupg depends on

Change-Id: I878ba0942ef8464d3613ea1e3cfb2692a3f05eec
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2393
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>

dmoraru authored on 2017/04/13 05:49:57
Showing 5 changed files
... ...
@@ -1,24 +1,26 @@
1 1
 Summary:	OpenPGP standard implementation used for encrypted communication and data storage.
2 2
 Name:		gnupg
3
-Version:	2.0.30
3
+Version:	2.1.20
4 4
 Release:	1%{?dist}
5 5
 License:	GPLv3+
6 6
 URL:		https://gnupg.org/index.html
7 7
 Group:		Applications/Cryptography.
8 8
 Source0:        https://gnupg.org/ftp/gcrypt/gnupg/%{name}-%{version}.tar.bz2
9
-%define sha1 gnupg=a9f024588c356a55e2fd413574bfb55b2e18794a
9
+%define sha1 gnupg=500ddae8e4225ae2e300934090f9b9a427b8def1
10 10
 Vendor:		VMware, Inc.
11 11
 Distribution:	Photon
12 12
 BuildRequires:	zlib-devel
13 13
 BuildRequires:  bzip2-devel
14 14
 BuildRequires:  readline-devel
15
-BuildRequires:  pth
16
-BuildRequires:  pth-devel
15
+BuildRequires:  npth
16
+BuildRequires:  npth-devel
17 17
 BuildRequires:  libassuan
18 18
 BuildRequires:  libksba >= 1.0.7
19
+BuildRequires:  libgcrypt >= 1.7.0
19 20
 BuildRequires:  libgcrypt-devel
21
+BuildRequires:  libgpg-error >= 1.24
20 22
 Requires:       libksba
21
-Requires:       pth
23
+Requires:       npth
22 24
 Requires:       libassuan
23 25
 Provides:       gpg
24 26
 
... ...
@@ -32,6 +34,7 @@ a command line tool with features for easy integration with other applications.
32 32
 
33 33
 %prep
34 34
 %setup -q -n %{name}-%{version}
35
+
35 36
 %build
36 37
 ./configure --prefix=%{_prefix}      \
37 38
             --sysconfdir=%{_sysconfdir} \
... ...
@@ -54,5 +57,7 @@ make DESTDIR=%{buildroot} install
54 54
 %exclude /usr/share/doc/*
55 55
 
56 56
 %changelog
57
+*       Tue Apr 11 2017 Danut Moraru <dmoraru@vmware.com> 2.1.20-1
58
+-       Update to 2.1.20
57 59
 *       Wed Jul 27 2016 Kumar Kaushik <kaushikk@vmware.com> 2.0.30-1
58 60
 -       Initial Build.
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:        Gnuplot is a portable command-line driven graphing utility.
2 2
 Name:           gnuplot
3
-Version:        5.0.5
3
+Version:        5.0.6
4 4
 Release:        1%{?dist}
5 5
 License:        Freeware
6 6
 URL:            http://www.gnuplot.info/
7 7
 Group:          Applications
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10
-Source0:        http://downloads.sourceforge.net/gnuplot/gnuplot-5.0.5.tar.gz
11
-%define sha1    gnuplot=c35f55657fdc33217dd70bbf3148578563ecaad1
10
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
11
+%define sha1    gnuplot=f7b8948166b22e5bd658d5cf7579716f4821dba0
12 12
 
13 13
 %description
14 14
 Gnuplot is a portable command-line driven graphing utility for Linux, OS/2, MS Windows, OSX, VMS, and many other platforms. The source code is copyrighted but freely distributed (i.e., you don't have to pay for it). It was originally created to allow scientists and students to visualize mathematical functions and data interactively, but has grown to support many non-interactive uses such as web scripting. It is also used as a plotting engine by third-party applications like Octave. Gnuplot has been supported and under active development since 1986.
... ...
@@ -35,6 +35,8 @@ make DESTDIR=%{buildroot} install
35 35
 
36 36
 
37 37
 %changelog
38
+*   Wed Apr 12 2017 Danut Moraru <dmoraru@vmware.com> 5.0.6-1
39
+-   Update version to 5.0.6
38 40
 *   Tue Nov 29 2016 Xiaolin Li <xiaolinl@vmware.com> 5.0.5-1
39 41
 -   Add gnuplot 5.0.5 package.
40 42
 
... ...
@@ -1,11 +1,11 @@
1 1
 Summary:	Crypto Libraries
2 2
 Name:		libgcrypt
3
-Version:	1.6.5
4
-Release:	3%{?dist}
3
+Version:	1.7.6
4
+Release:	1%{?dist}
5 5
 License:        GPLv2+ and LGPLv2+
6 6
 URL:            http://www.gnu.org/software/libgcrypt/
7
-Source0:        ftp://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.gz
8
-%define sha1 libgcrypt=765370d9ee9e858c257dc06c3f0621bda8acaf69
7
+Source0:        ftp://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.bz2
8
+%define sha1 libgcrypt=d2b9e0f413064cfc67188f80d3cbda887c755a62
9 9
 Group:		System Environment/Libraries
10 10
 Vendor:		VMware, Inc.
11 11
 BuildRequires:	libgpg-error-devel
... ...
@@ -50,6 +50,8 @@ make %{?_smp_mflags} check
50 50
 %{_includedir}/*.h
51 51
 %{_libdir}/*.so
52 52
 %changelog
53
+*	Tue Apr 04 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.7.6-1
54
+-	Udpated to version 1.7.6 
53 55
 *   Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 1.6.5-3
54 56
 -   Required libgpg-error-devel.
55 57
 *   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.6.5-2
... ...
@@ -58,4 +60,3 @@ make %{?_smp_mflags} check
58 58
 -   Upgrade to 1.6.5
59 59
 *   Wed Jun 17 2015 Divya Thaluru <dthaluru@vmware.com> 1.6.3-1
60 60
 -   Initial build. First version
61
-
... ...
@@ -1,13 +1,12 @@
1
-
2 1
 Summary:      	libgpg-error
3 2
 Name:         	libgpg-error
4
-Version:      	1.21
5
-Release:      	3%{?dist}
3
+Version:      	1.27
4
+Release:      	1%{?dist}
6 5
 License:      	GPLv2+
7 6
 URL:          	ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/
8 7
 Group:		Development/Libraries
9 8
 Source0:	ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/%{name}-%{version}.tar.bz2
10
-%define sha1 libgpg-error=ef1dfb2f8761f019091180596e9e638d8cc37513
9
+%define sha1 libgpg-error=a428758999ff573e62d06892e3d2c0b0f335787c
11 10
 Vendor:		VMware, Inc.
12 11
 Distribution:	Photon
13 12
 
... ...
@@ -66,12 +65,15 @@ echo %{_libdir}
66 66
 
67 67
 %files devel
68 68
 %defattr(-,root,root)
69
-%{_includedir}/gpg-error.h
69
+%{_includedir}/*
70
+%{_datadir}/*
70 71
 
71 72
 %files lang -f %{name}.lang
72 73
 %defattr(-,root,root)
73 74
 
74 75
 %changelog
76
+*	Tue Apr 04 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.27-1
77
+-	Upgraded to new version 1.27
75 78
 *   Wed Nov 23 2016 Alexey Makhalov <amakhalov@vmware.com> 1.21-3
76 79
 -   Added -lang subpackage
77 80
 *   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.21-2
... ...
@@ -82,3 +84,4 @@ echo %{_libdir}
82 82
 -   Handled locale files with macro find_lang
83 83
 *   Tue Dec 30 2014 Priyesh Padmavilasom <ppadmavilasom@vmware.com>
84 84
 -   initial specfile.
85
+
85 86
new file mode 100644
... ...
@@ -0,0 +1,61 @@
0
+Summary:	The New GNU Portable Threads Library.
1
+Name:		npth
2
+Version:	1.3
3
+Release:	1%{?dist}
4
+License:	GPLv2+ and LGPLv3+
5
+URL:		https://github.com/gpg/npth
6
+Group:		System Environment/Libraries.
7
+Source0:        https://github.com/gpg/%{name}/archive/%{name}-%{version}.tar.gz 
8
+%define sha1 npth=d82a2db3c3687a427c39c741616e71be98fd351b
9
+Vendor:		VMware, Inc.
10
+Distribution:	Photon
11
+
12
+%description
13
+This is a library to provide the GNU Pth API and thus a non-preemptive threads implementation.
14
+In contrast to GNU Pth, it is based on the system's standard threads implementation. 
15
+This allows the use of libraries which are not compatible to GNU Pth.  
16
+Experience with a Windows Pth emulation showed that this is a solid way to provide
17
+a co-routine based framework.
18
+
19
+%package devel
20
+Summary:       GNU npth development header and libraries.
21
+Group:         Development/Libraries.
22
+Requires:      npth = %{version}
23
+
24
+%description devel
25
+Development package for npth.
26
+
27
+%prep
28
+%setup -qn npth-%{name}-%{version}
29
+
30
+%build
31
+./autogen.sh
32
+./configure --disable-static \
33
+           --prefix=%{_prefix}
34
+make
35
+
36
+%install
37
+make DESTDIR=%{buildroot} install
38
+find %{buildroot}%{_libdir} -name '*.la' -delete
39
+
40
+%check
41
+make %{?_smp_mflags} -k check
42
+
43
+%post -p /sbin/ldconfig
44
+
45
+%postun -p /sbin/ldconfig
46
+
47
+%files
48
+%defattr(-,root,root)
49
+%{_bindir}/*
50
+%{_libdir}/*.so*
51
+
52
+%files devel
53
+%defattr(-,root,root)
54
+%{_includedir}/*
55
+%{_libdir}/*.so
56
+%{_datadir}/aclocal/*
57
+
58
+%changelog
59
+*       Tue Apr 11 2017 Danut Moraru <dmoraru@vmware.com> 1.3-1
60
+-       Initial Build.