Репозитории 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
%define _unpackaged_files_terminate_build 1
Name: w3m
Version: 0.5.3
Release: alt4.git20200502
License: BSD
Group: Networking/WWW
Summary: w3m is a pager with Web browsing capability
Url: http://w3m.sourceforge.net/
# https://github.com/tats/w3m.git
Source: %name-%version.tar
Patch10: %name-0.5.3-alt-DSO.patch
#### FEDORA PATCHES ############################
# Resolves a bug of when given following command w3m crashes
# w3m https://www.example.coma
# but following command works fine by giving can't load error
# w3m http://www.example.coma
# https://sourceforge.net/tracker/?func=detail&aid=3595167&group_id=39518&atid=425441
Patch4: %{name}-rh707994-fix-https-segfault.patch
#https://bugzilla.redhat.com/show_bug.cgi?id=1038009
Patch7: %{name}-0.5.3-FTBFS-sys-errlist.patch
%add_findreq_skiplist %_libexecdir/w3m/cgi-bin/w3mhelp.cgi
# Automatically added by buildreq on Fri Mar 25 2011
BuildRequires: imlib2-devel libgc-devel libgpm-devel libgtk+2-devel libssl-devel man zlib-devel automake gcc-c++
BuildRequires: lynx
BuildRequires: libtinfo-devel
BuildRequires: libgdk-pixbuf-xlib-devel
# JP support, currently in autoimports
#BuildRequires: nkf
%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 = %EVR
%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
# fedora patches
%patch4 -p0
%patch7 -p1
# alt patches
%patch10 -p2
%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 --with-charset=UTF-8 --enable-keymap=w3m
# TODO: see fedora spec
# --with-mailer="gnome-open mailto:%s" --with-browser=gnome-open --with-gc --with-termlib=ncurses --enable-nntp --enable-gopher --enable-image=x11,fb --with-imagelib=gtk2
%make
%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/de/man1/w3m.1*
%_mandir/de/man1/w3mman.1*
%_mandir/ja/man1/w3m.1*
%_datadir/w3m/
%_libexecdir/w3m/
%exclude %_libexecdir/w3m/w3mimgdisplay
%files img
%_libexecdir/w3m/w3mimgdisplay
%changelog
…
Полный changelog можно просмотреть здесь
Name: w3m
Version: 0.5.3
Release: alt4.git20200502
License: BSD
Group: Networking/WWW
Summary: w3m is a pager with Web browsing capability
Url: http://w3m.sourceforge.net/
# https://github.com/tats/w3m.git
Source: %name-%version.tar
Patch10: %name-0.5.3-alt-DSO.patch
#### FEDORA PATCHES ############################
# Resolves a bug of when given following command w3m crashes
# w3m https://www.example.coma
# but following command works fine by giving can't load error
# w3m http://www.example.coma
# https://sourceforge.net/tracker/?func=detail&aid=3595167&group_id=39518&atid=425441
Patch4: %{name}-rh707994-fix-https-segfault.patch
#https://bugzilla.redhat.com/show_bug.cgi?id=1038009
Patch7: %{name}-0.5.3-FTBFS-sys-errlist.patch
%add_findreq_skiplist %_libexecdir/w3m/cgi-bin/w3mhelp.cgi
# Automatically added by buildreq on Fri Mar 25 2011
BuildRequires: imlib2-devel libgc-devel libgpm-devel libgtk+2-devel libssl-devel man zlib-devel automake gcc-c++
BuildRequires: lynx
BuildRequires: libtinfo-devel
BuildRequires: libgdk-pixbuf-xlib-devel
# JP support, currently in autoimports
#BuildRequires: nkf
%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 = %EVR
%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
# fedora patches
%patch4 -p0
%patch7 -p1
# alt patches
%patch10 -p2
%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 --with-charset=UTF-8 --enable-keymap=w3m
# TODO: see fedora spec
# --with-mailer="gnome-open mailto:%s" --with-browser=gnome-open --with-gc --with-termlib=ncurses --enable-nntp --enable-gopher --enable-image=x11,fb --with-imagelib=gtk2
%make
%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/de/man1/w3m.1*
%_mandir/de/man1/w3mman.1*
%_mandir/ja/man1/w3m.1*
%_datadir/w3m/
%_libexecdir/w3m/
%exclude %_libexecdir/w3m/w3mimgdisplay
%files img
%_libexecdir/w3m/w3mimgdisplay
%changelog
…
Полный changelog можно просмотреть здесь