SUNWdbus.spec
author davelam
Thu, 07 Aug 2008 02:31:31 +0000
branchgnome-2-22
changeset 12491 b2fc226f1836
parent 11937 1c2548ce7ef9
child 13189 836ff5d12ba2
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 SUNWdbus
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): dbus
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: 10465
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: yippi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    12
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    15
%ifarch amd64 sparcv9
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    16
%include arch64.inc
10586
2a8ac5bf6758 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10581
diff changeset
    17
%define _libexecdir %{_basedir}/lib
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    18
%use dbus_64 = dbus.spec
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    19
%endif
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    20
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    21
%include base.inc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
%use dbus = dbus.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Name:                    SUNWdbus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Summary:                 Simple IPC library based on messages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Version:                 %{dbus.version}
11223
629a5ee16ecc 2007-11-20 Brian Cameron <[email protected]>
yippi
parents: 10624
diff changeset
    27
Source:                  %{name}-manpages-0.1.tar.gz
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
SUNW_BaseDir:            %{_basedir}
11937
1c2548ce7ef9 2008-03-27 Brian Cameron <[email protected]>
yippi
parents: 11891
diff changeset
    29
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Source1:        dbus.xml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Source2:        svc-dbus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires:	SUNWdbus-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Requires:	SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Requires:	SUNWlxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Requires:       SUNWlexpt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Requires:       SUNWPython-extra
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires:	SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
BuildRequires:	SUNWlxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
BuildRequires:  SUNWsfwhea
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
BuildRequires:  SUNWPython-extra
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
Requires:       SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%package root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
Summary:                 %{summary} - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
SUNW_BaseDir:            /
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
mkdir %name-%version
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    58
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    59
%ifarch amd64 sparcv9
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    60
mkdir %name-%version/%_arch64
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    61
%dbus_64.prep -d %name-%version/%_arch64
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    62
%endif
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    63
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    64
mkdir %name-%version/%{base_arch}
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    65
%dbus.prep -d %name-%version/%{base_arch}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
11223
629a5ee16ecc 2007-11-20 Brian Cameron <[email protected]>
yippi
parents: 10624
diff changeset
    67
cd %{_builddir}/%name-%version
629a5ee16ecc 2007-11-20 Brian Cameron <[email protected]>
yippi
parents: 10624
diff changeset
    68
gzcat %SOURCE0 | tar xf -
629a5ee16ecc 2007-11-20 Brian Cameron <[email protected]>
yippi
parents: 10624
diff changeset
    69
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
# Put /usr/ccs/lib first in the PATH so that cpp is picked up from there
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
# note: I didn't put /usr/lib in the PATH because there's too much other
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
# stuff in there
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
export PATH=/usr/ccs/lib:$PATH
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    76
%ifarch amd64 sparcv9
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    77
%dbus_64.build -d %name-%version/%_arch64
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    78
%endif
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    79
 
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    80
%dbus.build -d %name-%version/%{base_arch}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
rm -rf $RPM_BUILD_ROOT
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    84
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    85
%ifarch amd64 sparcv9
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    86
%dbus_64.install -d %name-%version/%_arch64
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    87
%endif
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    88
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    89
%dbus.install -d %name-%version/%{base_arch}
11223
629a5ee16ecc 2007-11-20 Brian Cameron <[email protected]>
yippi
parents: 10624
diff changeset
    90
rm -rf $RPM_BUILD_ROOT%{_mandir}
629a5ee16ecc 2007-11-20 Brian Cameron <[email protected]>
yippi
parents: 10624
diff changeset
    91
cd %{_builddir}/%name-%version/sun-manpages
629a5ee16ecc 2007-11-20 Brian Cameron <[email protected]>
yippi
parents: 10624
diff changeset
    92
make install DESTDIR=$RPM_BUILD_ROOT
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    94
%ifarch amd64 sparcv9
11891
28837b43d0af Formatting and fix of broken build.
dcarbery
parents: 11880
diff changeset
    95
