X-Git-Url: https://git.pld-linux.org/?p=packages%2Flynx.git;a=blobdiff_plain;f=lynx.spec;h=b0a72f0f52e9b3305a2cd87429a048f3970d166b;hp=0088507fd4379ad1b343826f8f13f8825ad60841;hb=HEAD;hpb=e200039d4e9f70042566affb50fbcdc44be6542c diff --git a/lynx.spec b/lynx.spec index 0088507..b0a72f0 100644 --- a/lynx.spec +++ b/lynx.spec @@ -1,112 +1,129 @@ +# +# TODO: merge patches (some change the same files in the same places) +# Summary: Text based browser for the world wide web -Summary(de): Text-Browser für das WWW -Summary(es): Navegador web modo texto -Summary(fr): Navigateur en mode texte pour le world wide web -Summary(ja): ¥Æ¥­¥¹¥È¥Ù¡¼¥¹¤Î¥¦¥§¥Ö¥Ö¥é¥¦¥¶ -Summary(pl): Przegl±darka WWW pracuj±ca w trybie tekstowym -Summary(pt_BR): Navegador web modo texto -Summary(tr): Metin ekranda WWW tarayýcý +Summary(de.UTF-8): Text-Browser für das WWW +Summary(es.UTF-8): Navegador web modo texto +Summary(fr.UTF-8): Navigateur en mode texte pour le world wide web +Summary(ja.UTF-8): テキストベースのウェブブラウザ +Summary(pl.UTF-8): Przeglądarka WWW pracująca w trybie tekstowym +Summary(pt_BR.UTF-8): Navegador web modo texto +Summary(tr.UTF-8): Metin ekranda WWW tarayıcı Name: lynx -Version: 2.8.5dev.3 -Release: 4 -License: GPL +Version: 2.8.9rel.1 +Release: 3 +License: GPL v2 Group: Applications/Networking -Source0: http://lynx.isc.org/current/%{name}%{version}.tar.bz2 +Source0: https://invisible-mirror.net/archives/lynx/tarballs/%{name}%{version}.tar.bz2 +# Source0-md5: 44316f1b8a857b59099927edc26bef79 Source1: %{name}.desktop Source2: %{name}.png -Source3: %{name}-non-english-man-pages.tar.bz2 +Source3: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 +# Source3-md5: b5e02f86a8ee7bce4d8b97e4b6491714 Patch0: %{name}-pld.patch Patch1: %{name}.cfg.patch Patch2: %{name}-po_DESTDIR.patch Patch3: %{name}-config.hin.patch -Patch4: %{name}-autoconf.patch + Patch5: %{name}-config.patch -Patch6: %{name}-acfix.patch + Patch7: %{name}-gzip_fallback.patch -Patch8: %{name}-ac25x.patch +Patch8: %{name}-etc_dir.patch URL: http://lynx.browser.org/ -BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -BuildRequires: zlib-devel -BuildRequires: slang-devel -BuildRequires: gettext-devel -BuildRequires: autoconf -BuildRequires: openssl-devel >= 0.9.6b +BuildRequires: autoconf-dickey >= 2.13 +BuildRequires: automake +BuildRequires: bzip2-devel +BuildRequires: gettext-tools +BuildRequires: libidn-devel +BuildRequires: ncurses-devel +BuildRequires: openssl-devel >= 0.9.7d +BuildRequires: pkgconfig +BuildRequires: sed >= 4.0 #BuildRequires: socks5-devel +BuildRequires: zlib-devel Provides: webclient Obsoletes: lynx-ssl +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define specflags_ia32 -fomit-frame-pointer %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 de -Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch +%description -l de.UTF-8 +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. +Support für HTML-Textformatierung, Formulare und Tabellen. -%description -l es +%description -l es.UTF-8 Este es un browser WWW para terminal en modo texto. Mientras no hace -ningún intento de enseñar gráficos, posee un buen soporte para el +ningún intento de enseñar gráficos, posee un buen soporte para el formato de texto HTML, formularios y tablas. -%description -l fr +%description -l fr.UTF-8 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 +sait bien gérer le formatage HTML du texte, les formulaires et les tableaux. -%description -l ja -lynx ¤Ï¥Æ¥­¥¹¥È¥Ù¡¼¥¹¤Î¥¦¥§¥Ö¥Ö¥é¥¦¥¶¤Ç¤¢¤ë¡£lynx ¤Ï²¿¤Î¥¤¥á¡¼¥¸¤â -ɽ¼¨¤·¤Ê¤¤¤¬¥Õ¥ì¡¼¥à¡¢¥Æ¡¼¥Ö¥ë¤½¤·¤Æ¾¤Î HTML ¥¿¥°¤ò¥µ¥Ý¡¼¥È¤¹¤ë¡£ -¥°¥é¥Õ¥£¥«¥ë¤Ê¥Ö¥é¥¦¥¶¤ËÂФ¹¤ë lynx ¤Î¥¢¥É¥Ð¥ó¥Æ¡¼¥¸¤Ï¥¹¥Ô¡¼¥É¤Ç¤¢¤ë¡£ -lynx ¤Ï¥¦¥§¥Ö¥Ú¡¼¥¸¤òɽ¼¨¤¹¤ë¤Î¤Ë¤¹¤Ð¤ä¤¯Â¨ºÂ¤Ë³«»Ï¤·¤¿¤ê½ªÎ»¤·¤¿¤ê¤¹¤ë¡£ +%description -l ja.UTF-8 +lynx はテキストベースのウェブブラウザである。lynx は何のイメージも +表示しないがフレーム、テーブルそして他の HTML タグをサポートする。 +グラフィカルなブラウザに対する lynx のアドバンテージはスピードである。 +lynx はウェブページを表示するのにすばやく即座に開始したり終了したりする。 -¤³¤Î®¤¤¡¢¥°¥é¥Õ¥£¥«¥ë¤Ç¤Ê¤¤¥Ö¥é¥¦¥¶¤ò»î¤·¤¿¤±¤ì¤Ð¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤µ¤¤¡£ -(¤½¤ÎĹ½ê¤Î¤è¤µ¤¬¤ï¤«¤ë¤Ç¤¢¤í¤¦) +この速い、グラフィカルでないブラウザを試したければインストールしなさい。 +(その長所のよさがわかるであろう) -%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 pl.UTF-8 +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 pt_BR -Este é um browser WWW para terminal em modo texto. Enquanto ele não -faz nenhuma tentativa para mostrar gráficos, possui um bom suporte -para o formato de texto HTML, formulários e tabelas. +%description -l pt_BR.UTF-8 +Este é um browser WWW para terminal em modo texto. Enquanto ele não +faz nenhuma tentativa para mostrar gráficos, possui um bom suporte +para o formato de texto HTML, formulários e tabelas. -%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. +%description -l tr.UTF-8 +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-5 +%setup -q -n %{name}%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 -%patch4 -p1 + %patch5 -p1 -%patch6 -p1 + %patch7 -p1 %patch8 -p1 %build -%{__autoconf} +cp /usr/share/automake/config.sub . +autoconf-dickey %configure \ - --with-screen=slang \ + --with-screen=ncursesw \ --without-included-gettext \ + --with-bzlib \ --with-zlib \ --with-ssl \ + --enable-justify-elts \ + --enable-nested-tables \ + --enable-read-eta \ --enable-kbd-layout \ --enable-addrlist-page \ --enable-cgi-links \ --enable-default-colors \ + --enable-file-upload \ --enable-exec-links \ --enable-exec-scripts \ --enable-externs \ --enable-gzip-help \ --enable-internal-links \ --enable-ipv6 \ - --enable-libjs \ --enable-nls \ --enable-nsl-fork \ --enable-persistent-cookies \ @@ -120,13 +137,13 @@ formlar ve tablolar i %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/WWW,%{_pixmapsdir}} \ +install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \ $RPM_BUILD_ROOT%{_datadir}/lynx/help %{__make} install install-help \ DESTDIR=$RPM_BUILD_ROOT -install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW +install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} @@ -138,13 +155,14 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) -%doc C[HO]* PROBLEMS README samples test docs/README* -%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/lynx.cfg -%attr(755,root,root) %{_bindir}/* +%doc CHANGES COPYHEADER PROBLEMS README samples test docs/README* +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lynx.cfg +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lynx.lss +%attr(755,root,root) %{_bindir}/lynx %{_datadir}/lynx -%{_applnkdir}/Network/WWW/lynx.desktop -%{_pixmapsdir}/* -%{_mandir}/man1/* -%lang(cs) %{_mandir}/cs/man1/* -%lang(fi) %{_mandir}/fi/man1/* -%lang(pl) %{_mandir}/pl/man1/* +%{_desktopdir}/lynx.desktop +%{_pixmapsdir}/lynx.png +%{_mandir}/man1/lynx.1* +%lang(cs) %{_mandir}/cs/man1/lynx.1* +%lang(fi) %{_mandir}/fi/man1/lynx.1* +%lang(pl) %{_mandir}/pl/man1/lynx.1*