|
%define version 2.2 |
|
|
%define rel 12 |
|
|
|
|
1 |
Summary: Lynx-like text WWW browser |
Summary: Lynx-like text WWW browser |
2 |
Name: links |
Name: links |
3 |
Version: %{version} |
Version: 2.3 |
4 |
Release: %mkrel %rel |
Release: %mkrel 1 |
5 |
License: GPLv2+ |
License: GPLv2+ |
6 |
Group: Networking/WWW |
Group: Networking/WWW |
7 |
|
|
8 |
Source0: http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/%name-%version.tar.bz2 |
Source0: http://links.twibright.com/download/links-%{version}.tar.bz2 |
9 |
Source4: links.cfg |
Source4: links.cfg |
10 |
Patch0: links-2.3_pre1-libpng-1.5.patch |
Patch1: links-2.3-no-flashy-white.patch |
11 |
Patch1: links-2.1pre18-no-flashy-white.patch |
Patch3: links-0.96-no-weird-unhx-ing-of-command-line-args.patch |
12 |
Patch3: links-0.96-no-weird-unhx-ing-of-command-line-args.patch |
Patch6: cookies-save-0.96.patch |
13 |
Patch6: cookies-save-0.96.patch |
Patch7: links-0.96-no-domain-security.patch |
14 |
Patch7: links-0.96-no-domain-security.patch |
Patch8: links-current-color-by-default--and-vt100-frames.patch |
15 |
Patch8: links-current-color-by-default--and-vt100-frames.patch |
Patch10: links-2.2-be-graphic-when-called-_links-graphic_.patch |
16 |
Patch10: links-2.2-be-graphic-when-called-_links-graphic_.patch |
Patch11: links-2.2-convert-old-bookmarks-in-new-format.patch |
17 |
Patch11: links-2.2-convert-old-bookmarks-in-new-format.patch |
Patch12: links-2.1pre31-gz.patch |
18 |
Patch12: links-2.1pre31-gz.patch |
Patch14: links-2.1pre17-automake.patch |
19 |
Patch14: links-2.1pre17-automake.patch |
Patch21: links-2.1pre17-fix-segfault-on-loading-cookies.patch |
20 |
Patch21: links-2.1pre17-fix-segfault-on-loading-cookies.patch |
Patch22: links-2.1pre2-64bit-fixes.patch |
21 |
Patch22: links-2.1pre2-64bit-fixes.patch |
Patch23: links-2.1pre31-dont-have-two-assocations-with-same-label--otherwise-one-cant-override-shared-config.patch |
22 |
Patch23: links-2.1pre31-dont-have-two-assocations-with-same-label--otherwise-one-cant-override-shared-config.patch |
Patch24: links-2.1pre18-CVE-2006-5925--disable-SMB.patch |
|
Patch24: links-2.1pre18-CVE-2006-5925--disable-SMB.patch |
|
|
|
|
23 |
URL: http://links.twibright.com/ |
URL: http://links.twibright.com/ |
24 |
BuildRequires: libx11-devel |
BuildRequires: libx11-devel |
25 |
BuildRequires: libpng-devel |
BuildRequires: libpng-devel |
72 |
|
|
73 |
%prep |
%prep |
74 |
%setup -q -n %name-%version |
%setup -q -n %name-%version |
|
%patch0 -p0 |
|
75 |
%patch1 -p1 |
%patch1 -p1 |
76 |
%patch3 -p1 |
%patch3 -p1 |
77 |
%patch6 -p1 |
%patch6 -p1 |
78 |
%patch7 -p1 |
#patch7 -p1 |
79 |
%patch8 -p1 |
#patch8 -p1 |
80 |
%patch10 -p1 -b .be-graphic-when-called-_links-graphic_ |
%patch10 -p1 -b .be-graphic-when-called-_links-graphic_ |
81 |
%patch11 -p1 -b .convert-old-bookmarks-in-new-format |
%patch11 -p1 -b .convert-old-bookmarks-in-new-format |
82 |
%patch12 -p1 -b .gzip |
%patch12 -p1 -b .gzip |
83 |
%patch14 -p1 -b .automake18 |
#patch14 -p1 -b .automake18 |
84 |
%patch21 -p1 |
%patch21 -p1 |
85 |
%patch22 -p1 -b .64bit-fixes |
%patch22 -p1 -b .64bit-fixes |
86 |
%patch23 -p1 |
%patch23 -p1 |
87 |
%patch24 -p1 |
#patch24 -p1 |
88 |
|
|
89 |
%build |
%build |
90 |
autoreconf -fi |
autoreconf -fi |
91 |
%configure2_5x |
%configure2_5x |
|
(cd Unicode ; LC_ALL=C ./gen ) |
|
92 |
%make |
%make |
93 |
|
|
94 |
cp -f links links-text |
cp -f links links-text |
95 |
|
|
|
# Needed to fix linkage problem |
|
|
#rm -f bfu.o dip.o lru.o x.o framebuffer.o terminal.o kbd.o links_icon.o |
|
96 |
make clean |
make clean |
97 |
%configure2_5x --enable-graphics |
%configure2_5x --enable-graphics |
98 |
%make |
%make |
121 |
Categories=Network;WebBrowser; |
Categories=Network;WebBrowser; |
122 |
EOF |
EOF |
123 |
|
|
|
|
|
124 |
%clean |
%clean |
125 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
126 |
|
|
164 |
%doc AUTHORS BUGS ChangeLog README SITES TODO |
%doc AUTHORS BUGS ChangeLog README SITES TODO |
165 |
%config(noreplace) /etc/links.cfg |
%config(noreplace) /etc/links.cfg |
166 |
%{_mandir}/*/* |
%{_mandir}/*/* |
|
|
|
|
|
|
|
|
|
|
|
|