13332N/A#
13332N/A# spec file for packages SUNWw3m
13332N/A#
13332N/A# includes module(s): w3m
13332N/A#
13332N/A# Copyright 2008 Sun Microsystems, Inc.
13332N/A# This file and all modifications and additions to the pristine
13332N/A# package are under the same license as the package itself.
13332N/A#
17821N/A%define owner jouby
13332N/A#
13332N/A%include Solaris.inc
13332N/A
13332N/A%use w3m = w3m.spec
13332N/A
13332N/AName: SUNWw3m
18688N/AIPS_package_name: web/browser/w3m
18688N/AMeta(info.classification): %{classification_prefix}:Applications/Internet
14164N/ASummary: A text-based web browser
19013N/AVersion: %{w3m.version}
15244N/ASource: %{name}-manpages-0.1.tar.gz
13332N/ASUNW_BaseDir: %{_basedir}
13332N/ASUNW_Copyright: %{name}.copyright
19092N/ALicense: MIT
13332N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13332N/A
13332N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
16401N/ARequires: SUNWgtk2
13792N/ARequires: SUNWlibms
13332N/ARequires: SUNWlibgc
20857N/ABuildRequires: runtime/perl-512
13332N/ARequires: SUNWfirefox
13332N/ARequires: SUNWopenssl-libraries
16401N/ABuildRequires: SUNWgtk2-devel
13792N/ABuildRequires: SUNWlibm
13332N/ABuildRequires: SUNWlibgc-devel
13332N/ABuildRequires: SUNWopenssl-include
13332N/A
13333N/A%package l10n
13333N/ASummary: %{summary} - l10n files
13333N/ARequires: %{name}
13333N/A
13332N/A%prep
13332N/Arm -rf %name-%version
13332N/Amkdir %name-%version
13332N/A%w3m.prep -d %name-%version
15244N/Acd %{_builddir}/%name-%version
15244N/Agzcat %SOURCE0 | tar xf -
13332N/A
13332N/A%build
15927N/Aexport CFLAGS="%optflags `pkg-config --cflags bdw-gc`"
15927N/Aexport LDFLAGS="%_ldflags -L/usr/sfw/lib -R/usr/sfw/lib `pkg-config --libs bdw-gc` "
13332N/Aexport RPM_OPT_FLAGS="$CFLAGS"
13332N/Aexport ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
13332N/A
13332N/A%w3m.build -d %name-%version
13332N/A
13332N/A%install
13332N/Arm -rf $RPM_BUILD_ROOT
13332N/A
13332N/A%w3m.install -d %name-%version
13332N/A
13332N/A#remove man page and help file for ja
13332N/Arm -rf $RPM_BUILD_ROOT%{_mandir}/ja
13332N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp-funcdesc.ja.pl
13332N/A
15244N/A# install man page
15244N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
15244N/Acd %{_builddir}/%name-%version/sun-manpages
15244N/Amake install DESTDIR=$RPM_BUILD_ROOT
15244N/A
13332N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
13332N/A
13332N/A%clean
13332N/Arm -rf $RPM_BUILD_ROOT
13332N/A
13332N/A%files
13332N/A%defattr (-, root, bin)
13332N/A%dir %attr (0755, root, bin) %{_bindir}
13332N/A%{_bindir}/*
13332N/A%dir %attr (0755, root, bin) %{_libdir}
13332N/A%{_libdir}/w3m
13332N/A%dir %attr (0755, root, sys) %{_datadir}
13332N/A%{_datadir}/w3m/*
13332N/A%dir %attr(0755, root, bin) %{_mandir}
13332N/A%dir %attr(0755, root, bin) %{_mandir}/man1
13332N/A%{_mandir}/man1/*
14412N/A%doc -d w3m-%{w3m.version} ChangeLog NEWS README
14412N/A%dir %attr (0755, root, other) %{_datadir}/doc
13332N/A
13333N/A%files l10n
13333N/A%defattr (-, root, bin)
13333N/A%dir %attr (0755, root, sys) %{_datadir}
13333N/A%attr (-, root, other) %{_datadir}/locale
13333N/A
13332N/A%changelog
16274N/A* Mon Mar 30 2009 - yuntong.jin@sun.com
16274N/A- change the owner to yuntong.jin
14412N/A* Fri Sep 19 2008 - rick.ju@sun.com
14412N/A- Add %doc for copyright files
13792N/A* Thu Aug 06 2008 - rick.ju@sun.com
13792N/A- fix a libm dependency issue #6733315
13332N/A* Thu Jun 05 2008 - rick.ju@sun.com
13333N/A- renamed to SUNWw3m.spec
13333N/A* Wed Jun 04 2008 - takao.fujiwara@sun.com
13333N/A- Add l10n packages with w3m fix.
13332N/A* Mon May 26 2008 - rick.ju@sun.com
13332N/A- Add openssl dependency
13332N/A* Tue Apr 15 2008 - damien.carbery@sun.com
13332N/A- Remove l10n package as the libgsf files were the only l10n files.
13332N/A* Mon Apr 14 2008 - halton.huo@sun.com
13332N/A- Move libgsf part into SUNWlibgsf. Remove -root and devel pkgs too.
13332N/A* Thu Mar 27 2008 - halton.huo@sun.com
13332N/A- Add copyright file
13332N/A* Wed Feb 27 2008 - halton.huo@sun.com
13332N/A- Remove man pages for ja
13332N/A- Add Requires:{name} for -devel pkg
13332N/A* Tue Feb 26 2008 - halton.huo@sun.com
13332N/A- Remove Requires: SUNWpostrun, Add Requires: SUNWdesktop-search-libs-root
13332N/A- Move %{_mandir}/ja into -l1n pkg
13332N/A- Use gconf-install.script for %post root
13332N/A* Wed Feb 20 2008 - halton.huo@sun.com
13332N/A- Remove unused SOURCE0
13332N/A* Tue Jan 29 2008 - damien.carbery@sun.com
13332N/A- Add Build/Requires SUNWgnome-python-libs/-devel.
13332N/A* Thu Jan 24 2008 - halton.huo@sun.com
13332N/A- Move libgc out.
13332N/A* Wed Jan 02 2008 - halton.huo@sun.com
13332N/A- Initial spec-file created
16401N/A
19457N/A
19774N/A