X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=lynx.spec;h=d78ec0f487db73fcb943efeca99c47fc4454b438;hb=105c352ab6f69d04910e989b37a9fc1a6b8089b3;hp=e2a10af40bd52bc3b8966d7791f3dc6fc19b13a7;hpb=8e4eb04bfaf92e99e50f77c1ef8b3ec6eed013a5;p=packages%2Flynx.git diff --git a/lynx.spec b/lynx.spec index e2a10af..d78ec0f 100644 --- a/lynx.spec +++ b/lynx.spec @@ -1,102 +1,112 @@ -Summary: Text based browser for the world wide web -Summary(de): Text-Browser für das WWW -Summary(fr): Navigateur en mode texte pour le world wide web -Summary(pl): Przegl±darka WWW w trybie tekstowym -Summary(tr): Metin ekranda WWW tarayýcý -Name: lynx -Version: 2.8 -Release: 5 -Copyright: GPL -Group: Applications/Networking -Source0: ftp://www.slcc.edu/pub/lynx/fote/lynx2.8rel.3.tar.gz -Source1: lynx.wmconfig -Patch0: lynx-2.8-redhat.patch -Patch1: lynx2-8-overflow.patch -Requires: indexhtml -Buildroot: /tmp/%{name}-%{version}-root +Summary: Text based browser for the world wide web +Summary(de): Text-Browser für das WWW +Summary(fr): Navigateur en mode texte pour le world wide web +Summary(pl): Przegl±darka WWW pracuj±ca w trybie tekstowym +Summary(tr): Metin ekranda WWW tarayýcý +Name: lynx +Version: 2.8.4dev.3 +Release: 1 +License: GPL +URL: http://lynx.browser.org +Group: Applications/Networking +Group(pl): Aplikacje/Sieciowe +Source0: http://lynx.isc.org/current/%{name}%{version}.tar.bz2 +Source1: lynx.wmconfig +Patch0: lynx-pld.patch +Patch1: lynx-config.patch +Patch2: lynx.cfg.patch +Patch3: http://www.moxienet.com/lynx/lynx-283-ssl.patch.bz2 +Patch4: lynx-overflow.patch +Patch5: lynx-po_DESTDIR.patch +BuildRequires: zlib-devel +BuildRequires: slang-devel +# BuildRequires: socks5-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This a terminal based WWW browser. While it does not make any attempt at displaying graphics, it has good support for HTML text formatting, forms, and tables. +%description -l pl +Lynx jest przegl±dark± WWW dzia³aj±c± w trybie tekstowym. Dobrze +formatuje tekst w HTML, ale nie pozwala na wy¶wietlanie grafiki. + %description -l de -Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch -unternommen wird, Grafiken darzustellen, so bietet er doch guten -Support für HTML-Textformatierung, Formulare und Tabellen. +Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch +unternommen wird, Grafiken darzustellen, so bietet er doch guten +Support für HTML-Textformatierung, Formulare und Tabellen. %description -l fr Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il -sait bien gérer le formatage HTML du texte, les formulaires et les tableaux. - -%description -l pl -Lynx jest przegl±dark± WWW w trybie tekstowym. Dobrze formatuje HTML -w³±cznie z formami i tabelami ale nie pozwala na wy¶wietlanie grafiki. +sait bien gérer le formatage HTML du texte, les formulaires et les +tableaux. %description -l tr -Metin ekranda çalýþan bir WWW tarayýcýdýr. Þekil gösteremese de, formlar ve -tablolar için desteði vardýr. +Metin ekranda çalýþan bir WWW tarayýcýdýr. Þekil gösteremese de, +formlar ve tablolar için desteði vardýr. %prep -%setup -q -n lynx2-8 -%patch0 -p1 -b .redhat -%patch1 -p1 -b .overflow +%setup -q -n %{name}2-8-4 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 %build -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=/etc \ - --with-screen=slang --enable-warnings \ - --enable-default-colors --enable-externs \ - --enable-internal-links --enable-nsl-fork --with-zlib -make +LDFLAGS="-s"; export LDFLAGS +%configure \ + --with-screen=slang \ + --without-included-gettext \ + --with-zlib \ + --with-ssl \ + --enable-addrlist-page \ + --enable-cgi-links \ + --enable-default-colors \ + --enable-exec-links \ + --enable-exec-scripts \ + --enable-externs \ + --enable-gzip-help \ + --enable-internal-links \ + --enable-libjs \ + --enable-nls \ + --enable-nsl-fork \ + --enable-persistent-cookies \ + --enable-prettysrc \ + --enable-source-cache \ + --enable-warnings +# --with-socks5=%{_prefix} \ +# --enable-color-style \ + +make SSL_LIBS= "-lssl -lsslcrypto " \ + SSL_DEFINES= "-I%{_includedir}/ssl -DUSE_SSL" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/etc/X11/wmconfig -make install prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/etc -install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/lynx +install -d $RPM_BUILD_ROOT%{_sysconfdir}/X11/wmconfig \ + $RPM_BUILD_ROOT%{_datadir}/lynx/help/keystrokes + +make install install-help \ + DESTDIR=$RPM_BUILD_ROOT -sed -e "s/HELPFILE:http:\/\/www.crl.com\/\~subir\/lynx\/lynx_help\/lynx_help_main.html/HELPFILE\:file:\/\/localhost\/\/usr\/doc\/%{name}-%{version}\/lynx_help\/lynx_help_main.html/" \ - lynx.cfg > $RPM_BUILD_ROOT/etc/lynx.cfg +install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/wmconfig/lynx + +gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \ + C[HO]* PROBLEMS README samples/* test/* docs/README* %clean rm -rf $RPM_BUILD_ROOT %files -%defattr(644, root, root, 755) -%doc docs README samples test lynx.hlp lynx_help -%config /etc/lynx.cfg -%config(missingok) /etc/X11/wmconfig/lynx -%attr(755, root, root) /usr/bin/* -%attr(755, root, man) /usr/man/man1/* - -%changelog -* Sun Aug 30 1998 Tomasz K³oczko - [2.8-5] -- added -q %setup parameter, -- changed Buildroot to /tmp/%%{name}-%%{version}-root, -- URL in HELPFILE in /etc/lynx.cfh changed to localhost, -- removed INSTALLATION from %doc, -- added pl translation (Wojtek ¦lusarczyk ), -- added %attr and %defattr macros in %files (allow build package from - non-root account). - -* Fri May 08 1998 Prospector System -- translations modified for de, fr, tr - -* Mon May 04 1998 Cristian Gafton -- upgraded to 2.8rel3 -- fixed mailto: buffer overflow (used Alan's patch) - -* Fri Mar 20 1998 Cristian Gafton -- updated to 2.8 -- added buildroot - -* Tue Jan 13 1998 Erik Troan -- updated to 2.7.2 -- enabled lynxcgi - -* Thu Oct 23 1997 Donnie Barnes -- updated from 2.6 to 2.7.1 -- moved /usr/lib/lynx.cfg to /etc/lynx.cfg -- build with slang instead of ncurses -- made default startup file be file:/usr/doc/HTML/index.html +%defattr(644,root,root,755) +%doc C[HO]* PROBLEMS.gz README.gz samples test docs/README* + +%config %verify(not size mtime md5) %{_libdir}/lynx.cfg +%config(missingok) %{_sysconfdir}/X11/wmconfig/lynx + +%attr(755,root,root) %{_bindir}/* + +%{_mandir}/man1/* +%{_datadir}/lynx