SUNWgnome-component.spec
author henryz
Wed, 09 Apr 2008 07:35:21 +0000
changeset 12065 ec40d145a28b
parent 11996 8c03a9e45131
child 12116 c49678e8c0fb
permissions -rw-r--r--
+2008-04-09 Henry Zhang <[email protected]> + + * patches/virt-manager-04-temporary-patch.diff: + Change the patch to fix AllY bug, 6686007 +
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-component
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): libIDL, ORBit2, libbonobo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
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: gheet
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
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    13
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    14
%ifarch amd64 sparcv9
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    15
%include arch64.inc
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    16
%define _sysconfdir /etc/%{_arch64}
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    17
%define _sbindir %{_prefix}/sbin/%{_arch64}
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    18
%use idl_64 = libIDL.spec
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    19
%use orbit_64 = ORBit2.spec
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    20
%use bonobo_64 = libbonobo.spec
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    21
%endif
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    22
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    23
%define _sbindir %{_prefix}/sbin
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    24
%include base.inc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
%use idl = libIDL.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
%use orbit = ORBit2.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
%use bonobo = libbonobo.spec
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    28
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Name:                    SUNWgnome-component
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Summary:                 GNOME CORBA ORB and component framework
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Source:                  %{name}-manpages-0.1.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
SUNW_BaseDir:            %{_basedir}
11996
8c03a9e45131 2008-04-01 Ghee Teo <[email protected]>
gheet
parents: 10716
diff changeset
    34
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
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
BuildRequires: SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires: SUNWlibpopt-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
BuildRequires: SUNWgnome-component-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
Requires: SUNWlibpopt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Requires: SUNWgnome-component-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
Requires: SUNWperl584usr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
Requires: SUNWperl584core
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
Requires: SUNWlxml
10588
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10579
diff changeset
    47
%if %option_with_gnu_iconv
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10579
diff changeset
    48
# for /usr/gnu/bin/printf needed in po/Makefile
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10579
diff changeset
    49
BuildRequires: SUNWgnu-coreutils
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10579
diff changeset
    50
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%package root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
Summary:                 %{summary} - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
SUNW_BaseDir:            /
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%package devel		
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
Requires: SUNWgnome-common-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
Requires: SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
Requires: SUNWlxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
Requires: SUNWgnome-component
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
Requires: SUNWlibpopt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
Requires: SUNWlibms
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
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
Requires: %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
mkdir %name-%version
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    80
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    81
%ifarch amd64 sparcv9
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    82
mkdir %name-%version/%_arch64
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    83
%idl_64.prep -d %name-%version/%_arch64
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    84
%orbit_64.prep -d %name-%version/%_arch64
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    85
%bonobo_64.prep -d %name-%version/%_arch64
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    86
%endif
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    87
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    88
mkdir %name-%version/%{base_arch}
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    89
%idl.prep -d %name-%version/%{base_arch}
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    90
%orbit.prep -d %name-%version/%{base_arch}
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    91
%bonobo.prep -d %name-%version/%{base_arch}
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
    92
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
PKG_CONFIG_DISABLE_UNINSTALLED=
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
unset PKG_CONFIG_DISABLE_UNINSTALLED
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
export PERL=/usr/perl5/bin/perl
9795
7d7c85f7e8d8 2007-04-26 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   101
export PERL_PATH=/usr/perl5/bin/perl
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
export CPP=/usr/lib/cpp
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   103
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   104
%ifarch amd64 sparcv9
10716
ec28c9ee3e14 2007-10-26 Damien Carbery <[email protected]>
dcarbery
parents: 10588
diff changeset
   105
%if %option_with_gnu_iconv
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   106
export EXTRA_LDFLAGS="-L/usr/gnu/lib/%_arch64 -R/usr/gnu/lib/%_arch64"
10716
ec28c9ee3e14 2007-10-26 Damien Carbery <[email protected]>
dcarbery
parents: 10588
diff changeset
   107
