SUNWw3m.spec
author rickju
Mon, 23 Jun 2008 06:12:31 +0000
branchgnome-2-22
changeset 12438 627664cf73b1
parent 12410 SUNWdesktop-search-libs.spec@72cd6319f51f
child 12440 9c1ac229fe05
permissions -rw-r--r--
2008-06-23 Rick Ju <[email protected]> * SUNWdesktop-search-libs.spec: renamed as SUNWw3m.spec * copyright/SUNWdesktop-search-lib.copyright: renamed as SUNWw3m.copyright * SUNWdesktop-search.spec: changed for the dependency on SUNWw3m
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     1
#
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     2
# spec file for packages SUNWdesktop-search-libs
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
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    16
Name:                    SUNWdesktop-search-libs
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
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    24
Requires:            SUNWlibm
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
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    31
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    32
%prep
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    33
rm -rf %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    34
mkdir %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    35
%w3m.prep -d %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    36
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    37
%build
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    38
export CFLAGS="%optflags"
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    39
export LDFLAGS="%_ldflags"
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    40
export RPM_OPT_FLAGS="$CFLAGS"
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    41
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    42
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    43
%w3m.build -d %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    44
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    45
%install
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    46
rm -rf $RPM_BUILD_ROOT
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    47
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    48
%w3m.install -d %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    49
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    50
#remove man page and help file for ja
11732
d5a759fba2ae 2008-02-27 Halton Huo <[email protected]>
halton
parents: 11715
diff changeset
    51
rm -rf $RPM_BUILD_ROOT%{_mandir}/ja
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents: 11922
diff changeset
    52
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
    53
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    54
%{?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
    55
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    56
%clean
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    57
rm -rf $RPM_BUILD_ROOT
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    58
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    59
%files
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    60
%defattr (-, root, bin)
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    61
%dir %attr (0755, root, bin) %{_bindir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    62
%{_bindir}/*
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    63
%dir %attr (0755, root, bin) %{_libdir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    64
%{_libdir}/w3m
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    65
%dir %attr (0755, root, sys) %{_datadir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    66
%{_datadir}/w3m/*
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    67
%dir %attr(0755, root, bin) %{_mandir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    68
%dir %attr(0755, root, bin) %{_mandir}/man1
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    69
%{_mandir}/man1/*
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    70
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    71
%changelog
12381
91655fd9bb55 2008-05-28 Damien Carbery <[email protected]>
dcarbery
parents: 12164
diff changeset
    72
* Mon May 26 2008 - [email protected]
91655fd9bb55 2008-05-28 Damien Carbery <[email protected]>
dcarbery
parents: 12164
diff changeset
    73
- Add openssl dependency
12118
53a13c86c500 2008-04-15 Damien Carbery <[email protected]>
dcarbery
parents: 12109
diff changeset
    74
* Tue Apr 15 2008 - [email protected]
53a13c86c500 2008-04-15 Damien Carbery <[email protected]>
dcarbery
parents: 12109
diff changeset
    75
- 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
    76
* 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
    77
- 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
    78
* Thu Mar 27 2008 - [email protected]
da6b0e630b7d 2008-03-27 Halton Huo <[email protected]>
halton
parents: 11732
diff changeset
    79
- Add copyright file
11732
d5a759fba2ae 2008-02-27 Halton Huo <[email protected]>
halton
parents: 11715
diff changeset
    80
* Wed Feb 27 2008 - [email protected]
d5a759fba2ae 2008-02-27 Halton Huo <[email protected]>
halton
parents: 11715
diff changeset
    81
- Remove man pages for ja
d5a759fba2ae 2008-02-27 Halton Huo <[email protected]>
halton
parents: 11715
diff changeset
    82
- Add Requires:{name} for -devel pkg
11715
9a6404d2d5c9 2008-02-26 Halton Huo <[email protected]>
halton
parents: 11685
diff changeset
    83
* Tue Feb 26 2008 - [email protected]
9a6404d2d5c9 2008-02-26 Halton Huo <[email protected]>
halton
parents: 11685
diff changeset
    84
- Remove Requires: SUNWpostrun, Add Requires: SUNWdesktop-search-libs-root
9a6404d2d5c9 2008-02-26 Halton Huo <[email protected]>
halton
parents: 11685
diff changeset
    85
- Move %{_mandir}/ja into -l1n pkg
9a6404d2d5c9 2008-02-26 Halton Huo <[email protected]>
halton
parents: 11685
diff changeset
    86
- Use gconf-install.script for %post root
11670
4cf1794354ef 2008-02-20 Halton Huo <[email protected]>
halton
parents: 11554
diff changeset
    87
* Wed Feb 20 2008 - [email protected]
4cf1794354ef 2008-02-20 Halton Huo <[email protected]>
halton
parents: 11554
diff changeset
    88
- Remove unused SOURCE0
11554
ede04fe836f4 2008-01-29 Damien Carbery <[email protected]>
dcarbery
parents: 11516
diff changeset
    89
* Tue Jan 29 2008 - [email protected]
ede04fe836f4 2008-01-29 Damien Carbery <[email protected]>
dcarbery
parents: 11516
diff changeset
    90
- Add Build/Requires SUNWgnome-python-libs/-devel.
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    91
* Thu Jan 24 2008 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    92
- Move libgc out.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    93
* Wed Jan 02 2008 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    94
- Initial spec-file created