SUNWw3m.spec
author hawklu
Fri, 26 Feb 2010 03:26:31 +0000
branchgnome-2-28
changeset 18643 8c2f88f3d983
parent 16434 f21f22550fe9
child 17070 1e3fda68c84c
permissions -rw-r--r--
2010-02-26 Brian Lu <[email protected]> * SUNWsqlite3.spec: * base-specs/sqlite.spec: * copyright/SUNWsqlite3.copyright: * ext-sources/mapfile-libsqlite3: * ext-sources/pkgIndex.tcl: * manpages/Makefile: * manpages/man1/sqlite3.1: * patches/sqlite3-01-using-mapfile.diff: Ship sqlite3 packages
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
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15650
diff changeset
    10
%define owner yuntong.jin 
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
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15523
diff changeset
    25
Requires:            SUNWgtk2
13050
730b076e02b3 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12591
diff changeset
    26
Requires:            SUNWlibms
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    27
Requires:            SUNWlibgc
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    28
Requires:            SUNWperl584core
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    29
Requires:            SUNWfirefox
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    30
Requires:            SUNWopenssl-libraries
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15523
diff changeset
    31
BuildRequires:       SUNWgtk2-devel
13050
730b076e02b3 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12591
diff changeset
    32
BuildRequires:       SUNWlibm 
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    33
BuildRequires:       SUNWlibgc-devel
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    34
BuildRequires:       SUNWopenssl-include
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    35
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    36
%if %build_l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    37
%package l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    38
Summary:                 %{summary} - l10n files
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    39
SUNW_BaseDir:            %{_basedir}
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    40
%include default-depend.inc
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    41
Requires:                %{name}
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    42
%endif
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    43
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    44
%prep
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    45
rm -rf %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    46
mkdir %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    47
%w3m.prep -d %name-%version
14493
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    48
cd %{_builddir}/%name-%version
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    49
gzcat %SOURCE0 | tar xf -
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    50
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    51
%build
15176
67183f16417a change libgc to /usr/lib/bdw-gc
jerrytan
parents: 15150
diff changeset
    52
export CFLAGS="%optflags `pkg-config --cflags bdw-gc`"
67183f16417a change libgc to /usr/lib/bdw-gc
jerrytan
parents: 15150
diff changeset
    53
export LDFLAGS="%_ldflags -L/usr/sfw/lib -R/usr/sfw/lib `pkg-config --libs bdw-gc` "
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    54
export RPM_OPT_FLAGS="$CFLAGS"
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    55
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
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.build -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
%install
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    60
rm -rf $RPM_BUILD_ROOT
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
%w3m.install -d %name-%version
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    63
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    64
#remove man page and help file for ja
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    65
rm -rf $RPM_BUILD_ROOT%{_mandir}/ja
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    66
rm -rf $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp-funcdesc.ja.pl
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    67
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    68
%if %build_l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    69
%else
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    70
# REMOVE l10n FILES
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    71
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    72
%endif
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    73
14493
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    74
# install man page
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    75
rm -rf $RPM_BUILD_ROOT%{_mandir}
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    76
cd %{_builddir}/%name-%version/sun-manpages
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    77
make install DESTDIR=$RPM_BUILD_ROOT
2af0ebc5801e 2008-10-23 Rick Ju <[email protected]>
rickju
parents: 13670
diff changeset
    78
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    79
%{?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
    80
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    81
%clean
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    82
rm -rf $RPM_BUILD_ROOT
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    83
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    84
%files
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    85
%defattr (-, root, bin)
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    86
%dir %attr (0755, root, bin) %{_bindir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    87
%{_bindir}/*
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    88
%dir %attr (0755, root, bin) %{_libdir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    89
%{_libdir}/w3m
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    90
%dir %attr (0755, root, sys) %{_datadir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    91
%{_datadir}/w3m/*
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    92
%dir %attr(0755, root, bin) %{_mandir}
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    93
%dir %attr(0755, root, bin) %{_mandir}/man1
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    94
%{_mandir}/man1/*
13670
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13422
diff changeset
    95
%doc -d w3m-%{w3m.version} ChangeLog NEWS README
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13422
diff changeset
    96
%dir %attr (0755, root, other) %{_datadir}/doc
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
    97
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    98
%if %build_l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
    99
%files l10n
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   100
%defattr (-, root, bin)
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   101
%dir %attr (0755, root, sys) %{_datadir}
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   102
%attr (-, root, other) %{_datadir}/locale
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   103
%endif
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   104
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   105
%changelog
15523
f500d935ed80 change the owner of SUNWw3n.spec and SUNWgnome-hex-editor.spec to yuntong.jin
jouby
parents: 15297
diff changeset
   106
* Mon Mar 30 2009 - [email protected]
f500d935ed80 change the owner of SUNWw3n.spec and SUNWgnome-hex-editor.spec to yuntong.jin
jouby
parents: 15297
diff changeset
   107
- change the owner to yuntong.jin
13670
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13422
diff changeset
   108
* Fri Sep 19 2008 - [email protected]
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13422
diff changeset
   109
- Add %doc for copyright files
13050
730b076e02b3 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12591
diff changeset
   110
* Thu Aug 06 2008 - [email protected]
730b076e02b3 2008-08-06 Rick Ju <[email protected]>
rickju
parents: 12591
diff changeset
   111
- fix a libm dependency issue #6733315  
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   112
* Thu Jun 05 2008 - [email protected]
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   113
- renamed to SUNWw3m.spec 
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   114
* Wed Jun 04 2008 - [email protected]
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12590
diff changeset
   115
- Add l10n packages with w3m fix.
12590
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   116
* Mon May 26 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   117
- Add openssl dependency
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   118
* Tue Apr 15 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   119
- Remove l10n package as the libgsf files were the only l10n files.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   120
* Mon Apr 14 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   121
- Move libgsf part into SUNWlibgsf. Remove -root and devel pkgs too.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   122
* Thu Mar 27 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   123
- Add copyright file
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   124
* Wed Feb 27 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   125
- Remove man pages for ja
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   126
- Add Requires:{name} for -devel pkg
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   127
* Tue Feb 26 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   128
- Remove Requires: SUNWpostrun, Add Requires: SUNWdesktop-search-libs-root
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   129
- Move %{_mandir}/ja into -l1n pkg
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   130
- Use gconf-install.script for %post root
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   131
* Wed Feb 20 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   132
- Remove unused SOURCE0
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   133
* Tue Jan 29 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   134
- Add Build/Requires SUNWgnome-python-libs/-devel.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   135
* Thu Jan 24 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   136
- Move libgc out.
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   137
* Wed Jan 02 2008 - [email protected]
aba3e9af9b50 2008-06-04 Rick Ju <[email protected]>
rickju
parents:
diff changeset
   138
- Initial spec-file created
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15523
diff changeset
   139