Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > d0eb13f1da988f8305c7dc3c389f05e8 > files > 12

links-0.97-0.pre3.4mdk.src.rpm

Summary:	Lynx-like text WWW browser
Name:		links
Version:	0.97
Release: 0.pre3.4mdk
%define ver %{version}pre3
License:	GPL
Group:		Networking/WWW

Source0:	http://artax.karlin.mff.cuni.cz/~mikulas/links/download/links-%{ver}.tar.bz2
Source1:	links-16.png
Source2:	links-32.png
Source3:	links-48.png
Source4:        links.cfg
Patch1:		links-0.92-defaultoptions.patch.bz2
Patch2:		links-0.96pre4-S-key-make-save.patch.bz2
Patch3:		links-0.96-no-weird-unhx-ing-of-command-line-args.patch.bz2
Patch4: links-0.96-cookie-parsing.patch.bz2
Patch6: cookies-save-0.96.patch.bz2
Patch7: links-0.96-no-domain-security.patch.bz2

URL:		http://artax.karlin.mff.cuni.cz/~mikulas/links/
BuildRequires:	gpm-devel ncurses-devel
BuildRequires:	ncurses-devel => 5.0
Provides:	webclient
BuildRoot:	%{_tmppath}/%{name}-%{version}-root

%description
Links is a text based WWW browser, at first look similar to Lynx, but
somehow different:

- renders tables and frames
- displays colors as specified in current HTML page
- uses drop-down menu (like in Midnight Commander)
- can download files in background

%prep
%setup  -q -n %{name}-%{ver}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch6 -p1
%patch7 -p1

%build
CFLAGS=-g
%configure
(cd Unicode ; LC_ALL=C ./gen )
%{make}

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall

install -D -m 644 %SOURCE4 %buildroot/etc/links.cfg

install -d %buildroot/%_menudir/
cat << EOF >$RPM_BUILD_ROOT%{_menudir}/%{name}
?package(%{name}):  \
 command="/usr/bin/links" \
  needs="text" \
  icon="links.png" \
  section="Networking/WWW" \
  title="Links" \
   longtitle="Lynx-like text WWW browser"
EOF

install -d %buildroot/%_liconsdir/
install -d %buildroot/%_miconsdir/
install -m 644 %SOURCE1 %buildroot/%_miconsdir/links.png
install -m 644 %SOURCE2 %buildroot/%_iconsdir/links.png
install -m 644 %SOURCE3 %buildroot/%_liconsdir/links.png

%clean
rm -rf $RPM_BUILD_ROOT

%post
%{update_menus}

%postun
%{clean_menus}

%files 
%defattr(-,root,root)
%doc AUTHORS BUGS ChangeLog README SITES TODO 
%config(noreplace) /etc/links.cfg
%{_bindir}/*
%{_mandir}/*/*
%{_menudir}/%{name}
#
%_miconsdir/*.png
%_iconsdir/*.png
%_liconsdir/*.png

%changelog
* Mon Mar 04 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.97-0.pre3.4mdk
- update translation, bug fixes

* Sun Mar  3 2002 Pixel <pixel@mandrakesoft.com> 0.97-0.pre1.4mdk
- links.cfg doesn't need to be executable (fix #5961)

* Sat Feb  2 2002 Pixel <pixel@mandrakesoft.com> 0.97-0.pre1.3mdk
- create /etc/links.cfg with default associations ("display" for images, "gv" for ps&pdf)

* Thu Jan 31 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.97-0.pre1.2mdk
- xpm -> png icons

* Tue Jan 29 2002 Pixel <pixel@mandrakesoft.com> 0.97-0.pre1.1mdk
- 0.97pre1

* Thu Oct 11 2001 Pixel <pixel@mandrakesoft.com> 0.96-6mdk
- bzip patches

* Thu Sep  6 2001 Pixel <pixel@mandrakesoft.com> 0.96-5mdk
- cookies patches
- fix cookie (from Len <lenbok at mailandnews dot com>)

* Thu Aug 30 2001 David BAUDENS <baudens@mandrakesoft.com> 0.96-4mdk
- Use new icons & add missing icons (mini and large)

* Mon Jul 23 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.96-3mdk
- fix description (renders frames too [for a long time])

* Mon Jul 23 2001 Pixel <pixel@mandrakesoft.com> 0.96-2mdk
- fix command-line args bad encoding

* Tue Jul 03 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.96-1mdk
- final release

* Mon Jun 25 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.96-0.pre8.1mdk
- new release

* Tue Jun 19 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.96-0.pre7.1mdk
- new version

* Tue Jun 19 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.96-0.pre4.2mdk
- Make S key save the current document (and not need to do esc down
  down down enter for this common option).

* Tue Jun 12 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.96-0.pre4.1mdk
- new pre-version

* Sat Jun  9 2001 Pixel <pixel@mandrakesoft.com> 0.96-0.pre2.1mdk
- new pre version

* Tue Mar 20 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.95-3mdk
- fix buildroot
- readd  the menu entry i added and pixel deleted

* Wed Feb 14 2001 Pablo Saratxaga <pablo@mandrakesoft.com> 0.95-2mdk
- added several new charsets (so now it can browse pages in any
  of the mdk supported charsets)

* Tue Jan  2 2001 Pixel <pixel@mandrakesoft.com> 0.95-1mdk
- new version

* Tue Jan  2 2001 Pixel <pixel@mandrakesoft.com> 0.94-1mdk
- new version

* Wed Dec 13 2000 Pixel <pixel@mandrakesoft.com> 0.94-0.9mdk.pre9
- new version

* Mon Dec 11 2000 Pixel <pixel@mandrakesoft.com> 0.94-0.8mdk.pre8
- new version

* Sun Dec  3 2000 Pixel <pixel@mandrakesoft.com> 0.94-0.7mdk.pre7
- new version
- remove the menu until icons are provided

* Thu Nov 23 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.94-0.6mdk.pre5
- add menu

* Sun Nov 19 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.94-0.5mdk.pre5
- make Q as fast quit without confirmation like lynx.

* Sun Nov 19 2000 Pixel <pixel@mandrakesoft.com> 0.94-0.4mdk.pre5
- new release

* Thu Nov  9 2000 Pixel <pixel@mandrakesoft.com> 0.94-0.3mdk.pre4
- new release

* Tue Oct 24 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.94-0.1mdk.pre1
- new release
- minor spec cleaning

* Tue Oct 17 2000 Pixel <pixel@mandrakesoft.com> 0.93-0.2mdk.pre4
- new release

* Tue Oct 10 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.93-0.1mdk
- new release

* Mon Oct  2 2000 Pixel <pixel@mandrakesoft.com> 0.92-8mdk
- fix mispelling

* Tue Aug 29 2000 Pixel <pixel@mandrakesoft.com> 0.92-6mdk
- add-M-key-to the README

* Wed Aug  9 2000 Pixel <pixel@mandrakesoft.com> 0.92-5mdk
- have colors by default

* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.92-4mdk
- automatically added BuildRequires

* Fri Jul 21 2000 Pixel <pixel@mandrakesoft.com> 0.92-3mdk
- cleanup, BM

* Mon Jul 03 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 0.92-2mdk
- added support for a lot of new charset encodings (Thai, Vietnamese,
  Esperanto, Hebrew, Arabic, Farsi, Armenian, Greek, Turkish & Celtic)

* Sun Jul  2 2000 Pixel <pixel@mandrakesoft.com> 0.92-1mdk
- new version

* Fri Mar 24 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 0.84-1mdk
- frist mandrake version (adapted from PLD Team rpm package)