ALT Linux repositórios
S: | 2.8.9-alt1.pre.1.1 |
5.0: | 2.8.6-alt7.rel.2 |
4.1: | 2.8.6-alt3.rel.2 |
4.0: | 2.8.6-alt2.rel.2.1 |
3.0: | 2.8.5-alt4.dev.16.1 |
Group :: Rede/WWW
RPM: lynx
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define ver 2.8.6
%define subver rel.2
%define bver 2-8-6
Name: lynx
Version: %ver
Release: alt3.%subver
Summary: Text based browser for the world wide web
License: GPL
Url: http://lynx.browser.org
Group: Networking/WWW
Source: lynx.tar
Source1: %name.wmconfig
Source100: lynx-16.xpm
Source101: lynx-32.xpm
Source102: lynx-48.xpm
Patch0: %name-pld.patch
Patch1: lynx2-8-5-alt-cfg.patch
Patch2: %name-tmpdir.patch
Patch3: lynx2-8-4-fix-ugly-color.patch
Patch4: %name-284-ipv6-salen.patch
Patch5: lynx2-8-5-alt-i18n.patch
Patch6: %name.mouse-enable.patch
Patch7: %name.printers.patch
Provides: webclient, lynx-ssl = %version
Obsoletes: lynx-ssl
# Automatically added by buildreq on Wed Apr 03 2002
BuildRequires: lclint libncursesw-devel libssl ncompress openssl-devel postfix sharutils telnet unzip zip zlib-devel
%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.
%prep
%setup -q -c
%patch0 -p1
%patch1 -p1
%patch2 -p0
%patch3 -p1
#patch4 -p1
%patch5 -p1
%patch6 -p0
%patch7 -p0
%build
#%__subst "s|\\$\\(SSL_DIR\\)/include|/usr/include/openssl|" makefile.in
#don't use configure macros
# --libdir=/etc \
CFLAGS="$RPM_OPT_FLAGS -w -DUSE_SSL -D_USE_PLD -U_GNU_SOURCE " LDFLAGS=-s \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-warnings \
--enable-color-style \
--enable-default-colors \
--enable-externs \
--enable-internal-links \
--enable-nsl-fork \
--enable-persistent-cookies \
--enable-cgi-links \
--enable-nls \
--enable-charset-choice\
--enable-ipv6 \
--enable-nested-tables\
--enable-prettysrc \
--enable-source-cache \
--enable-libjs \
--enable-scrollbar \
--enable-read-eta \
--enable-file-upload \
--enable-addrlist-page \
--enable-justify-elts \
--with-ssl \
--with-zlib $SOCKS5 \
--with-screen=ncursesw
# removed --enable-exec-links --enable-exec-scripts,
# it goes together with LOCAL_EXECUTION_LINKS_* in lynx.cfg
# (cf INSTALLATION file for more about the options)
# --with-included-gettext is the default
# --enable-kbd-layout not useful enough
# --enable-cjk not needed for CJK and may go away in a future release
#make_build
# non SMP compatible build
make
%install
install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
install -d $RPM_BUILD_ROOT%_datadir/lynx/{lynx_help/keystrokes,test}
%makeinstall libdir=$RPM_BUILD_ROOT/etc mandir=$RPM_BUILD_ROOT/%_mandir/man1
for i in `find lynx_help test -type f `; do
install $i $RPM_BUILD_ROOT%_datadir/lynx/$i
done
install %SOURCE1 $RPM_BUILD_ROOT/etc/X11/wmconfig/lynx
install -m644 samples/lynx.lss $RPM_BUILD_ROOT/etc/
bzip2 -9f docs/* README lynx.hlp||true
mkdir -p $RPM_BUILD_ROOT{%_menudir,%_miconsdir,%_liconsdir}
cat << EOF >$RPM_BUILD_ROOT%_menudir/%name
?package(%name): \
command="/usr/bin/lynx" \
needs="text" \
icon="lynx.xpm" \
section="Networking/WWW" \
title="Lynx" \
longtitle="A text browser"
EOF
perl -pi -e "s!PATH_TO/lynx_help/!"%_datadir"/lynx/lynx_help/!g" $RPM_BUILD_ROOT/etc/lynx.cfg
install -m 644 %SOURCE100 %buildroot/%_miconsdir/lynx.xpm
install -m 644 %SOURCE101 %buildroot/%_iconsdir/lynx.xpm
install -m 644 %SOURCE101 %buildroot/%_liconsdir/lynx.xpm
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc docs README.bz2 lynx.hlp.bz2
%config(noreplace) %verify(not size mtime md5) /etc/lynx.cfg
%config(noreplace) %verify(not size mtime md5) /etc/lynx.lss
%_bindir/*
%_mandir/man?/*
%_menudir/%name
%_iconsdir/%name.xpm
%_liconsdir/%name.xpm
%_miconsdir/%name.xpm
%_datadir/%name
%changelog
…
Todas as alterações você pod ver aqui
%define subver rel.2
%define bver 2-8-6
Name: lynx
Version: %ver
Release: alt3.%subver
Summary: Text based browser for the world wide web
License: GPL
Url: http://lynx.browser.org
Group: Networking/WWW
Source: lynx.tar
Source1: %name.wmconfig
Source100: lynx-16.xpm
Source101: lynx-32.xpm
Source102: lynx-48.xpm
Patch0: %name-pld.patch
Patch1: lynx2-8-5-alt-cfg.patch
Patch2: %name-tmpdir.patch
Patch3: lynx2-8-4-fix-ugly-color.patch
Patch4: %name-284-ipv6-salen.patch
Patch5: lynx2-8-5-alt-i18n.patch
Patch6: %name.mouse-enable.patch
Patch7: %name.printers.patch
Provides: webclient, lynx-ssl = %version
Obsoletes: lynx-ssl
# Automatically added by buildreq on Wed Apr 03 2002
BuildRequires: lclint libncursesw-devel libssl ncompress openssl-devel postfix sharutils telnet unzip zip zlib-devel
%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.
%prep
%setup -q -c
%patch0 -p1
%patch1 -p1
%patch2 -p0
%patch3 -p1
#patch4 -p1
%patch5 -p1
%patch6 -p0
%patch7 -p0
%build
#%__subst "s|\\$\\(SSL_DIR\\)/include|/usr/include/openssl|" makefile.in
#don't use configure macros
# --libdir=/etc \
CFLAGS="$RPM_OPT_FLAGS -w -DUSE_SSL -D_USE_PLD -U_GNU_SOURCE " LDFLAGS=-s \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-warnings \
--enable-color-style \
--enable-default-colors \
--enable-externs \
--enable-internal-links \
--enable-nsl-fork \
--enable-persistent-cookies \
--enable-cgi-links \
--enable-nls \
--enable-charset-choice\
--enable-ipv6 \
--enable-nested-tables\
--enable-prettysrc \
--enable-source-cache \
--enable-libjs \
--enable-scrollbar \
--enable-read-eta \
--enable-file-upload \
--enable-addrlist-page \
--enable-justify-elts \
--with-ssl \
--with-zlib $SOCKS5 \
--with-screen=ncursesw
# removed --enable-exec-links --enable-exec-scripts,
# it goes together with LOCAL_EXECUTION_LINKS_* in lynx.cfg
# (cf INSTALLATION file for more about the options)
# --with-included-gettext is the default
# --enable-kbd-layout not useful enough
# --enable-cjk not needed for CJK and may go away in a future release
#make_build
# non SMP compatible build
make
%install
install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
install -d $RPM_BUILD_ROOT%_datadir/lynx/{lynx_help/keystrokes,test}
%makeinstall libdir=$RPM_BUILD_ROOT/etc mandir=$RPM_BUILD_ROOT/%_mandir/man1
for i in `find lynx_help test -type f `; do
install $i $RPM_BUILD_ROOT%_datadir/lynx/$i
done
install %SOURCE1 $RPM_BUILD_ROOT/etc/X11/wmconfig/lynx
install -m644 samples/lynx.lss $RPM_BUILD_ROOT/etc/
bzip2 -9f docs/* README lynx.hlp||true
mkdir -p $RPM_BUILD_ROOT{%_menudir,%_miconsdir,%_liconsdir}
cat << EOF >$RPM_BUILD_ROOT%_menudir/%name
?package(%name): \
command="/usr/bin/lynx" \
needs="text" \
icon="lynx.xpm" \
section="Networking/WWW" \
title="Lynx" \
longtitle="A text browser"
EOF
perl -pi -e "s!PATH_TO/lynx_help/!"%_datadir"/lynx/lynx_help/!g" $RPM_BUILD_ROOT/etc/lynx.cfg
install -m 644 %SOURCE100 %buildroot/%_miconsdir/lynx.xpm
install -m 644 %SOURCE101 %buildroot/%_iconsdir/lynx.xpm
install -m 644 %SOURCE101 %buildroot/%_liconsdir/lynx.xpm
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc docs README.bz2 lynx.hlp.bz2
%config(noreplace) %verify(not size mtime md5) /etc/lynx.cfg
%config(noreplace) %verify(not size mtime md5) /etc/lynx.lss
%_bindir/*
%_mandir/man?/*
%_menudir/%name
%_iconsdir/%name.xpm
%_liconsdir/%name.xpm
%_miconsdir/%name.xpm
%_datadir/%name
%changelog
…
Todas as alterações você pod ver aqui