]> git.pld-linux.org Git - packages/lynx.git/blobdiff - lynx.spec
- 2.8.3dev.16
[packages/lynx.git] / lynx.spec
index 2221d6ab214855e20b38adf71763c13398a716c7..124e6ef41343d960cd96733849aba2fd08cda0b4 100644 (file)
--- a/lynx.spec
+++ b/lynx.spec
@@ -4,28 +4,31 @@ 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
 Summary(pl):   Przegl±darka WWW pracuj±ca w trybie tekstowym
 Summary(tr):   Metin ekranda WWW tarayýcý
 Name:          lynx
-Version:       2.8.2dev.15
-Release:       2d
+Version:       2.8.3dev.16
+Release:       1
 Copyright:     GPL
 Copyright:     GPL
-URL:           http://lynx.browser.org
-Group:         Networking
-Group(pl):     Sieciowe
-Source0:       ftp://www.slcc.edu/pub/lynx/current/%{name}%{version}.tar.bz2
-Source1:       %{name}.wmconfig
-Patch0:                %{name}-pld.patch
-Patch1:                %{name}-overflow.patch
-Patch2:                %{name}-config.patch
-Buildroot:     /tmp/%{name}-%{version}-root
+Group:         Applications/Networking
+Group(pl):     Aplikacje/Sieciowe
+Source0:       http://sol.slcc.edu/lynx/current/%{name}%{version}.tar.bz2
+Source1:       lynx.desktop
+Patch0:                lynx-pld.patch
+Patch1:                lynx-overflow.patch
+Patch2:                lynx-config.patch
+Patch3:                lynx.cfg.patch
+Patch4:                lynx-helpdir.patch
+Patch5:                lynx-DESTDIR.patch
+URL:           http://lynx.browser.org/
+BuildRequires: zlib-devel
+BuildRequires: ncurses-devel >= 5.0
+BuildRoot:     /tmp/%{name}-%{version}-root
+
+%define                _libdir         %{_datadir}/lynx
 
 %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
 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 
 %description -l de
 Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch 
 unternommen wird, Grafiken darzustellen, so bietet er doch guten 
@@ -35,102 +38,87 @@ Support f
 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.
 
 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 dzia³aj±c± w trybie tekstowym. Dobrze
+formatuje tekst w HTML, ale nie pozwala na wy¶wietlanie grafiki.
+
 %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.
 
 %prep
 %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.
 
 %prep
-%setup  -q -n %{name}2-8-2
+%setup  -q -n %{name}2-8-3
 %patch0 -p1 
 %patch1 -p1
 %patch2 -p1
 %patch0 -p1 
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 
 %build
 
 %build
-CFLAGS="-w" LDFLAGS=-s \
-    ./configure \
-       --prefix=/usr \
-       --libdir=/etc \
-       --with-screen=slang \
+CFLAGS="-w"; export CFLAGS
+LDFLAGS="-s"; export LDFLAGS
+%configure \
+       --with-screen=ncurses \
+       --enable-nls \
+       --without-included-gettext \
+       --enable-charset-choice \
+       --enable-cjk        \
+       --enable-default-colors \
+       --enable-file-upload \
+       --enable-justify-elts \
+       --enable-kbd-layout \
+       --enable-read-eta \
+       --enable-scrollbar \
        --enable-warnings \
        --enable-default-colors \
        --enable-externs \
        --enable-internal-links \
        --enable-nsl-fork \
        --enable-persistent-cookies \
        --enable-warnings \
        --enable-default-colors \
        --enable-externs \
        --enable-internal-links \
        --enable-nsl-fork \
        --enable-persistent-cookies \
-       --with-zlib 
+       --enable-gzip-help \
+       --enable-libjs \
+       --enable-addrlist-page \
+       --enable-prettysrc \
+       --enable-source-cache \
+       --enable-color-style \
+       --enable-cgi-links \
+       --enable-exec-links \
+       --enable-exec-scripts \
+       --disable-cjk \
+       --with-zlib \
+       --without-socks \
+       --without-socks5 \
+       --without-ssl
+
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Networking/WWW
+#      $RPM_BUILD_ROOT%{_datadir}/lynx/help/keystrokes 
 
 
-install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
-
-make install prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/etc
+make install install-help\
+       DESTDIR=$RPM_BUILD_ROOT \
+       helpdir=%{_libdir}/help
 
 
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/lynx
+install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Networking/WWW/lynx.desktop
 
 
-strip $RPM_BUILD_ROOT/usr/bin/lynx
+gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/* \
+       C[HO]* PROBLEMS README samples/* test/* docs/README*
 
 
-gzip -9fn $RPM_BUILD_ROOT/usr/man/man1/*
-bzip2 -9 docs/* README lynx.hlp 
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %defattr(644,root,root,755)
-%doc docs/* README.bz2 
-%doc test lynx.hlp.bz2 lynx_help
-
-%config %verify(not size mtime md5) /etc/lynx.cfg
-%config(missingok) /etc/X11/wmconfig/lynx
-
-%attr(755,root,root) /usr/bin/*
-%attr(644,root, man) /usr/man/man1/*
-
-%changelog
-* Fri Feb 05 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [2.8.2dev15-2d]
-- changed group,
-- compressed documentation.
-
-* Sun Jan 10 1999 Artur Frysiak <wiget@usa.net>
-  [2.8.2dev.12-1d]
-- added URL and Group(pl) tags
-
-* Mon Sep 01 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [2.8-5d]
-- build against glibc-2.1,
-- changed Buildroot to /var/tmp/%%{name}-%%{version}-%%{release}-root,
-- changed permission of lynx to 711,
-- translation modified for pl.
-
-* Sun Aug 30 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [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 %attr and %defattr macros in %files (allow build package from
-  non-root account).
-
-* Fri May 08 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Mon May 04 1998 Cristian Gafton <gafton@redhat.com>
-- upgraded to 2.8rel3
-- fixed mailto: buffer overflow (used Alan's patch)
-
-* Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com>
-- updated to 2.8
-- added buildroot
-
-* Tue Jan 13 1998 Erik Troan <ewt@redhat.com>
-- updated to 2.7.2
-- enabled lynxcgi
-
-* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
-- 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
+%doc C[HO]* PROBLEMS.gz README.gz samples test docs/README*
+
+/usr/X11R6/share/applnk/Networking/WWW/lynx.desktop
+
+%attr(755,root,root) %{_bindir}/*
+
+%{_mandir}/man1/*
+%{_datadir}/lynx
This page took 0.027927 seconds and 4 git commands to generate.