SUNWw3m.spec
author an230044
Mon, 27 Sep 2010 11:32:21 +0000
branchopensolaris-2009-06
changeset 20102 2d19c462bb98
parent 13670 41334681405b
child 14493 2af0ebc5801e
permissions -rw-r--r--
6917569 CVE-2008-5824 libaudiofile contains heap-based buffer overflow in msadpcm.c Committing for Rohini because of svn issues on opensolaris2009.06 branch.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
     1
#
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
     2
# spec file for packages SUNWw3m
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
     3
#
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
     4
# includes module(s): w3m
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
     5
#
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
     6
# Copyright 2008 Sun Microsystems, Inc.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
     8
# package are under the same license as the package itself.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
     9
#
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    10
# Owner:rickju
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    11
#
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    12
%include Solaris.inc
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    13
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    14
%use w3m = w3m.spec
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    15
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    16
Name:                    SUNWw3m
13422
7faa3344c9ac 2008-09-05 Rick Ju <[email protected]>
rickju
parents: 13378
diff changeset
    17
Summary:                 A text-based web browser
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    18
Version:                 %{default_pkg_version}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    19
SUNW_BaseDir:            %{_basedir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    20
SUNW_Copyright:          %{name}.copyright
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    21
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    22
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    23
%include default-depend.inc
13050
730b076e02b3 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12591
diff changeset
    24
Requires:            SUNWlibms
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    25
Requires:            SUNWlibgc
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    26
Requires:            SUNWperl584core
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    27
Requires:            SUNWfirefox
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    28
Requires:            SUNWopenssl-libraries
13050
730b076e02b3 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12591
diff changeset
    29
BuildRequires:       SUNWlibm 
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    30
BuildRequires:       SUNWlibgc-devel
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    31
BuildRequires:       SUNWopenssl-include
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    32
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    33
%if %build_l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    34
%package l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    35
Summary:                 %{summary} - l10n files
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    36
SUNW_BaseDir:            %{_basedir}
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    37
%include default-depend.inc
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    38
Requires:                %{name}
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    39
%endif
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    40
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    41
%prep
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    42
rm -rf %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    43
mkdir %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    44
%w3m.prep -d %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    45
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    46
%build
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    47
export CFLAGS="%optflags"
13378
715128cf572a 2008-09-03 Rick Ju <[email protected]>
rickju
parents: 13050
diff changeset
    48
export LDFLAGS="%_ldflags -L/usr/sfw/lib -R/usr/sfw/lib"
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    49
export RPM_OPT_FLAGS="$CFLAGS"
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    50
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    51
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    52
%w3m.build -d %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    53
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    54
%install
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    55
rm -rf $RPM_BUILD_ROOT
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    56
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    57
%w3m.install -d %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    58
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    59
#remove man page and help file for ja
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    60
rm -rf $RPM_BUILD_ROOT%{_mandir}/ja
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    61
rm -rf $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp-funcdesc.ja.pl
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    62
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    63
%if %build_l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    64
%else
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    65
# REMOVE l10n FILES
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    66
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    67
%endif
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    68
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    69
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    70
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    71
%clean
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    72
rm -rf $RPM_BUILD_ROOT
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    73
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    74
%files
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    75
%defattr (-, root, bin)
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    76
%dir %attr (0755, root, bin) %{_bindir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    77
%{_bindir}/*
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    78
%dir %attr (0755, root, bin) %{_libdir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    79
%{_libdir}/w3m
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    80
%dir %attr (0755, root, sys) %{_datadir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    81
%{_datadir}/w3m/*
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    82
%dir %attr(0755, root, bin) %{_mandir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    83
%dir %attr(0755, root, bin) %{_mandir}/man1
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    84
%{_mandir}/man1/*
13670
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13422
diff changeset
    85
%doc -d w3m-%{w3m.version} ChangeLog NEWS README
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13422
diff changeset
    86
%dir %attr (0755, root, other) %{_datadir}/doc
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    87
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    88
%if %build_l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    89
%files l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    90
%defattr (-, root, bin)
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    91
%dir %attr (0755, root, sys) %{_datadir}
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    92
%attr (-, root, other) %{_datadir}/locale
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    93
%endif
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    94
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    95
%changelog
13670
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13422
diff changeset
    96
* Fri Sep 19 2008 - [email protected]
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13422
diff changeset
    97
- Add %doc for copyright files
13050
730b076e02b3 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12591
diff changeset
    98
* Thu Aug 06 2008 - [email protected]
730b076e02b3 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12591
diff changeset
    99
- fix a libm dependency issue #6733315  
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   100
* Thu Jun 05 2008 - [email protected]
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   101
- renamed to SUNWw3m.spec 
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   102
* Wed Jun 04 2008 - [email protected]
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   103
- Add l10n packages with w3m fix.
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   104
* Mon May 26 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   105
- Add openssl dependency
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   106
* Tue Apr 15 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   107
- Remove l10n package as the libgsf files were the only l10n files.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   108
* Mon Apr 14 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   109
- Move libgsf part into SUNWlibgsf. Remove -root and devel pkgs too.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   110
* Thu Mar 27 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   111
- Add copyright file
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   112
* Wed Feb 27 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   113
- Remove man pages for ja
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   114
- Add Requires:{name} for -devel pkg
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   115
* Tue Feb 26 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   116
- Remove Requires: SUNWpostrun, Add Requires: SUNWdesktop-search-libs-root
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   117
- Move %{_mandir}/ja into -l1n pkg
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   118
- Use gconf-install.script for %post root
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   119
* Wed Feb 20 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   120
- Remove unused SOURCE0
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   121
* Tue Jan 29 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   122
- Add Build/Requires SUNWgnome-python-libs/-devel.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   123
* Thu Jan 24 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   124
- Move libgc out.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   125
* Wed Jan 02 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   126
- Initial spec-file created