This reverts commit 8e076a7153b53892c46ab47a4f8509a2c44d28d9.
Change-Id: I23a7d61d7366124cbbd1d1527f470e26a3d06ba8
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5514
Reviewed-by: Sharath George
Tested-by: Sharath George
| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,58 +0,0 @@ |
| 1 |
-Summary: w3m is a text-based web browser |
|
| 2 |
-Name: w3m |
|
| 3 |
-Version: 0.5.3 |
|
| 4 |
-Release: 1%{?dist}
|
|
| 5 |
-License: ISC |
|
| 6 |
-Group: Productivity/Networking/Other |
|
| 7 |
-Vendor: VMware, Inc. |
|
| 8 |
-Distribution: Photon |
|
| 9 |
-## http://w3m.sourceforge.net |
|
| 10 |
-Url: https://github.com/tats/w3m/archive/v%{version}+git20180125.tar.gz
|
|
| 11 |
-Source0: %{name}-%{version}.tar.gz
|
|
| 12 |
-%define sha1 %{name}-%{version}=49df4a9c35f94c211ba2d904f7c72b8aa82e269d
|
|
| 13 |
-BuildRequires: gc-devel |
|
| 14 |
-BuildRequires: ncurses-devel |
|
| 15 |
-BuildRequires: openssl-devel |
|
| 16 |
- |
|
| 17 |
-%description |
|
| 18 |
-w3m is a pager with WWW capability. It IS a pager, but it can be |
|
| 19 |
-used as a text-mode WWW browser. |
|
| 20 |
- |
|
| 21 |
-The features of w3m are as follows: |
|
| 22 |
- |
|
| 23 |
-* When reading HTML document, you can follow links and view images |
|
| 24 |
- (using external image viewer). |
|
| 25 |
-* It has 'internet message mode', which determines the type of document |
|
| 26 |
- from header. If the Content-Type: field of the document is text/html, |
|
| 27 |
- that document is displayed as HTML document. |
|
| 28 |
-* You can change URL description like 'http://hogege.net' in plain text |
|
| 29 |
- into link to that URL. |
|
| 30 |
- |
|
| 31 |
-%prep |
|
| 32 |
-%setup -q -n %{name}-%{version}-git20180125
|
|
| 33 |
- |
|
| 34 |
-%build |
|
| 35 |
-%configure \ |
|
| 36 |
- --prefix=%{_prefix} \
|
|
| 37 |
- --exec-prefix=%{_prefix}
|
|
| 38 |
-make %{?_smp_mflags}
|
|
| 39 |
- |
|
| 40 |
-%install |
|
| 41 |
-rm -rf %{buildroot}
|
|
| 42 |
-make DESTDIR=%{buildroot} install
|
|
| 43 |
-sed -i 's/require "w3mhelp-funcname.pl/require "\/usr\/share\/w3m\/w3mhelp-funcname.pl/g' %{buildroot}%{_prefix}/libexec/%{name}/cgi-bin/w3mhelp.cgi
|
|
| 44 |
-sed -i 's/require "w3mhelp-funcdesc.en.pl/require "\/usr\/share\/w3m\/w3mhelp-funcdesc.en.pl/g' %{buildroot}%{_prefix}/libexec/%{name}/cgi-bin/w3mhelp.cgi
|
|
| 45 |
- |
|
| 46 |
-%files |
|
| 47 |
-%defattr(-,root,root) |
|
| 48 |
-%{_bindir}/%{name}
|
|
| 49 |
-%{_bindir}/w3mman
|
|
| 50 |
-%doc doc/* |
|
| 51 |
-%doc ChangeLog |
|
| 52 |
-%{_prefix}/libexec
|
|
| 53 |
-%{_mandir}
|
|
| 54 |
-%{_datadir}
|
|
| 55 |
- |
|
| 56 |
-%changelog |
|
| 57 |
-* Tue Aug 14 2018 Ankit Jain <ankitja@vmware.com> 0.5.3-1 |
|
| 58 |
-- Initial Version. |