|
@@ -1,4 +1,5 @@
|
|
-%define __perl_requires %{_rpmconfigdir}/perl.req | grep -v w3mhelp
|
|
|
|
|
|
+#define __perl_requires %{_rpmconfigdir}/perl.req | grep -v w3mhelp
|
|
|
|
+#define __find_requires /bin/true
|
|
|
|
|
|
%define _docdir %{_defaultdocdir}
|
|
%define _docdir %{_defaultdocdir}
|
|
|
|
|
|
@@ -8,34 +9,42 @@ Summary: A Pager with WWW capability
|
|
Summary(ja): World Wide Web に対応したページャ
|
|
Summary(ja): World Wide Web に対応したページャ
|
|
Name: w3m
|
|
Name: w3m
|
|
Version: 0.5.3
|
|
Version: 0.5.3
|
|
-Release: 1%{?_dist_release}
|
|
|
|
-Group: Applications/Internet
|
|
|
|
|
|
+Release: 2%{?_dist_release}
|
|
|
|
+
|
|
License: BSD
|
|
License: BSD
|
|
|
|
+Group: Applications/Internet
|
|
URL: http://w3m.sourceforge.net/
|
|
URL: http://w3m.sourceforge.net/
|
|
|
|
+
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Source1: w3m.sh
|
|
Source1: w3m.sh
|
|
Source2: w3m.csh
|
|
Source2: w3m.csh
|
|
Source10: w3m-term
|
|
Source10: w3m-term
|
|
Source11: filter-requires-w3m.sh
|
|
Source11: filter-requires-w3m.sh
|
|
|
|
|
|
-Requires: perl, openssl >= 0.9, gc >= 6.2
|
|
|
|
-Requires(post,preun): alternatives
|
|
|
|
-Provides: webclient, pager
|
|
|
|
-Obsoletes: w3m-m17n
|
|
|
|
|
|
+Patch200: w3m-fh-def.patch
|
|
|
|
+Patch201: w3m-gc7.patch
|
|
|
|
|
|
-BuildRequires: openssl-devel >= 0.9
|
|
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+BuildRequires: gc-devel >= 7.0
|
|
|
|
+BuildRequires: gtk2-devel
|
|
BuildRequires: ncurses-devel
|
|
BuildRequires: ncurses-devel
|
|
-BuildRequires: gc-devel >= 6.2
|
|
|
|
|
|
+BuildRequires: openssl-devel >= 0.9
|
|
BuildRequires: sed
|
|
BuildRequires: sed
|
|
-BuildRequires: gtk2-devel
|
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
+Requires: perl
|
|
|
|
+Requires: openssl >= 0.9
|
|
|
|
+Requires(post): alternatives
|
|
|
|
+Requires(preun): alternatives
|
|
|
|
+
|
|
|
|
+Provides: webclient, pager
|
|
|
|
+Obsoletes: w3m-m17n
|
|
|
|
+
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
Packager: shaolin
|
|
Packager: shaolin
|
|
|
|
|
|
# work around for [VineSeed-x86_64:00178]
|
|
# work around for [VineSeed-x86_64:00178]
|
|
-%define __find_requires %{SOURCE11}
|
|
|
|
|
|
+%define __perl_requires %{SOURCE11}
|
|
|
|
|
|
%description
|
|
%description
|
|
w3m is a pager with WWW capability. It IS a pager, but it can be
|
|
w3m is a pager with WWW capability. It IS a pager, but it can be
|
|
@@ -77,6 +86,9 @@ w3m-img は X 環境のターミナルエミュレータ上の w3m でインラ
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+%patch200 -p0 -b .fh
|
|
|
|
+%patch201 -p1 -b .gc7
|
|
|
|
+
|
|
find Bonus -type f | \
|
|
find Bonus -type f | \
|
|
xargs sed -i -e "s|/usr/local/bin/ruby|/usr/bin/ruby|g;"
|
|
xargs sed -i -e "s|/usr/local/bin/ruby|/usr/bin/ruby|g;"
|
|
|
|
|
|
@@ -91,9 +103,9 @@ find Bonus -type f | \
|
|
--with-editor=%{_sysbindir}/vi
|
|
--with-editor=%{_sysbindir}/vi
|
|
sed -i -e 's|#define USE_GPM 1|/* #undef USE_GPM */|' config.h
|
|
sed -i -e 's|#define USE_GPM 1|/* #undef USE_GPM */|' config.h
|
|
sed -i -e 's|\-lgpm||g' Makefile
|
|
sed -i -e 's|\-lgpm||g' Makefile
|
|
|
|
+sed -i -e 's|\-ldl|\-ldl \-lX11|g' Makefile
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
-
|
|
|
|
%install
|
|
%install
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
@@ -163,6 +175,11 @@ fi
|
|
%{_libexecdir}/w3m/w3mimgdisplay
|
|
%{_libexecdir}/w3m/w3mimgdisplay
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Sep 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.5.3-2
|
|
|
|
+- updated Source11 to call /usr/lib/rpm/perl.req
|
|
|
|
+- added Patch200 and 201 for building current environment
|
|
|
|
+- rebuilt for removing libpng12 dependency
|
|
|
|
+
|
|
* Thu Apr 21 2011 IWAI, Masaharu <iwai@alib.jp> 0.5.3-1
|
|
* Thu Apr 21 2011 IWAI, Masaharu <iwai@alib.jp> 0.5.3-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- drop unnecessary patches: upstream fixed
|
|
- drop unnecessary patches: upstream fixed
|
|
@@ -239,10 +256,10 @@ fi
|
|
- new upstream release
|
|
- new upstream release
|
|
- Obsoletes: w3m-m17n
|
|
- Obsoletes: w3m-m17n
|
|
|
|
|
|
-* Fri Mar 27 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5-0vl2
|
|
|
|
|
|
+* Fri Mar 26 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5-0vl2
|
|
- add message catalogs to %%files
|
|
- add message catalogs to %%files
|
|
|
|
|
|
-* Fri Mar 27 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5-0vl1
|
|
|
|
|
|
+* Fri Mar 26 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5-0vl1
|
|
- new upstream release
|
|
- new upstream release
|
|
- fix w3mimgdisplay path in w3m-term
|
|
- fix w3mimgdisplay path in w3m-term
|
|
|
|
|
|
@@ -262,7 +279,7 @@ fi
|
|
w3m 0.3.2.2 - 2002-12-06
|
|
w3m 0.3.2.2 - 2002-12-06
|
|
* security fix: html_quote for img alt attributes
|
|
* security fix: html_quote for img alt attributes
|
|
|
|
|
|
-* Fri Nov 28 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2.1-0vl2
|
|
|
|
|
|
+* Fri Nov 29 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2.1-0vl2
|
|
- change default page path to /usr/doc/HTML.
|
|
- change default page path to /usr/doc/HTML.
|
|
this should be changed to /usr/share/doc in next release.
|
|
this should be changed to /usr/share/doc in next release.
|
|
( TODO: indexhtml package )
|
|
( TODO: indexhtml package )
|
|
@@ -337,7 +354,7 @@ fi
|
|
- 0.2.1-0vl4
|
|
- 0.2.1-0vl4
|
|
- rebuilt with openssl-0.9.6b
|
|
- rebuilt with openssl-0.9.6b
|
|
|
|
|
|
-* Sun Jun 23 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
|
|
|
|
|
|
+* Sun Jun 24 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
|
|
- 0.2.1-0vl3
|
|
- 0.2.1-0vl3
|
|
- security fixes (http://www.lac.co.jp/security/snsadv/32.html)
|
|
- security fixes (http://www.lac.co.jp/security/snsadv/32.html)
|
|
|
|
|
|
@@ -390,7 +407,7 @@ fi
|
|
* Sat Oct 30 1999 Yoichi Imai <bonaim@mutt.freemail.ne.jp>
|
|
* Sat Oct 30 1999 Yoichi Imai <bonaim@mutt.freemail.ne.jp>
|
|
- updated from 990820 to 991028
|
|
- updated from 990820 to 991028
|
|
|
|
|
|
-* Tue Aug 26 1999 Ryo Hattori <ryoh@vs01.vaio.ne.jp>
|
|
|
|
|
|
+* Thu Aug 26 1999 Ryo Hattori <ryoh@vs01.vaio.ne.jp>
|
|
- updated from 990716 to 990820
|
|
- updated from 990716 to 990820
|
|
|
|
|
|
* Wed Aug 11 1999 Ryo Hattori <ryoh@vs01.vaio.ne.jp>
|
|
* Wed Aug 11 1999 Ryo Hattori <ryoh@vs01.vaio.ne.jp>
|