SUNWw3m.spec
author jerrytan
Mon, 11 Aug 2008 07:35:57 +0000
branchgnome-2-22
changeset 12497 f4743e0d8120
parent 12490 cbcf0a328666
permissions -rw-r--r--
update spec for tracker from vermillion
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     1
#
12440
9c1ac229fe05 2008-06-24 Damien Carbery <[email protected]>
dcarbery
parents: 12438
diff changeset
     2
# spec file for packages SUNWw3m
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     3
#
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
     4
# includes module(s): w3m
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     5
#
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     6
# Copyright 2008 Sun Microsystems, Inc.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     8
# package are under the same license as the package itself.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     9
#
12410
72cd6319f51f 2008-06-03 Halton Huo <[email protected]>
halton
parents: 12381
diff changeset
    10
# Owner:rickju
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    11
#
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    12
%include Solaris.inc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    13
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    14
%use w3m = w3m.spec
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    15
12440
9c1ac229fe05 2008-06-24 Damien Carbery <[email protected]>
dcarbery
parents: 12438
diff changeset
    16
Name:                    SUNWw3m
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    17
Summary:                 Desktop search tool - support libraries
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    18
Version:                 %{default_pkg_version}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    19
SUNW_BaseDir:            %{_basedir}
11922
da6b0e630b7d 2008-03-27 Halton Huo <[email protected]>
halton
parents: 11732
diff changeset
    20
SUNW_Copyright:          %{name}.copyright
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    21
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    22
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    23
%include default-depend.inc
12490
cbcf0a328666 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12440
diff changeset
    24
Requires:            SUNWlibms
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    25
Requires:            SUNWlibgc
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    26
Requires:            SUNWperl584core
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    27
Requires:            SUNWfirefox
12381
91655fd9bb55 2008-05-28 Damien Carbery <[email protected]>
dcarbery
parents: 12164
diff changeset
    28
Requires:            SUNWopenssl-libraries
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    29
BuildRequires:       SUNWlibgc-devel
12381
91655fd9bb55 2008-05-28 Damien Carbery <[email protected]>
dcarbery
parents: 12164
diff changeset
    30
BuildRequires:       SUNWopenssl-include
12490
cbcf0a328666 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12440
diff changeset
    31
BuildRequires:       SUNWlibm 
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    32
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    33
%prep
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    34
rm -rf %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    35
mkdir %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    36
%w3m.prep -d %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    37
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    38
%build
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    39
export CFLAGS="%optflags"
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    40
export LDFLAGS="%_ldflags"
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    41
export RPM_OPT_FLAGS="$CFLAGS"
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    42
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    43
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    44
%w3m.build -d %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    45
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    46
%install
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    47
rm -rf $RPM_BUILD_ROOT
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    48
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    49
%w3m.install -d %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    50
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    51
#remove man page and help file for ja
11732
d5a759fba2ae 2008-02-27 Halton Huo <[email protected]>
halton
parents: 11715
diff changeset
    52
