SUNWw3m.spec
author davelam
Fri, 08 Aug 2008 01:12:57 +0000
branchgnome-2-22
changeset 12493 a4d9be4ee8a3
parent 12490 cbcf0a328666
permissions -rw-r--r--
2008-08-08 Dave Lin <[email protected]> * SUNWlibgsf: Correct the dependency as below to fix the integration issues(CR6734966) Requires: SUNWlibms BuildRequires: SUNWlibm

#
# spec file for packages SUNWw3m
#
# includes module(s): w3m
#
# Copyright 2008 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner:rickju
#
%include Solaris.inc

%use w3m = w3m.spec

Name:                    SUNWw3m
Summary:                 Desktop search tool - support libraries
Version:                 %{default_pkg_version}
SUNW_BaseDir:            %{_basedir}
SUNW_Copyright:          %{name}.copyright
BuildRoot:               %{_tmppath}/%{name}-%{version}-build

%include default-depend.inc
Requires:            SUNWlibms
Requires:            SUNWlibgc
Requires:            SUNWperl584core
Requires:            SUNWfirefox
Requires:            SUNWopenssl-libraries
BuildRequires:       SUNWlibgc-devel
BuildRequires:       SUNWopenssl-include
BuildRequires:       SUNWlibm 

%prep
rm -rf %name-%version
mkdir %name-%version
%w3m.prep -d %name-%version

%build
export CFLAGS="%optflags"
export LDFLAGS="%_ldflags"
export RPM_OPT_FLAGS="$CFLAGS"
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"

%w3m.build -d %name-%version

%install
rm -rf $RPM_BUILD_ROOT

%w3m.install -d %name-%version

#remove man page and help file for ja
rm -rf $RPM_BUILD_ROOT%{_mandir}/ja
rm -rf $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp-funcdesc.ja.pl

%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/*
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/w3m
%dir %attr (0755, root, sys) %{_datadir}
%{_datadir}/w3m/*
%dir %attr(0755, root, bin) %{_mandir}
%dir %attr(0755, root, bin) %{_mandir}/man1
%{_mandir}/man1/*

%changelog
* Thu Aug 06 2008 - [email protected]
- fix a libm dependency issue #6733315  
* Tue Jun 24 2008 - [email protected]
- Rename package from SUNWdesktop-search-libs to SUNWw3m. File was renamed
  previously.
* Mon May 26 2008 - [email protected]
- Add openssl dependency
* Tue Apr 15 2008 - [email protected]
- Remove l10n package as the libgsf files were the only l10n files.
* Mon Apr 14 2008 - [email protected]
- Move libgsf part into SUNWlibgsf. Remove -root and devel pkgs too.
* Thu Mar 27 2008 - [email protected]
- Add copyright file
* Wed Feb 27 2008 - [email protected]
- Remove man pages for ja
- Add Requires:{name} for -devel pkg
* Tue Feb 26 2008 - [email protected]
- Remove Requires: SUNWpostrun, Add Requires: SUNWdesktop-search-libs-root
- Move %{_mandir}/ja into -l1n pkg
- Use gconf-install.script for %post root
* Wed Feb 20 2008 - [email protected]
- Remove unused SOURCE0
* Tue Jan 29 2008 - [email protected]
- Add Build/Requires SUNWgnome-python-libs/-devel.
* Thu Jan 24 2008 - [email protected]
- Move libgc out.
* Wed Jan 02 2008 - [email protected]
- Initial spec-file created