auto-import changelog data from lynx-2.8.4-9.src.rpm
Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment Thu Jan 04 2001 Nalin Dahyabhai <nalin@redhat.com> - Fix up more of the i18ncfg patch Wed Jan 03 2001 Bernhard Rosenkraenzer <bero@redhat.com> - 2.8.4dev16 - Fix up the i18ncfg patch - segfaulting on startup is not exactly a nice feature. - Mark locale related files as such - Mark /etc/lynx.cfg.ja as %lang(ja) - Add BuildRequires Thu Dec 21 2000 Yukihiro Nakai <ynakai@redhat.com> - Add -enable-nls --with-included-gettext - Add i18ncfg patch - Add Japanese resources Thu Oct 05 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Update build URL - Fix help (Bug #18394) - Replace the "index page link" (pointing to a Mosaic site with thousands of dead links) with a link to Google Sat Sep 23 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Add https:// support (#17554) - Update to dev10
This commit is contained in:
parent
451685a5ae
commit
ad9c87cbe5
@ -1 +1,2 @@
|
||||
lynx2.8.4dev.7.tar.bz2
|
||||
lynx2-8-2.ja.po.bz2
|
||||
lynx2.8.4dev.16.tar.bz2
|
||||
|
81
lynx.spec
81
lynx.spec
@ -1,20 +1,19 @@
|
||||
%define enable_japanese 1
|
||||
|
||||
Summary: A text-based Web browser.
|
||||
Name: lynx
|
||||
Version: 2.8.4
|
||||
Release: 3j2
|
||||
Release: 9
|
||||
Copyright: GPL
|
||||
Group: Applications/Internet
|
||||
Source0: http://sol.slcc.edu/lynx/current/lynx%{version}dev.7.tar.bz2
|
||||
Source: http://lynx.isc.org/current/lynx2.8.4dev.16.tar.bz2
|
||||
Source1: lynx.cfg.ja
|
||||
SOurce2: lynx2-8-2.ja.po.bz2
|
||||
URL: http://lynx.isc.org/
|
||||
Patch0: lynx2-8-3-redhat.patch
|
||||
Patch1: lynx2-8-2-telnet.patch
|
||||
# Japanese patch
|
||||
Patch10: lynx2-8-3-charset.patch
|
||||
Patch20: lynx2-8-3-configure.patch
|
||||
Patch2: lynx-284-i18ncfg.patch
|
||||
Requires: indexhtml
|
||||
Provides: webclient
|
||||
BuildRequires: openssl-devel, ncurses-devel
|
||||
Buildroot: %{_tmppath}/%{name}-root
|
||||
|
||||
%description
|
||||
@ -30,37 +29,47 @@ Install lynx if you would like to try this fast, non-graphical browser
|
||||
%setup -q -n lynx2-8-4
|
||||
%patch0 -p0
|
||||
%patch1 -p1 -b .telnet
|
||||
%if %{enable_japanese}
|
||||
%patch10 -p1 -b .jp
|
||||
%patch20 -p1 -b .slang-j
|
||||
%endif
|
||||
%patch2 -p1 -b .i18ncfg
|
||||
perl -pi -e "s,^HELPFILE:.*,HELPFILE:file://localhost/usr/share/doc/lynx-%{version}/lynx_help/lynx_help_main.html,g" lynx.cfg
|
||||
perl -pi -e "s,^DEFAULT_INDEX_FILE:.*,DEFAULT_INDEX_FILE:http://www.google.com/,g" lynx.cfg
|
||||
|
||||
%build
|
||||
export CFLAGS="-ggdb $RPM_OPT_FLAGS" CXXFLAGS="-ggdb $RPM_OPT_FLAGS"
|
||||
%configure --libdir=/etc \
|
||||
--with-screen=slang-j --enable-warnings \
|
||||
--with-screen=slang --enable-warnings \
|
||||
--enable-default-colors --enable-externs \
|
||||
--enable-internal-links --enable-nsl-fork \
|
||||
--enable-persistent-cookies --enable-prettysrc \
|
||||
--disable-font-switch --enable-source-cache \
|
||||
--enable-kbd-layout --with-zlib \
|
||||
--enable-charset-choice --enable-file-upload \
|
||||
--enable-cgi-links --enable-read-eta
|
||||
--enable-cgi-links --enable-read-eta \
|
||||
--enable-addrlist-page --enable-cjk \
|
||||
--enable-justify-elts --enable-scrollbar \
|
||||
--enable-libjs --enable-cgi-links --enable-nls \
|
||||
--with-ssl=/usr
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%makeinstall mandir=$RPM_BUILD_ROOT%{_mandir}/man1 libdir=$RPM_BUILD_ROOT/etc
|
||||
# Install Lang dependent resources
|
||||
install -m444 %{SOURCE1} $RPM_BUILD_ROOT/etc/lynx.cfg.ja
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/locale/ja/LC_MESSAGES/
|
||||
( bzcat %{SOURCE2} | msgfmt -o $RPM_BUILD_ROOT/usr/share/locale/ja/LC_MESSAGES/lynx.mo - )
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/Internet
|
||||
cat > $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/Internet/lynx.desktop <<EOF
|
||||
[Desktop Entry]
|
||||
Name=Lynx
|
||||
Name[sv]=Lynx
|
||||
Name[de]=Lynx
|
||||
Name[ja]=Lynx
|
||||
Name[sv]=Lynx
|
||||
Type=Application
|
||||
Comment=Text based WWW browser
|
||||
Comment[sv]=Textbeserad webbläsare
|
||||
Comment[de]=Textbasierter WWW-Browser
|
||||
Comment[ja]=¥Æ¥¥¹¥È¥Ù¡¼¥¹WWW¥Ö¥é¥¦¥¶
|
||||
Comment[sv]=Textbeserad webbläsare
|
||||
Exec=lynx
|
||||
Terminal=true
|
||||
EOF
|
||||
@ -74,15 +83,49 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc test lynx.hlp lynx_help
|
||||
%config(missingok) %{_sysconfdir}/X11/applnk/Internet/lynx.desktop
|
||||
%{_bindir}/lynx
|
||||
%lang(cs) %{_prefix}/share/locale/cs/LC_MESSAGES/*
|
||||
%lang(da) %{_prefix}/share/locale/da/LC_MESSAGES/*
|
||||
%lang(de) %{_prefix}/share/locale/de/LC_MESSAGES/*
|
||||
%lang(fr) %{_prefix}/share/locale/fr/LC_MESSAGES/*
|
||||
%lang(ja) %{_prefix}/share/locale/ja/LC_MESSAGES/*
|
||||
%lang(nl) %{_prefix}/share/locale/nl/LC_MESSAGES/*
|
||||
%lang(pt_BR) %{_prefix}/share/locale/pt_BR/LC_MESSAGES/*
|
||||
%lang(ru) %{_prefix}/share/locale/ru/LC_MESSAGES/*
|
||||
%lang(sl) %{_prefix}/share/locale/sl/LC_MESSAGES/*
|
||||
%lang(sv) %{_prefix}/share/locale/sv/LC_MESSAGES/*
|
||||
%{_mandir}/*/*
|
||||
%config %{_sysconfdir}/lynx.cfg
|
||||
%lang(ja) %config %{_sysconfdir}/lynx.cfg.ja
|
||||
|
||||
%changelog
|
||||
* Mon Sep 11 2000 Mitsuo Hamada <mhamada@redhat.com>
|
||||
- Build with libslang-j
|
||||
* Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||
- rebuild in new environment
|
||||
|
||||
* Thu Aug 31 2000 Yukihiro Nakai <ynakai@redhat.com>
|
||||
- Add a patch to set Japanese to default.
|
||||
* Thu Jan 4 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||
- Fix up more of the i18ncfg patch
|
||||
|
||||
* Wed Jan 3 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- 2.8.4dev16
|
||||
- Fix up the i18ncfg patch - segfaulting on startup is not exactly
|
||||
a nice feature.
|
||||
- Mark locale related files as such
|
||||
- Mark /etc/lynx.cfg.ja as %%lang(ja)
|
||||
- Add BuildRequires
|
||||
|
||||
* Thu Dec 21 2000 Yukihiro Nakai <ynakai@redhat.com>
|
||||
- Add -enable-nls --with-included-gettext
|
||||
- Add i18ncfg patch
|
||||
- Add Japanese resources
|
||||
|
||||
* Thu Oct 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- Update build URL
|
||||
- Fix help (Bug #18394)
|
||||
- Replace the "index page link" (pointing to a Mosaic site with thousands
|
||||
of dead links) with a link to Google
|
||||
|
||||
* Sat Sep 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- Add https:// support (#17554)
|
||||
- Update to dev10
|
||||
|
||||
* Fri Aug 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- Add Swedish and German translations to desktop file, Bug 15322
|
||||
|
Loading…
Reference in New Issue
Block a user