Browse code

Add gnuplot to 1.0 branch. (git issue 670)

Change-Id: Ib7598f2877cc1e39c114052b52d2faed411c9f18
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3525
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

xiaolin-vmware authored on 2017/08/16 03:43:15
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,40 @@
0
+Summary:        Gnuplot is a portable command-line driven graphing utility.
1
+Name:           gnuplot
2
+Version:        5.0.6
3
+Release:        1%{?dist}
4
+License:        Freeware
5
+URL:            http://www.gnuplot.info/
6
+Group:          Applications
7
+Vendor:         VMware, Inc.
8
+Distribution:   Photon
9
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
10
+%define sha1    gnuplot=f7b8948166b22e5bd658d5cf7579716f4821dba0
11
+
12
+%description
13
+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.
14
+
15
+%prep
16
+%setup -q
17
+
18
+%build
19
+./configure --prefix=%{_prefix} \
20
+    --bindir=%{_bindir} \
21
+    --libdir=%{_libdir} \
22
+    --mandir=%{_mandir} \
23
+    --disable-static \
24
+    --enable-shared
25
+make
26
+
27
+%install
28
+make DESTDIR=%{buildroot} install
29
+
30
+%files
31
+%defattr(-,root,root)
32
+%{_bindir}/*
33
+%{_datadir}/*
34
+
35
+%changelog
36
+*   Tue Aug 15 2017 Xiaolin Li <xiaolinl@vmware.com> 5.0.6-1
37
+-   Initial build.  First version
38
+
39
+