SUNWw3m.spec
author rickju
Thu, 05 Jun 2008 06:22:52 +0000
changeset 12590 aba3e9af9b50
child 12591 cc160146d842
permissions -rw-r--r--
2008-06-04 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:
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
#
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    10
# Owner: halton
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
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    17
Summary:                 Desktop search tool - support libraries
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
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    24
Requires:            SUNWlibm
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
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    29
BuildRequires:       SUNWlibgc-devel
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    30
BuildRequires:       SUNWopenssl-include
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    31
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    32
%prep
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    33
rm -rf %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    34
mkdir %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    35
%w3m.prep -d %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    36
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    37
%build
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    38
export CFLAGS="%optflags"
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    39
export LDFLAGS="%_ldflags"
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    40
export RPM_OPT_FLAGS="$CFLAGS"
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    41
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    42
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    43
%w3m.build -d %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    44
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    45
%install
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    46
rm -rf $RPM_BUILD_ROOT
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    47
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    48
%w3m.install -d %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    49
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    50
#remove man page and help file for ja
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    51
rm -rf $RPM_BUILD_ROOT%{_mandir}/ja
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    52
rm -rf $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp-funcdesc.ja.pl
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
%{?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
    55
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    56
%clean
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    57
rm -rf $RPM_BUILD_ROOT
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
%files
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    60
%defattr (-, root, bin)
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    61
%dir %attr (0755, root, bin) %{_bindir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    62
%{_bindir}/*
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    63
%dir %attr (0755, root, bin) %{_libdir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    64
%{_libdir}/w3m
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    65
%dir %attr (0755, root, sys) %{_datadir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    66
%{_datadir}/w3m/*
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    67
%dir %attr(0755, root, bin) %{_mandir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    68
%dir %attr(0755, root, bin) %{_mandir}/man1
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    69
%{_mandir}/man1/*
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
%changelog
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    72
* Thu Jun 05 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    73
* renamed to SUNWw3m.spec 
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    74
* Mon May 26 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    75
- Add openssl dependency
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    76
* Tue Apr 15 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    77
- Remove l10n package as the libgsf files were the only l10n files.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    78
* Mon Apr 14 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    79
- Move libgsf part into SUNWlibgsf. Remove -root and devel pkgs too.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    80
* Thu Mar 27 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    81
- Add copyright file
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    82
* Wed Feb 27 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    83
- Remove man pages for ja
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    84
- Add Requires:{name} for -devel pkg
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    85
* Tue Feb 26 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    86
- Remove Requires: SUNWpostrun, Add Requires: SUNWdesktop-search-libs-root
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    87
- Move %{_mandir}/ja into -l1n pkg
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    88
- Use gconf-install.script for %post root
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    89
* Wed Feb 20 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    90
- Remove unused SOURCE0
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    91
* Tue Jan 29 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    92
- Add Build/Requires SUNWgnome-python-libs/-devel.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    93
* Thu Jan 24 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    94
- Move libgc out.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    95
* Wed Jan 02 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    96
- Initial spec-file created