%endif
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   108
export PKG_CONFIG_PATH=../ORBit2-%{orbit.version}:../libIDL-%{idl.version}:../libbonobo-%{bonobo.version}:/usr/lib/%{_arch64}/pkgconfig
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   110
%idl_64.build -d %name-%version/%_arch64
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   111
%orbit_64.build -d %name-%version/%_arch64
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   112
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   113
export EXTRA_LDFLAGS="-L%{_builddir}/%name-%version/%_arch64/ORBit2-%{orbit.version}/src/services/name -R/usr/lib/%{_arch64}"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   115
%bonobo_64.build -d %name-%version/%_arch64
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   116
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   118
export PKG_CONFIG_PATH=../ORBit2-%{orbit.version}:../libIDL-%{idl.version}:../libbonobo-%{bonobo.version}:/usr/lib/pkgconfig
10716
ec28c9ee3e14 2007-10-26 Damien Carbery <[email protected]>
dcarbery
parents: 10588
diff changeset
   119
%if %option_with_gnu_iconv
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   120
export EXTRA_LDFLAGS="-L/usr/gnu/lib -R/usr/gnu/lib"
10716
ec28c9ee3e14 2007-10-26 Damien Carbery <[email protected]>
dcarbery
parents: 10588
diff changeset
   121
