SUNWgnome-spell.spec
author davelam
Thu, 07 Aug 2008 02:31:31 +0000
branchgnome-2-22
changeset 12491 b2fc226f1836
parent 12003 a0f5eab9100b
child 12592 e58c13cd2fc9
permissions -rw-r--r--
2008-08-07 Dave Lin <[email protected]> * closed/SUNWflash-player-plugin.spec: Hack the version number from 9.0.125 9.0.1250 to fix the integration issue, which was caused by the incorrect version number(9.0.1124 should be 9.0.124) in the previous version bump.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWgnome-spell
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): gnome-spell, enchant
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9794
diff changeset
     6
# Copyright 2007 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: jefftsai
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%use gspell = gnome-spell.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%use enchant = enchant.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Name:          SUNWgnome-spell
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:       GNOME spell checker component
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Version:       %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
SUNW_BaseDir:  %{_basedir}
12003
a0f5eab9100b 2008-04-03 Jeff Cai<[email protected]>
qc161282
parents: 10572
diff changeset
    20
SUNW_Copyright:%{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Requires:      SUNWgnome-component
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Requires:      SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires:      SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Requires:      SUNWgnome-libs
9568
deb9c2d524d2 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9504
diff changeset
    27
Requires:      SUNWlibC
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
BuildRequires: SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
BuildRequires: SUNWgnome-config-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
BuildRequires: SUNWgnome-component-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Requires:                %{name} = %{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
Summary: %{summary} - l10n content
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
SUNW_BaseDir: %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
Requires: %name
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
mkdir -p %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%enchant.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%gspell.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%build
9794
b8f6ab13caf3 2007-04-26 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9660
diff changeset
    54
%if %cc_is_gcc
b8f6ab13caf3 2007-04-26 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9660
diff changeset
    55
%else
b8f6ab13caf3 2007-04-26 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9660
diff changeset
    56
export CXX="${CXX} -norunpath"
b8f6ab13caf3 2007-04-26 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9660
diff changeset
    57
%endif
b8f6ab13caf3 2007-04-26 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9660
diff changeset
    58
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
# See http://bugzilla.abisource.com/show_bug.cgi?id=10668 for why LD is set 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
# to $CXX.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
export LD=$CXX
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9794
diff changeset
    62
export LDFLAGS="%_ldflags"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%enchant.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
export CFLAGS="%optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
export CXXFLAGS="%cxx_optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
export PKG_CONFIG_PATH=../enchant-%{enchant.version}:%{_pkg_config_path}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%gspell.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%enchant.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%gspell.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
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}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%{_libdir}/libenchant*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%{_libdir}/bonobo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%dir %{_libdir}/gnome-spell
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%{_libdir}/gnome-spell/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%dir %{_libdir}/enchant
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%{_libdir}/enchant/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%dir %attr (0755, root, other) %{_datadir}/control-center-2.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%{_datadir}/control-center-2.0/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
%{_datadir}/enchant
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%{_datadir}/gnome-spell-%{gspell.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%{_datadir}/idl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%dir %attr(0755, root, bin) %{_mandir}/man1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%{_mandir}/man1/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
%changelog
12003
a0f5eab9100b 2008-04-03 Jeff Cai<[email protected]>
qc161282
parents: 10572
diff changeset
   121
* Wed Apr 02 2008 - [email protected]
a0f5eab9100b 2008-04-03 Jeff Cai<[email protected]>
qc161282
parents: 10572
diff changeset
   122
- Add copyright file.
9794
b8f6ab13caf3 2007-04-26 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9660
diff changeset
   123
* Thu Apr 26 2007 - [email protected]
b8f6ab13caf3 2007-04-26 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9660
diff changeset
   124
- set CXX to $CXX -norunpath because libtool swallows this option sometimes
b8f6ab13caf3 2007-04-26 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9660
diff changeset
   125
  and leaves compiler paths in the binaries
9660
4509f8aba37c 2007-04-04 Irene Huang <[email protected]>
sh162551
parents: 9618
diff changeset
   126
* Wed Apr 4 2007 - [email protected]
4509f8aba37c 2007-04-04 Irene Huang <[email protected]>
sh162551
parents: 9618
diff changeset
   127
- remove enchant++.h from the package.
9618
98e25c78e20f 2007-03-23 Damien Carbery <[email protected]>
dcarbery
parents: 9568
diff changeset
   128
* Fri Mar 23 2007 - [email protected]
98e25c78e20f 2007-03-23 Damien Carbery <[email protected]>
dcarbery
parents: 9568
diff changeset
   129
- Change %{_datadir}/control-center-2.0 perms to root:other on snv to match
98e25c78e20f 2007-03-23 Damien Carbery <[email protected]>
dcarbery
parents: 9568
diff changeset
   130
  SUNWj5rt and SUNWj6rt who set the perms in their postinstall scripts.
9568
deb9c2d524d2 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9504
diff changeset
   131
* Thu Mar 15 2007 - [email protected]
deb9c2d524d2 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9504
diff changeset
   132
- Add Requires SUNWlibC after check-deps.pl run.
9504
808524c779dc 2007-03-09 Jeff Cai<[email protected]>
jefftsai
parents: 9397
diff changeset
   133
* Thu Mar 08 2007 - [email protected]
808524c779dc 2007-03-09 Jeff Cai<[email protected]>
jefftsai
parents: 9397
diff changeset
   134
- Remove dependency on aspell.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
* Wed Feb 14 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
- Make gnome-spell use enchant.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
* Sun Jan 28 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
- update %files so that dir attributes work on both s10 and nevada
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
* Mon Dec 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
- Set LD to $CXX so that linking to C++ libs works in enchant.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
* Fri Dec 08 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
- Add enchant.spec module and update %files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
* Thu May 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
- Merge -share pkg(s) into the base pkg(s).
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
* Fri Apr 21 2006 - [email protected].
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
- Add %{_libdir}/aspell to PATH,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
  this is becuase aspell change, refer to LSARC/2006/231
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
* Mon Feb 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
* Sat Oct 30 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
- change version to 2.6.0 to match other GNOME pkgs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
* Sat Oct 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
- added %pkgbuild_postprocess
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
* Thu Sep 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
- Add BuildRequires SUNWgnome-libs-devel so libgnomeui is available for 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
  gnome-spell.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
* Tue Jun 22 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
- changed install location to /usr/lib and /usr/bin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
* Thu Mar 11 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
- initial version created