Репозитории ALT
S: | 0.5.3-alt4.git20200502 |
5.1: | 0.5.2-alt2.1 |
4.1: | 0.5.2-alt1 |
4.0: | 0.5.1-alt5 |
3.0: | 0.5.1-alt1.1 |
Группа :: Сети/WWW
Пакет: w3m
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# -*- coding: utf-8; mode: rpm-spec -*-
# $Id: w3m.spec,v 1.2 2006/02/14 08:39:36 eugene Exp $
Name: w3m
Version: 0.5.2
Release: alt2.1
License: BSD
Group: Networking/WWW
Summary: w3m is a pager with Web browsing capability
Url: http://w3m.sourceforge.net/
Source: %name-%version.tar.gz
# Patch0: w3m-0.5.1-fix-format-string.patch
Packager: Eugene Vlasov <eugvv at altlinux.ru>
%add_findreq_skiplist %_libexecdir/w3m/cgi-bin/w3mhelp.cgi
# Automatically added by buildreq on Thu May 29 2008
BuildRequires: imlib2-devel libgc-devel libgpm-devel libgtk+2-devel libssl-devel man
%description
w3m is a pager with WWW capability. It IS a pager, but it can be
used as a text-mode WWW browser with following features:
* When reading HTML document, you can follow links and view images
(using external image viewer).
* It has 'internet message mode', which determines the type of document
from header. If the Content-Type: field of the document is text/html,
that document is displayed as HTML document.
* You can change URL description like 'http://hogege.net' in plain text
into link to that URL.
%package img
Summary: A helper program to display the inline images for w3m
Group: Networking/WWW
Requires: ImageMagick
Requires: w3m = %version-%release
%description img
w3m-img package provides a helper program for w3m to display the inline
images on the terminal emulator in X Window System environments and the
linux framebuffer.
%prep
%setup -q
# %patch0 -p1
%build
%add_optflags -I%_includedir/gc
export CPPFLAGS="$CPPFLAGS -I%_includedir/gc"
%configure --enable-m17n --enable-unicode --enable-nls --with-editor=/bin/vi --with-termlib=terminfo --disable-rpath
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
#%makeinstall HELP_DIR=%buildroot%_datadir/w3m
%find_lang w3m
%files -f w3m.lang
%doc doc/README* doc/*.html doc/menu.* doc/keymap.* doc/HISTORY
%doc *_en.html NEWS TODO
%_bindir/w3m*
%_man1dir/w3m.1.*
%_man1dir/w3mman.1*
%_mandir/ja/man1/w3m.1.*
%_datadir/w3m/
%_libexecdir/w3m/
%exclude %_libexecdir/w3m/w3mimgdisplay
%files img
%_libexecdir/w3m/w3mimgdisplay
%changelog
…
Полный changelog можно просмотреть здесь
# $Id: w3m.spec,v 1.2 2006/02/14 08:39:36 eugene Exp $
Name: w3m
Version: 0.5.2
Release: alt2.1
License: BSD
Group: Networking/WWW
Summary: w3m is a pager with Web browsing capability
Url: http://w3m.sourceforge.net/
Source: %name-%version.tar.gz
# Patch0: w3m-0.5.1-fix-format-string.patch
Packager: Eugene Vlasov <eugvv at altlinux.ru>
%add_findreq_skiplist %_libexecdir/w3m/cgi-bin/w3mhelp.cgi
# Automatically added by buildreq on Thu May 29 2008
BuildRequires: imlib2-devel libgc-devel libgpm-devel libgtk+2-devel libssl-devel man
%description
w3m is a pager with WWW capability. It IS a pager, but it can be
used as a text-mode WWW browser with following features:
* When reading HTML document, you can follow links and view images
(using external image viewer).
* It has 'internet message mode', which determines the type of document
from header. If the Content-Type: field of the document is text/html,
that document is displayed as HTML document.
* You can change URL description like 'http://hogege.net' in plain text
into link to that URL.
%package img
Summary: A helper program to display the inline images for w3m
Group: Networking/WWW
Requires: ImageMagick
Requires: w3m = %version-%release
%description img
w3m-img package provides a helper program for w3m to display the inline
images on the terminal emulator in X Window System environments and the
linux framebuffer.
%prep
%setup -q
# %patch0 -p1
%build
%add_optflags -I%_includedir/gc
export CPPFLAGS="$CPPFLAGS -I%_includedir/gc"
%configure --enable-m17n --enable-unicode --enable-nls --with-editor=/bin/vi --with-termlib=terminfo --disable-rpath
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
#%makeinstall HELP_DIR=%buildroot%_datadir/w3m
%find_lang w3m
%files -f w3m.lang
%doc doc/README* doc/*.html doc/menu.* doc/keymap.* doc/HISTORY
%doc *_en.html NEWS TODO
%_bindir/w3m*
%_man1dir/w3m.1.*
%_man1dir/w3mman.1*
%_mandir/ja/man1/w3m.1.*
%_datadir/w3m/
%_libexecdir/w3m/
%exclude %_libexecdir/w3m/w3mimgdisplay
%files img
%_libexecdir/w3m/w3mimgdisplay
%changelog
…
Полный changelog можно просмотреть здесь