Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > 24ffe20a3f2f54d4c542776c72995e71 > files > 3

elinks-0.4-0.pre15.1mdk.src.rpm

Summary:	Lynx-like text WWW browser
Name:		elinks
Version:	0.4
Release:        0.pre15.1mdk
%define pre     pre15
License:	GPL
Group:		Networking/WWW

URL: http://elinks.pld.org.pl/
Source0: http://elinks.or.cz/download/elinks-0.4%{pre}.tar.bz2
Source1: elinks.conf

BuildRequires:	gpm-devel ncurses-devel
BuildRequires:	ncurses-devel => 5.0
Provides:	webclient links
BuildRoot:	%{_tmppath}/%{name}-%{version}-root

%description
ELinks 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
- HTTP authentification


%prep
%setup -q -n %{name}-%{version}%{pre}
gzip -9 ChangeLog

%build
%configure --enable-ui-colors --without-lua
%make

%post
update-alternatives --install /usr/bin/links links /usr/bin/elinks 5

%postun
if [ "$1" = "0" ]; then
  update-alternatives --remove links /usr/bin/elinks
fi

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/elinks/elinks.conf

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-,root,root)
%doc AUTHORS BUGS ChangeLog.gz README SITES TODO 
%dir /etc/elinks
%config(noreplace) /etc/elinks/elinks.conf
%{_bindir}/*
%{_mandir}/*/*


%changelog
* Thu Aug 29 2002 Pixel <pixel@mandrakesoft.com> 0.4-0.pre15.1mdk
- new release

* Sun Aug 11 2002 Pixel <pixel@mandrakesoft.com> 0.4-0.pre14.1mdk
- new release

* Wed Aug  7 2002 Pixel <pixel@mandrakesoft.com> 0.4-0.pre13.1mdk
- new release
- don't build with lua

* Wed Jul 10 2002 Pixel <pixel@mandrakesoft.com> 0.4-0.pre12.1mdk
- new release

* Sat Jul  6 2002 Pixel <pixel@mandrakesoft.com> 0.4-0.pre11.1mdk
- add "Provides: links"
- add alternative on /usr/bin/links
- new release

* Thu Jul  4 2002 Pixel <pixel@mandrakesoft.com> 0.4-0.pre10.2mdk
- add "HTTP authentification" in %%description 

* Thu Jul  4 2002 Pixel <pixel@mandrakesoft.com> 0.4-0.pre10.1mdk
- initial spec (based on links)