/[packages]/updates/1/lynx/current/SPECS/lynx.spec
ViewVC logotype

Diff of /updates/1/lynx/current/SPECS/lynx.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 323519 by schedbot, Wed Jun 1 19:01:05 2011 UTC revision 323520 by luigiwalser, Fri Nov 30 16:16:22 2012 UTC
# Line 2  Line 2 
2  %define versio_ 2-8-7  %define versio_ 2-8-7
3  #define subver pre.4  #define subver pre.4
4  %define rel     4  %define rel     4
5    %define subrel  1
6  %define release %mkrel %{rel}  %define release %mkrel %{rel}
7    
8  Summary:        Text based browser for the world wide web  Summary:        Text based browser for the world wide web
# Line 21  Patch2:                lynx2-8-6-fix-ugly-color.patch Line 22  Patch2:                lynx2-8-6-fix-ugly-color.patch
22  Patch10:        lynx2-8-7-tmp_dir.patch  Patch10:        lynx2-8-7-tmp_dir.patch
23  Patch11:        lynx2-8-6-don-t-accept-command-line-args-to-telnet.patch  Patch11:        lynx2-8-6-don-t-accept-command-line-args-to-telnet.patch
24  Patch13:        lynx2-8-6-format_not_a_string_literal_and_no_format_arguments.diff  Patch13:        lynx2-8-6-format_not_a_string_literal_and_no_format_arguments.diff
25    Patch14:        lynx2-8-7-CVE-2012-5821.patch
26  Provides:       webclient lynx-ssl  Provides:       webclient lynx-ssl
 Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot  
27  BuildRequires:  openssl-devel  BuildRequires:  openssl-devel
28  BuildRequires:  zlib-devel libncursesw-devel  BuildRequires:  zlib-devel libncursesw-devel
29  Obsoletes:      lynx-ssl  Obsoletes:      lynx-ssl
# Line 47  countries, it may even be illegal to use Line 48  countries, it may even be illegal to use
48  %patch11 -p1  %patch11 -p1
49  %patch13 -p0 -b .format_not_a_string_literal_and_no_format_arguments  %patch13 -p0 -b .format_not_a_string_literal_and_no_format_arguments
50  perl -pi -e 's,^#LOCALE_CHARSET:.*,LOCALE_CHARSET:TRUE,' lynx.cfg  perl -pi -e 's,^#LOCALE_CHARSET:.*,LOCALE_CHARSET:TRUE,' lynx.cfg
51    %patch14 -p1
52    
53  %build  %build
54    
# Line 93  OTHER` Line 95  OTHER`
95  %make  %make
96    
97  %install  %install
98  rm -rf $RPM_BUILD_ROOT  rm -rf %{buildroot}
99  %makeinstall_std install-help  %makeinstall_std install-help
100    
101  install -d $RPM_BUILD_ROOT%{_sysconfdir}  install -d %{buildroot}%{_sysconfdir}
102  cat >$RPM_BUILD_ROOT%{_sysconfdir}/lynx-site.cfg <<EOF  cat >%{buildroot}%{_sysconfdir}/lynx-site.cfg <<EOF
103  # Place any local lynx configuration options (proxies etc.) here.  # Place any local lynx configuration options (proxies etc.) here.
104  EOF  EOF
105    
106  %find_lang lynx  %find_lang lynx
107    
108  %clean  %clean
109  rm -rf $RPM_BUILD_ROOT  rm -rf %{buildroot}
110    
111  %files -f lynx.lang  %files -f lynx.lang
 %defattr(-,root,root)  
112  %doc README  %doc README
113  %config(noreplace,missingok) %{_sysconfdir}/lynx-site.cfg  %config(noreplace,missingok) %{_sysconfdir}/lynx-site.cfg
114  %config(noreplace) %{_sysconfdir}/lynx.cfg  %config(noreplace) %{_sysconfdir}/lynx.cfg
# Line 115  rm -rf $RPM_BUILD_ROOT Line 116  rm -rf $RPM_BUILD_ROOT
116  %{_mandir}/*/*  %{_mandir}/*/*
117  %{_bindir}/*  %{_bindir}/*
118  %{_datadir}/lynx_help  %{_datadir}/lynx_help
   
   
   
   

Legend:
Removed from v.323519  
changed lines
  Added in v.323520

  ViewVC Help
Powered by ViewVC 1.1.30