SUNWw3m.spec
author rickju
Thu, 23 Oct 2008 09:36:09 +0000
changeset 14493 2af0ebc5801e
parent 13670 41334681405b
child 15143 d2d90ead6862
permissions -rw-r--r--
2008-10-23 Rick Ju <[email protected]> * manpages/Makefile, SUNWlibgsf.spec, manpages/man1/gsf-office-thumbnailer.1, manpages/man1/gsf-vba-dump.1, manpages/man1/gsf.1, SUNWw3m.spec, manpages/man1/w3m.1, manpages/man1/w3mman.1, manpages/man1/purple-remote.1: polish manpages of w3m and libgsf
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}
14493
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    19
Source:                  %{name}-manpages-0.1.tar.gz
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    20
SUNW_BaseDir:            %{_basedir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    21
SUNW_Copyright:          %{name}.copyright
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    22
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    23
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    24
%include default-depend.inc
13050
730b076e02b3 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12591
diff changeset
    25
Requires:            SUNWlibms
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    26
Requires:            SUNWlibgc
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    27
Requires:            SUNWperl584core
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    28
Requires:            SUNWfirefox
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    29
Requires:            SUNWopenssl-libraries
13050
730b076e02b3 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12591
diff changeset
    30
BuildRequires:       SUNWlibm 
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    31
BuildRequires:       SUNWlibgc-devel
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    32
BuildRequires:       SUNWopenssl-include
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    33
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    34
%if %build_l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    35
%package l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    36
Summary:                 %{summary} - l10n files
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    37
SUNW_BaseDir:            %{_basedir}
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    38
%include default-depend.inc
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    39
Requires:                %{name}
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    40
%endif
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    41
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    42
%prep
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    43
rm -rf %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    44
mkdir %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    45
%w3m.prep -d %name-%version
14493
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    46
cd %{_builddir}/%name-%version
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    47
gzcat %SOURCE0 | tar xf -
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    48
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    49
%build
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    50
export CFLAGS="%optflags"
13378
715128cf572a 2008-09-03 Rick Ju <[email protected]>
rickju
parents: 13050
diff changeset
    51
export LDFLAGS="%_ldflags -L/usr/sfw/lib -R/usr/sfw/lib"
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    52
export RPM_OPT_FLAGS="$CFLAGS"
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    53
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    54
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    55
%w3m.build -d %name-%version
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
%install
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    58
rm -rf $RPM_BUILD_ROOT
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    59
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    60
%w3m.install -d %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    61
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    62
#remove man page and help file for ja
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    63
rm -rf $RPM_BUILD_ROOT%{_mandir}/ja
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    64
rm -rf $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp-funcdesc.ja.pl
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    65
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    66
%if %build_l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    67
%else
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    68
# REMOVE l10n FILES
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    69
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    70
%endif
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    71
14493
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    72
# install man page
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    73
rm -rf $RPM_BUILD_ROOT%{_mandir}
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    74
cd %{_builddir}/%name-%version/sun-manpages
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    75
make install DESTDIR=$RPM_BUILD_ROOT
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    76
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    77
%{?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
    78
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    79
%clean
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    80
rm -rf $RPM_BUILD_ROOT
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    81
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    82
%files
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    83
%defattr (-, root, bin)
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    84
%dir %attr (0755, root, bin) %{_bindir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    85
%{_bindir}/*
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    86
%dir %attr (0755, root, bin) %{_libdir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    87
%{_libdir}/w3m
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    88
%dir %attr (0755, root, sys) %{_datadir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    89
%{_datadir}/w3m/*
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    90
%dir %attr(0755, root, bin) %{_mandir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    91
%dir %attr(0755, root, bin) %{_mandir}/man1
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    92
%{_mandir}/man1/*
13670
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13422
diff changeset
    93
%doc -d w3m-%{w3m.version} ChangeLog NEWS README
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13422
diff changeset
    94
%dir %attr (0755, root, other) %{_datadir}/doc
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    95
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    96
%if %build_l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    97
%files l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    98
%defattr (-, root, bin)
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    99
%dir %attr (0755, root, sys) %{_datadir}
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   100
%attr (-, root, other) %{_datadir}/locale
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   101
%endif
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   102
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   103
%changelog
13670
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13422
diff changeset
   104
* Fri Sep 19 2008 - [email protected]
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13422
diff changeset
   105
- Add %doc for copyright files
13050
730b076e02b3 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12591
diff changeset
   106
* Thu Aug 06 2008 - [email protected]
730b076e02b3 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12591
diff changeset
   107
- fix a libm dependency issue #6733315  
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   108
* Thu Jun 05 2008 - [email protected]
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   109
- renamed to SUNWw3m.spec 
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   110
* Wed Jun 04 2008 - [email protected]
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   111
- Add l10n packages with w3m fix.
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   112
* Mon May 26 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   113
- Add openssl dependency
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   114
* Tue Apr 15 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   115
- Remove l10n package as the libgsf files were the only l10n files.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   116
* Mon Apr 14 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   117
- Move libgsf part into SUNWlibgsf. Remove -root and devel pkgs too.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   118
* Thu Mar 27 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   119
- Add copyright file
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   120
* Wed Feb 27 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   121
- Remove man pages for ja
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   122
- Add Requires:{name} for -devel pkg
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   123
* Tue Feb 26 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   124
- Remove Requires: SUNWpostrun, Add Requires: SUNWdesktop-search-libs-root
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   125
- Move %{_mandir}/ja into -l1n pkg
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   126
- Use gconf-install.script for %post root
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   127
* Wed Feb 20 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   128
- Remove unused SOURCE0
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   129
* Tue Jan 29 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   130
- Add Build/Requires SUNWgnome-python-libs/-devel.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   131
* Thu Jan 24 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   132
- Move libgc out.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   133
* Wed Jan 02 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   134
- Initial spec-file created