%endif
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   122
%idl.build -d %name-%version/%{base_arch}
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   123
%orbit.build -d %name-%version/%{base_arch}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   125
export EXTRA_LDFLAGS="-L%{_builddir}/%name-%version/%{base_arch}/ORBit2-%{orbit.version}/src/services/name"
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   126
 
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   127
%bonobo.build -d %name-%version/%{base_arch}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
%install
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   130
rm -rf $RPM_BUILD_ROOT
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   131
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   132
%ifarch amd64 sparcv9
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   133
%idl_64.install -d %name-%version/%_arch64
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   134
%orbit_64.install -d %name-%version/%_arch64
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   135
%bonobo_64.install -d %name-%version/%_arch64
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   136
%endif
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   137
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   138
%idl.install -d %name-%version/%{base_arch}
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   139
%orbit.install -d %name-%version/%{base_arch}
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   140
%bonobo.install -d %name-%version/%{base_arch}
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   141
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
rm -f $RPM_BUILD_ROOT%{_mandir}/*/*.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
rm -rf $RPM_BUILD_ROOT%{_datadir}/info
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
%ifarch amd64 sparcv9
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   149
rm $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/libIDL-config-2
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   150
rm $RPM_BUILD_ROOT%{_libexecdir}/%{_arch64}/bonobo-activation-server
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   151
rm $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/orbit2-config
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   152
rm $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/bonobo-slay
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
%{?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
   162
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
%{_bindir}/activation-client
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
%{_bindir}/bonobo-activation-run-query
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
%{_bindir}/bonobo-slay
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
%{_bindir}/ior-decode-2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
%{_bindir}/linc-cleanup-sockets
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
%{_bindir}/typelib-dump
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
%{_bindir}/echo-client-2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
%dir %attr (0755, root, bin) %{_sbindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   177
%{_sbindir}/bonobo-activation-sysconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   178
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   179
%{_libdir}/lib*.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   180
%{_libdir}/bonobo/monikers/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   181
%{_libdir}/bonobo/servers
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   182
%{_libdir}/bonobo-2.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   183
%{_libdir}/orbit*/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   184
%{_libexecdir}/bonobo-activation-server
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   185
%ifarch amd64 sparcv9
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   186
%dir %attr (0755, root, bin) %{_bindir}/%{_arch64}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   187
%{_bindir}/%{_arch64}/activation-client
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   188
%{_bindir}/%{_arch64}/bonobo-activation-run-query
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   189
%{_bindir}/%{_arch64}/ior-decode-2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   190
%{_bindir}/%{_arch64}/linc-cleanup-sockets
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   191
%{_bindir}/%{_arch64}/typelib-dump
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   192
%{_bindir}/%{_arch64}/echo-client-2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   193
%dir %attr (0755, root, bin) %{_sbindir}/%{_arch64}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   194
%{_sbindir}/%{_arch64}/bonobo-activation-sysconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   195
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   196
%{_libdir}/%{_arch64}/lib*.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   197
%{_libdir}/%{_arch64}/bonobo/monikers/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   198
%{_libdir}/%{_arch64}/bonobo/servers
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   199
%{_libdir}/%{_arch64}/bonobo-2.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   200
%{_libdir}/%{_arch64}/orbit*/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   201
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   202
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   203
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   204
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   205
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   206
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   207
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   208
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   209
%{_bindir}/libIDL*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   210
%{_bindir}/orbit*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   211
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   212
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   213
%ifarch amd64 sparcv9
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   214
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   215
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   216
%{_libdir}/%{_arch64}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   217
%dir %attr (0755, root, bin) %{_bindir}/%{_arch64}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   218
%{_bindir}/%{_arch64}/orbit-idl-2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   219
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   220
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   221
%{_datadir}/gtk-doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   222
%dir %attr (0755, root, other) %{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   223
%{_datadir}/aclocal/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   224
%{_datadir}/idl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   225
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   226
%dir %attr(0755, root, bin) %{_mandir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   227
%{_mandir}/*/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   228
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   229
%files root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   230
%defattr (-, root, sys)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   231
%attr (0755, root, sys) %dir %{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   232
%{_sysconfdir}/[bo]*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   233
%ifarch sparcv9 amd64
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   234
%{_sysconfdir}/%{_arch64}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   235
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   236
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   237
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   238
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   239
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   240
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   241
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   242
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   243
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   244
%changelog
10716
ec28c9ee3e14 2007-10-26 Damien Carbery <[email protected]>
dcarbery
parents: 10588
diff changeset
   245
* Fri Oct 26 2007 - [email protected]
ec28c9ee3e14 2007-10-26 Damien Carbery <[email protected]>
dcarbery
parents: 10588
diff changeset
   246
- Only add /usr/gnu/lib to EXTRA_LDFLAGS when using GNU iconv.
10588
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10579
diff changeset
   247
* Tue Oct  2 2007 - [email protected]
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10579
diff changeset
   248
- add SUNWgnu-coreutils dep for /usr/bin/printf
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   249
* Sun Sep 30 2007 - [email protected]
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9795
diff changeset
   250
- convert to new style multi-ISA build
9795
7d7c85f7e8d8 2007-04-26 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   251
* Thu Apr 26 2007 - [email protected]
7d7c85f7e8d8 2007-04-26 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   252
- set PERL_PATH for bonobo-slay, part of 6454456
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   253
* Fri Sep 08 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   254
- Remove "rm" of _mandir during %install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   255
* Fri Sep 01 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   256
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   257
* Sat Aug 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   258
- set PERL to /usr/perl5/bin/perl as per CR6454456
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   259
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   260
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   261
* Wed May 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   262
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   263
* Sun Feb 19 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   264
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   265
* Thu Feb  2 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   266
- Add hack to use /usr/xpg4/bin/sed for libbonobo so last line of file not 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   267
  dropped.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   268
* Sun Sep 18 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   269
- remove unpackaged 64-bit files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   270
* Fri Sep 02 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   271
- remove unpackaged files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   272
* Wed May 11 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   273
- Create symlink when building ORBit2 to allow uninstalled.pc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   274
  files to find header files properly.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   275
* Thu Oct 21 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   276
- set PERL and PERL_PATH, fixes 5100958
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   277
* Wed Oct 13 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   278
- use _pkg_config_path64 in $PKG_CONFIG_PATH64
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   279
* Sat Oct 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   280
- added %pkgbuild_postprocess
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   281
* Sat Oct  2 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   282
- Create 64bit libraries for Solaris
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   283
* Thu Sep 09 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   284
- Added bonobo-slay.1 manpage
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   285
* Tue Aug 31 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   286
- Bug 5091588 : Added BuildRequires SUNWgnome-base-libs-devel since 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   287
  SUNWgnome-base-libs was split
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   288
* Mon Aug 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   289
- s/SUNWpl5u/SUNWperl584usr/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   290
* Wed Aug 18 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   291
- Changed manpage mode to 0755 for Solaris integration.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   292
* Tue Aug 17 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   293
- Changed manpage mode to 0755 for Solaris integration.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   294
* Mon Aug 16 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   295
- Changed multiple manpage modes to 0755 for Solaris integration.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   296
* Sat Jun 26 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   297
- Changed install location to /usr/...
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   298
* Thu May 27 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   299
- added l10n subpkg, remove share, since it only contained the l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   300
* Wed May 19 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   301
- Added missing man pages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   302
* Thu May 06 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   303
- Removed libraries from devel package since they are already
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   304
  in the SUNWgnome-component package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   305
* Wed Mar 24 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   306
- Added SGML man page integration
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   307
* Fri Mar 12 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   308
- more missing files: sbindir, bonobo monikiers and servers
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   309
* Mon Mar 01 2003 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   310
- added missing bonobo/activation binaries to
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   311
  files map. 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   312
* Fri Feb 13 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   313
- added %dir flags
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   314
* Mon Jan 19 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   315
- initial Sun release.