Browse code

lynx: New Package

Adding new package lynx.

Change-Id: Id1f8d73bb508a4d373c6e6b02b1c40e9656b566c
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5471
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Srinidhi Rao <srinidhir@vmware.com>
Reviewed-by: Tapas Kundu <tkundu@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>

Ankit Jain authored on 2018/08/10 06:05:49
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,53 @@
0
+Summary:	Lynx is a text browser for the World Wide Web
1
+Name:           lynx
2
+Version:        2.8.9rel.1
3
+Release:        1%{?dist}
4
+License:        GPLv2
5
+Group:          Productivity/Networking/Other
6
+Vendor:         VMware, Inc.
7
+Distribution:   Photon
8
+Url:            http://lynx.invisible-island.net
9
+Source:         https://invisible-mirror.net/archives/lynx/tarballs/%{name}%{version}.tar.gz
10
+%define sha1 %{name}%{version}=a76e6320f2ee00275ba035f29d6b3f9fef6c1f69
11
+BuildRequires:	ncurses-devel
12
+BuildRequires:	openssl-devel
13
+
14
+%description
15
+Lynx is a fully-featured World Wide Web (WWW) client for users running
16
+cursor-addressable, character-cell display devices such as vt100 terminals,
17
+vt100 emulators running on Windows 95/NT or Macintoshes, or any other
18
+character-cell display.  It will display Hypertext Markup Language (HTML)
19
+documents containing links to files on the local system, as well as files on
20
+remote systems running http, gopher, ftp, wais, nntp, finger, or cso/ph/qi
21
+servers, and services accessible via logins to telnet, tn3270 or rlogin
22
+accounts.  Current versions of Lynx run on Unix, VMS, Windows95
23
+through Windows 8, 386DOS and OS/2 EMX.
24
+
25
+%prep
26
+%setup -q -n %{name}%{version}
27
+
28
+%build
29
+%configure \
30
+	--enable-debug \
31
+	--enable-nls \
32
+	--with-ssl
33
+make %{?_smp_mflags}
34
+
35
+%install
36
+rm -rf %{buildroot}
37
+make DESTDIR=%{buildroot} install
38
+chmod ogu-x scripts/conf.mingw.sh scripts/config.djgpp.sh
39
+
40
+%files
41
+%defattr(-,root,root)
42
+%{_bindir}/%{name}
43
+%config(noreplace) %{_sysconfdir}/%{name}.cfg
44
+%config %{_sysconfdir}/%{name}.lss
45
+%{_datadir}/locale/*
46
+%doc %{_mandir}/man1/%{name}.1.gz
47
+%doc scripts samples lynx_help
48
+%doc AUTHORS CHANGES README COPYING README PROBLEMS
49
+
50
+%changelog
51
+*   Thu Aug 09 2018 Ankit Jain <ankitja@vmware.com> 2.8.9rel.1-1
52
+-   Initial Version.