cd $RPM_BUILD_ROOT%{_bindir}/%{_arch64}
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    96
rm dbus-launch dbus-monitor dbus-cleanup-sockets dbus-send dbus-uuidgen
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    97
cd ..
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    98
rmdir %{_arch64}
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    99
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
mkdir -p $RPM_BUILD_ROOT/var/svc/manifest/system
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
chmod -R 755 $RPM_BUILD_ROOT/var/svc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
cp %SOURCE1 $RPM_BUILD_ROOT/var/svc/manifest/system/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
mkdir -p $RPM_BUILD_ROOT/lib/svc/method
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
chmod -R 755 $RPM_BUILD_ROOT/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
cp %SOURCE2 $RPM_BUILD_ROOT/lib/svc/method/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
mkdir -p $RPM_BUILD_ROOT/etc/security
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
echo 'solaris.smf.manage.dbus:::Manage D-BUS Service States::help=SmfDBUSStates.html' > $RPM_BUILD_ROOT/etc/security/auth_attr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
echo 'D-BUS Management:::Manage D-BUS:auths=solaris.smf.manage.dbus;help=RtDBUSMngmnt.html' > $RPM_BUILD_ROOT/etc/security/prof_attr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
%{?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
   113
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
%if %(test -f /usr/sadm/install/scripts/i.manifest && echo 0 || echo 1)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
%iclass manifest -f i.manifest
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
%pre root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
#!/bin/sh
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
# Use is subject to license terms.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
# Presence of this temp file will tell postinstall script
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
# that the dbus service is already installed, in which case
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
# the current service state will be preserved, be it enabled
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
# or disabled.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
rm -f $PKG_INSTALL_ROOT/var/dbus_installed.tmp > /dev/null 2>&1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
if [ -f $PKG_INSTALL_ROOT/var/svc/manifest/system/dbus.xml ]; then 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
	touch $PKG_INSTALL_ROOT/var/dbus_installed.tmp
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
%post root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
#!/bin/sh
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
# Use is subject to license terms.
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
# Preinstall script will create this file if dbus service was already
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
# installed, in which case we preserve current service state,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
# be it enabled or disabled.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
if [ -f $PKG_INSTALL_ROOT/var/dbus_installed.tmp ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
	rm -f $PKG_INSTALL_ROOT/var/dbus_installed.tmp
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
	# enable dbus:
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
	# - PKG_INSTALL_ROOT is / or empty when installing onto a live system
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
	#   and we can invoke svcadm directly;
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
	# - otherwise it's upgrade, so we append to the upgrade script
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
	if [ "${PKG_INSTALL_ROOT:-/}" = "/" ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
		if [ `/sbin/zonename` = global ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
			/usr/sbin/svcadm enable svc:/system/dbus:default
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
		fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
	else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
		cat >> ${PKG_INSTALL_ROOT}/var/svc/profile/upgrade <<-EOF
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
		if [ \`/sbin/zonename\` = global ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
			/usr/sbin/svcadm enable svc:/system/dbus:default
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
		fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
EOF
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
	fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   177
%{_libdir}/libdbus*
10278
f4767566e7d2 2007-08-07 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   178
%{_libexecdir}/dbus-1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   179
%{_libexecdir}/dbus-daemon
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   180
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   181
%{_datadir}/dbus-1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   182
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   183
%dir %attr(0755, root, bin) %{_mandir}/man1
11223
629a5ee16ecc 2007-11-20 Brian Cameron <[email protected]>
yippi
parents: 10624
diff changeset
   184
%dir %attr(0755, root, bin) %{_mandir}/man3
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   185
%{_mandir}/man1/*
11223
629a5ee16ecc 2007-11-20 Brian Cameron <[email protected]>
yippi
parents: 10624
diff changeset
   186
%{_mandir}/man3/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   187
%ifarch amd64 sparcv9
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   188
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   189
%{_libdir}/%{_arch64}/libdbus*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   190
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   191
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   192
%files root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   193
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   194
%dir %attr (0755, root, sys) %{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   195
%config %{_sysconfdir}/dbus-1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   196
%dir %attr (0755, root, sys) %{_localstatedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   197
%dir %attr (0755, root, other) %{_localstatedir}/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   198
%attr (0755, root, root) %{_localstatedir}/lib/dbus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   199
%dir %attr (0755, root, sys) %{_localstatedir}/run
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   200
%attr (0755, root, root) %{_localstatedir}/run/dbus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   201
%dir %attr (0755, root, sys) /var/svc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   202
%dir %attr (0755, root, sys) /var/svc/manifest
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   203
%dir %attr (0755, root, sys) /var/svc/manifest/system
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   204
%class(manifest) %attr (0444, root, sys) /var/svc/manifest/system/dbus.xml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   205
%attr (0555, root, bin) /lib/svc/method/svc-dbus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   206
%dir %attr (0755, root, sys) /etc/security
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   207
%config %class (rbac) %attr (0644, root, sys) /etc/security/auth_attr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   208
%config %class (rbac) %attr (0644, root, sys) /etc/security/prof_attr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   209
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   210
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   211
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   212
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   213
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   214
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   215
%{_libdir}/dbus*/include
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   216
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   217
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   218
%ifarch amd64 sparcv9
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   219
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   220
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   221
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}/dbus-1.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   222
%{_libdir}/%{_arch64}/pkgconfig/*.pc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   223
%{_libdir}/%{_arch64}/dbus-1.0/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   224
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   225
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   226
%changelog
11937
1c2548ce7ef9 2008-03-27 Brian Cameron <[email protected]>
yippi
parents: 11891
diff changeset
   227
* Thu Mar 27 2008 - [email protected]
1c2548ce7ef9 2008-03-27 Brian Cameron <[email protected]>
yippi
parents: 11891
diff changeset
   228
- Add SUNW_Copyright.
11891
28837b43d0af Formatting and fix of broken build.
dcarbery
parents: 11880
diff changeset
   229
* Wed Mar 19 2008 - [email protected]
28837b43d0af Formatting and fix of broken build.
dcarbery
parents: 11880
diff changeset
   230
- Remove the symlinks that point from /usr/lib/libdbus-1.so.2 to
28837b43d0af Formatting and fix of broken build.
dcarbery
parents: 11880
diff changeset
   231
  /usr/lib/libdbus-1.so.3.  Now that ON updated their build machines to use the
28837b43d0af Formatting and fix of broken build.
dcarbery
parents: 11880
diff changeset
   232
  new D-Bus library, the symlinks are no longer needed.
11439
0f2a3b3ff86d 2008-01-11 Damien Carbery <[email protected]>
dcarbery
parents: 11223
diff changeset
   233
* Fri Jan 11 2008 - [email protected]
0f2a3b3ff86d 2008-01-11 Damien Carbery <[email protected]>
dcarbery
parents: 11223
diff changeset
   234
- Fix amd64/sparcv9 symlink to point to libdbus-1.so.3 (2nd half of Brian's
0f2a3b3ff86d 2008-01-11 Damien Carbery <[email protected]>
dcarbery
parents: 11223
diff changeset
   235
  change on Aug 6. Fixes 6624762.
11223
629a5ee16ecc 2007-11-20 Brian Cameron <[email protected]>
yippi
parents: 10624
diff changeset
   236
* Tue Nov 20 2007 - [email protected]
629a5ee16ecc 2007-11-20 Brian Cameron <[email protected]>
yippi
parents: 10624
diff changeset
   237
- Add dbus manpages.
10624
303de5c195ab 2007-10-08 Damien Carbery <[email protected]>
dcarbery
parents: 10586
diff changeset
   238
* Mon Oct  8 2007 - [email protected]
303de5c195ab 2007-10-08 Damien Carbery <[email protected]>
dcarbery
parents: 10586
diff changeset
   239
- Remove %{_libdir}/dbus-1 line from base package as it only contains a header
303de5c195ab 2007-10-08 Damien Carbery <[email protected]>
dcarbery
parents: 10586
diff changeset
   240
  file and is duplicated in the devel package. Fixes 6613798.
10581
97465b6465b8 2007-10-01 Damien Carbery <[email protected]>
dcarbery
parents: 10579
diff changeset
   241
* Mon Oct  1 2007 - [email protected]
10586
2a8ac5bf6758 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10581
diff changeset
   242
- change 64-bit libexecdir to /usr/lib
2a8ac5bf6758 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10581
diff changeset
   243
* Mon Oct  1 2007 - [email protected]
10581
97465b6465b8 2007-10-01 Damien Carbery <[email protected]>
dcarbery
parents: 10579
diff changeset
   244
- Fix %files, adding %{_libdir}/%{_arch64}/dbus-1.
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
   245
* Sun Sep 30 2007 - [email protected]
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
   246
- fix %install
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
   247
* Fri Sep 28 2007 - [email protected]
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
   248
- convert to new style multi-ISA build
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
   249
- delete SUNWxwrtl dep
10278
f4767566e7d2 2007-08-07 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   250
* Mon Aug 06 2007 - [email protected]
f4767566e7d2 2007-08-07 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   251
- Fix packaging after bumping to 1.1.2.  Also fix the symlink so we
f4767566e7d2 2007-08-07 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   252
  link to libdbus-1.so.3 rather than libdbus-1.so.3.# so we don't have
f4767566e7d2 2007-08-07 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   253
  to update the link each time we upgrade the D-Bus library.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   254
* Sun Feb 25 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   255
- updated to include 64-bit build RFE: #6480511
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   256
* Fri Dec 15 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   257
- Create symlink to support hal which was built with an older version of dbus.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   258
* Mon Nov 27 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   259
- Update to 1.0.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   260
* Fri Nov 24 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   261
- Update %files - remove python dir, add %{_localstatedir}/lib/dbus.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   262
* Mon Sep 18 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   263
- revert to normal optimisation flags, the build problems were caused by
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   264
  ld(1) bug 6467925
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   265
- change /var/run/dbus permissions to root:root, fixes 6460949
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   266
* Mon Aug 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   267
- Use '-xO2' optimization (not -xO4) as the latter causes seg faults in build.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   268
* Fri Aug 25 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   269
- Use c99 compiler
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   270
* Fri Jul 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   271
- add pre and post scripts for enabling the dbus svc upon installation
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   272
  but leaving it as is upon upgrade (Artem Kachitchkine, David Bustos)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   273
* Fri Jul 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   274
- Add dbus RBAC entries to auth_attr and prof_attr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   275
* Mon May 08 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   276
- Add Build/Requires dependency on SUNWPython-extra (for Pyrex) so that python
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   277
  bindings are built.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   278
* Tue May 02 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   279
- add SMF support (from Artem Kachitchkine)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   280
* Fri Feb 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   281
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   282
* Tue Oct 25 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   283
- Add the include dir under _libdir.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   284
* Fri Oct 21 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   285
- Initial spec file created.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   286