rm -rf $RPM_BUILD_ROOT%{_mandir}/ja
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    53
rm -rf $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp-funcdesc.ja.pl
11732
d5a759fba2ae 2008-02-27 Halton Huo <[email protected]>
halton
parents: 11715
diff changeset
    54
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    55
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    56
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    57
%clean
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    58
rm -rf $RPM_BUILD_ROOT
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    59
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    60
%files
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    61
%defattr (-, root, bin)
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    62
%dir %attr (0755, root, bin) %{_bindir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    63
%{_bindir}/*
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    64
%dir %attr (0755, root, bin) %{_libdir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    65
%{_libdir}/w3m
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    66
%dir %attr (0755, root, sys) %{_datadir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    67
%{_datadir}/w3m/*
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    68
%dir %attr(0755, root, bin) %{_mandir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    69
%dir %attr(0755, root, bin) %{_mandir}/man1
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    70
%{_mandir}/man1/*
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    71
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    72
%changelog
12490
cbcf0a328666 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12440
diff changeset
    73
* Thu Aug 06 2008 - [email protected]
cbcf0a328666 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12440
diff changeset
    74
- fix a libm dependency issue #6733315  
12440
9c1ac229fe05 2008-06-24 Damien Carbery <[email protected]>
dcarbery
parents: 12438
diff changeset
    75
* Tue Jun 24 2008 - [email protected]
9c1ac229fe05 2008-06-24 Damien Carbery <[email protected]>
dcarbery
parents: 12438
diff changeset
    76
- Rename package from SUNWdesktop-search-libs to SUNWw3m. File was renamed
9c1ac229fe05 2008-06-24 Damien Carbery <[email protected]>
dcarbery
parents: 12438
diff changeset
    77
  previously.
12381
91655fd9bb55 2008-05-28 Damien Carbery <[email protected]>
dcarbery
parents: 12164
diff changeset
    78
* Mon May 26 2008 - [email protected]
91655fd9bb55 2008-05-28 Damien Carbery <[email protected]>
dcarbery
parents: 12164
diff changeset
    79
- Add openssl dependency
12118
53a13c86c500 2008-04-15 Damien Carbery <[email protected]>
dcarbery
parents: 12109
diff changeset
    80
* Tue Apr 15 2008 - [email protected]
53a13c86c500 2008-04-15 Damien Carbery <[email protected]>
dcarbery
parents: 12109
diff changeset
    81
- Remove l10n package as the libgsf files were the only l10n files.
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    82
* Mon Apr 14 2008 - [email protected]
12164
5aeb68db7a76 Add note that -root and -devel pkgs removed when pkg split into SUNWlibgsf.
dcarbery
parents: 12118
diff changeset
    83
- Move libgsf part into SUNWlibgsf. Remove -root and devel pkgs too.
11922
da6b0e630b7d 2008-03-27 Halton Huo <[email protected]>
halton
parents: 11732
diff changeset
    84
* Thu Mar 27 2008 - [email protected]
da6b0e630b7d 2008-03-27 Halton Huo <[email protected]>
halton
parents: 11732
diff changeset
    85
- Add copyright file
11732
d5a759fba2ae 2008-02-27 Halton Huo <[email protected]>
halton
parents: 11715
diff changeset
    86
* Wed Feb 27 2008 - [email protected]
d5a759fba2ae 2008-02-27 Halton Huo <[email protected]>
halton
parents: 11715
diff changeset
    87
- Remove man pages for ja
d5a759fba2ae 2008-02-27 Halton Huo <[email protected]>
halton
parents: 11715
diff changeset
    88
- Add Requires:{name} for -devel pkg
11715
9a6404d2d5c9 2008-02-26 Halton Huo <[email protected]>
halton
parents: 11685
diff changeset
    89
* Tue Feb 26 2008 - [email protected]
9a6404d2d5c9 2008-02-26 Halton Huo <[email protected]>
halton
parents: 11685
diff changeset
    90
- Remove Requires: SUNWpostrun, Add Requires: SUNWdesktop-search-libs-root
9a6404d2d5c9 2008-02-26 Halton Huo <[email protected]>
halton
parents: 11685
diff changeset
    91
- Move %{_mandir}/ja into -l1n pkg
9a6404d2d5c9 2008-02-26 Halton Huo <[email protected]>
halton
parents: 11685
diff changeset
    92
- Use gconf-install.script for %post root
11670
4cf1794354ef 2008-02-20 Halton Huo <[email protected]>
halton
parents: 11554
diff changeset
    93
* Wed Feb 20 2008 - [email protected]
4cf1794354ef 2008-02-20 Halton Huo <[email protected]>
halton
parents: 11554
diff changeset
    94
- Remove unused SOURCE0
11554
ede04fe836f4 2008-01-29 Damien Carbery <[email protected]>
dcarbery
parents: 11516
diff changeset
    95
* Tue Jan 29 2008 - [email protected]
ede04fe836f4 2008-01-29 Damien Carbery <[email protected]>
dcarbery
parents: 11516
diff changeset
    96
- Add Build/Requires SUNWgnome-python-libs/-devel.
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    97
* Thu Jan 24 2008 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    98
- Move libgc out.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    99
* Wed Jan 02 2008 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   100
- Initial spec-file created