File links.spec of Package links

#
# spec file for package links (Version 2.1pre30)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           links
BuildRequires:  DirectFB-devel jpeg libjpeg-devel libpng-devel openssl-devel pkgconfig xorg-x11-devel
Url:            http://artax.karlin.mff.cuni.cz/~mikulas/links/
License:        GPL v2 or later
Group:          Productivity/Networking/Web/Browsers
Provides:       web_browser
AutoReqProv:    on
Version:        2.1pre30
Release:        86
Summary:        Text-Based WWW Browser
Source:         links-%{version}.tar.bz2
Source1:        jscript.tar.bz2
Patch2:         configure.diff
Patch3:         jscript.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Links is like Lynx--an easy-to-use browser for HTML documents and other
Internet services, like FTP, telnet, and news. Links provides a
graphical interface besides the text interface. It has good support for
frames, supports ssl, and has a little bit of JavaScript support.



Authors:
--------
    Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>

%prep
%setup -q -n links-%{version} -a 1
%patch2
%patch3

%build
autoreconf -ifv
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -pipe"
%configure \
    --with-fb --with-ssl --enable-javascript \
	--with-x --enable-graphics --with-pic
make

%install
mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man1,usr/bin,%{_infodir}} 
cp links.1 $RPM_BUILD_ROOT/%{_mandir}/man1
make install DESTDIR=$RPM_BUILD_ROOT
make clean
make EXTRAA="-DSHOW_COLOR=TRUE"
install links $RPM_BUILD_ROOT/usr/bin/links

%files
%defattr(-,root,root)
%doc README
/usr/bin/links
%doc %{_mandir}/man1/links.1.gz

%changelog
* Mon Jun 02 2008 crrodriguez@suse.de
- needs fno-strict-aliasing
* Wed Aug 22 2007 bg@suse.de
- update to version 2.1pre30
  o Fixed security bug: special characters in URL could be passed to a
  shell when spawning user viewer
* Fri Aug 10 2007 bg@suse.de
- update to version 2.1pre29
  o several fixes
  o updates of translations
  o http://user:password@host/ possible now
  o Allowed download of files larger than 2G
  o Accept urls http://host.domain#position
  o Removed SDL support
  o readded javascript needed for blinux (was removed in this version)
* Fri Feb 09 2007 ro@suse.de
- fix build as non-root
* Fri Nov 17 2006 bg@suse.de
- disable smb protocol in url.c. Fix Bug #221645.
* Tue Oct 17 2006 ro@suse.de
- use DirectFB-devel in BuildRequires
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 20 2006 schwab@suse.de
- Don't strip binaries.
* Thu Sep 22 2005 bg@suse.de
- update to version 2.1pre18
- fixing compiler warnings
* Mon Feb 28 2005 bg@suse.de
- update to version 2.1pre17
* Fri Feb 04 2005 bg@suse.de
- update to version 2.1pre16
- fixed compiler warnings
* Thu Jul 29 2004 bg@suse.de
- update to version 2.1pre15
* Tue Feb 03 2004 bg@suse.de
- fixed compiler warnings
* Fri Jan 09 2004 bg@suse.de
- update to version 2.1pre14
- enabled framebuffer
* Mon Jun 02 2003 bg@suse.de
- update to version 2.1pre11
- broken cookies (www.sueddeutsche.de) don't crash links anymore
- navigation with keyborad arrows now works in graphical mode as
  well.
* Wed Feb 12 2003 bg@suse.de
- update to version 2.1pre7
* Wed Sep 18 2002 ro@suse.de
- removed bogus self-provides
* Tue Aug 06 2002 bg@suse.de
- update to version 2.1pre2
- added graphics support
* Mon Sep 03 2001 bg@suse.de
- update to version 0.96
- SSL connections are now possible
- lots of translation updates
* Thu Aug 24 2000 bg@suse.de
- new Version 0.92
- added patch for dummy java-script
- added patch for saving cookies
- added BuildRoot
* Tue May 30 2000 bg@suse.de
- initial release
openSUSE Build Service is sponsored by