]> git.pld-linux.org Git - packages/lynx.git/blobdiff - lynx.spec
- added home_etc.patch
[packages/lynx.git] / lynx.spec
index 55a7321afb67b2c16340dd53ef48bb7deb431396..5e772e1217b98aded0bd446ff0d4277a522b1c68 100644 (file)
--- a/lynx.spec
+++ b/lynx.spec
@@ -1,29 +1,38 @@
 Summary:       Text based browser for the world wide web
-Summary(de):   Text-Browser für das WWW 
+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ý
 Name:          lynx
-Version:       2.8.4dev.14
-Release:       1
+Version:       2.8.5dev.12
+Release:       2
 License:       GPL
 Group:         Applications/Networking
-Group(pl):     Aplikacje/Sieciowe
 Source0:       http://lynx.isc.org/current/%{name}%{version}.tar.bz2
 Source1:       %{name}.desktop
+Source2:       %{name}.png
+Source3:       %{name}-non-english-man-pages.tar.bz2
 Patch0:                %{name}-pld.patch
-Patch1:                %{name}-config.patch
-Patch2:                %{name}.cfg.patch
-Patch3:                http://www.moxienet.com/lynx/%{name}-283-ssl.patch.bz2
-Patch4:                %{name}-po_DESTDIR.patch
-Patch5:                %{name}-config.hin.patch
-Patch6:                %{name}-autoconf.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}-home_etc.patch
 URL:           http://lynx.browser.org/
-BuildRequires: zlib-devel
-BuildRequires: slang-devel
+BuildRequires: autoconf
 BuildRequires: gettext-devel
-# BuildRequires:       socks5-devel
+BuildRequires: openssl-devel >= 0.9.7
+BuildRequires: slang-devel
+#BuildRequires:        socks5-devel
+BuildRequires: zlib-devel
 Provides:      webclient
+Obsoletes:     lynx-ssl
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,38 +40,57 @@ 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.
 
+%description -l es
+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
+formato de texto HTML, formularios y tablas.
+
 %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 ja
+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 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 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-4
-%patch0 -p1 
+%setup  -q -n %{name}2-8-5
+%patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
+%patch8 -p1
 
 %build
-autoconf
-LDFLAGS="-lcrypto -lssl %{!?debug:-s}"
-CFLAGS="-I/usr/include/openssl -DUSE_SSL %{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
+%{__autoconf}
 %configure \
        --with-screen=slang \
        --without-included-gettext \
@@ -84,36 +112,39 @@ CFLAGS="-I/usr/include/openssl -DUSE_SSL %{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g
        --enable-persistent-cookies \
        --enable-prettysrc \
        --enable-source-cache \
-       --enable-warnings 
+       --enable-warnings
 #      --with-socks5=%{_prefix} \
 #      --enable-color-style \
 
-%{__make} SSL_LIBS="-lssl -lcrypto" \
-       SSL_DEFINES="-I%{_includedir}/openssl -DUSE_SSL"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW \
-       $RPM_BUILD_ROOT%{_datadir}/lynx/help/keystrokes
+install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/WWW,%{_pixmapsdir}} \
+       $RPM_BUILD_ROOT%{_datadir}/lynx/help
 
 %{__make} install install-help \
        DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+
+bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
-gzip -9nf C[HO]* PROBLEMS README samples/* test/* docs/README*
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %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
-%{_applnkdir}/Network/WWW/lynx.desktop
-
+%doc CHANGES COPYHEADER PROBLEMS README samples test docs/README*
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/lynx.cfg
 %attr(755,root,root) %{_bindir}/*
-
-%{_mandir}/man1/*
 %{_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/*
This page took 0.072859 seconds and 4 git commands to generate.