/[packages]/updates/5/lynx/releases/2.8.8/1.pre1.1.mga4/SPECS/lynx.spec
ViewVC logotype

Annotation of /updates/5/lynx/releases/2.8.8/1.pre1.1.mga4/SPECS/lynx.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 556642 - (hide annotations) (download)
Fri Dec 13 21:49:13 2013 UTC (10 years, 3 months ago) by schedbot
Original Path: cauldron/lynx/releases/2.8.8/1.pre1.1.mga4/SPECS/lynx.spec
File size: 3230 byte(s)
%repsys markrelease
version: 2.8.8
release: 1.pre1.1.mga4
revision: 556379

Copying 2.8.8-1.pre1.1.mga4 to releases/ directory.
1 barjac 303708 %define versio_ 2-8-8
2 luigiwalser 556379 %define pre pre.1
3     %define rel 1
4 blino 626
5 wally 467366 %define lpre %(echo %{pre} | tr -d .)
6    
7 barjac 303708 Name: lynx
8     Version: 2.8.8
9 wally 467366 Release: %mkrel 1.%{lpre}.%{rel}
10 barjac 303708 Summary: Text based browser for the world wide web
11     License: GPLv2
12     URL: http://lynx.isc.org
13     Group: Networking/WWW
14     BuildRequires: gettext
15     BuildRequires: openssl-devel
16     BuildRequires: ncurses-devel
17 barjac 303924 Source0: http://lynx.isc.org/current/lynx%{version}%{pre}.tar.bz2
18 barjac 303708 Patch0: lynx2-8-7-adapt-to-modern-file-localizations.patch
19 barjac 303924 Patch1: lynx2-8-8-default-config.patch
20 barjac 303708 Patch2: lynx2-8-6-fix-ugly-color.patch
21 barjac 303924 Patch3: lynx2-8-7-tmp_dir.patch
22     Patch4: lynx2-8-6-don-t-accept-command-line-args-to-telnet.patch
23 blino 626
24 barjac 303708 BuildRequires: openssl-devel
25     BuildRequires: zlib-devel
26     BuildRequires: libncursesw-devel
27 wally 467361 BuildRequires: libidn-devel
28 barjac 303708 Provides: webclient = %{version}-%{release}
29     Provides: lynx-ssl = %{version}-%{release}
30     Obsoletes: lynx-ssl < %{version}-%{release}
31    
32 blino 626 %description
33     This a terminal based WWW browser. While it does not make any attempt
34     at displaying graphics, it has good support for HTML text formatting,
35     forms, and tables.
36    
37     This version includes support for SSL encryption.
38    
39     WARNING: In some countries, it is illegal to export this package. In some
40     countries, it may even be illegal to use it.
41    
42    
43     %prep
44     %setup -q -n %{name}%{versio_}
45     %patch0 -p1
46 barjac 303924 %patch1 -p1
47 blino 626 %patch2 -p1
48 barjac 303924 %patch3 -p1
49     %patch4 -p1
50 barjac 303708
51 blino 626 perl -pi -e 's,^#LOCALE_CHARSET:.*,LOCALE_CHARSET:TRUE,' lynx.cfg
52    
53     %build
54    
55     debian_options=`cat << DEBIAN
56 barjac 303708 --enable-warnings
57     --enable-8bit-toupper
58     --enable-externs
59     --enable-cgi-links
60     --enable-persistent-cookies --enable-nls
61     --enable-prettysrc --enable-source-cache
62     --enable-charset-choice
63     --enable-default-colors
64     --enable-ipv6
65     --enable-nested-tables --enable-read-eta
66     --with-zlib
67 blino 626 DEBIAN`
68     # removed --enable-exec-links --enable-exec-scripts,
69     # it goes together with LOCAL_EXECUTION_LINKS_* in lynx.cfg
70    
71    
72     redhat_options=`cat << REDHAT
73 wally 467362 --with-screen=ncursesw
74 barjac 303708 --enable-internal-links
75     --enable-libjs
76     --enable-scrollbar
77     --enable-file-upload
78     --enable-locale-charset
79 wally 467362 --with-ssl=%{_libdir}
80 barjac 303708 --enable-addrlist-page
81     --enable-justify-elts
82 blino 626 REDHAT`
83    
84     other_options=`cat << OTHER
85 barjac 303708 --enable-color-style
86     --enable-nsl-fork
87 blino 626 OTHER`
88    
89     # (cf INSTALLATION file for more about the options)
90     # --with-included-gettext is the default
91     # --enable-kbd-layout not useful enough
92     # --enable-cjk not needed for CJK and may go away in a future release
93 barjac 303942 %configure2_5x --libdir=/usr/share/lynx $debian_options $redhat_options $other_options
94 blino 626 %make
95    
96     %install
97 barjac 303708 rm -rf %{buildroot}
98 blino 626 %makeinstall_std install-help
99    
100 barjac 303708 install -d %{buildroot}%{_sysconfdir}
101 barjac 303924 cat > %{buildroot}%{_sysconfdir}/lynx-site.cfg <<EOF
102 blino 626 # Place any local lynx configuration options (proxies etc.) here.
103     EOF
104    
105     %find_lang lynx
106    
107     %files -f lynx.lang
108     %doc README
109     %config(noreplace,missingok) %{_sysconfdir}/lynx-site.cfg
110     %config(noreplace) %{_sysconfdir}/lynx.cfg
111     %config(noreplace) %{_sysconfdir}/lynx.lss
112     %{_mandir}/*/*
113     %{_bindir}/*
114     %{_datadir}/lynx_help
115    
116    
117    

  ViewVC Help
Powered by ViewVC 1.1.30