SUNWdbus.spec
author laca
Mon, 01 Oct 2007 02:10:16 +0000
changeset 10579 81555ebcf4e4
parent 10572 8cdee8cd9c9c
child 10581 97465b6465b8
permissions -rw-r--r--
2007-09-30 Laszlo (Laca) Peter <[email protected]> * SUNWdbus.spec: fix %install * SUNWgnome-component.spec: convert to new style multi-ISA build
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
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    17
%use dbus_64 = dbus.spec
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    18
%endif
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    19
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    20
%include base.inc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
%use dbus = dbus.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Name:                    SUNWdbus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Summary:                 Simple IPC library based on messages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Version:                 %{dbus.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Source1:        dbus.xml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Source2:        svc-dbus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Requires:	SUNWdbus-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Requires:	SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Requires:	SUNWlxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires:       SUNWlexpt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Requires:       SUNWPython-extra
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
BuildRequires:	SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
BuildRequires:	SUNWlxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
BuildRequires:  SUNWsfwhea
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires:  SUNWPython-extra
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
Requires:       SUNWgnome-base-libs
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
%package root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
Summary:                 %{summary} - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
SUNW_BaseDir:            /
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%include default-depend.inc
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
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
mkdir %name-%version
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    55
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    56
%ifarch amd64 sparcv9
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    57
mkdir %name-%version/%_arch64
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    58
%dbus_64.prep -d %name-%version/%_arch64
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    59
%endif
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    60
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    61
mkdir %name-%version/%{base_arch}
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    62
%dbus.prep -d %name-%version/%{base_arch}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
# 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
    66
# 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
    67
# stuff in there
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
export PATH=/usr/ccs/lib:$PATH
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    70
%ifarch amd64 sparcv9
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    71
%dbus_64.build -d %name-%version/%_arch64
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    72
%endif
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    73
 
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    74
%dbus.build -d %name-%version/%{base_arch}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
rm -rf $RPM_BUILD_ROOT
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    78
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    79
%ifarch amd64 sparcv9
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    80
%dbus_64.install -d %name-%version/%_arch64
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    81
%endif
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    82
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    83
%dbus.install -d %name-%version/%{base_arch}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
# 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
    86
cd $RPM_BUILD_ROOT%{_libdir}
10278
f4767566e7d2 2007-08-07 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    87
ln -s libdbus-1.so.3 libdbus-1.so.2 
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    88
%ifarch amd64 sparcv9
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    89
cd %{_arch64}
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    90
ln -s libdbus-1.so.3.2.0 libdbus-1.so.2 
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    91
cd ../../bin/%{_arch64}
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    92
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
    93
cd ..
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    94
rmdir %{_arch64}
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
    95
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
mkdir -p $RPM_BUILD_ROOT/var/svc/manifest/system
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
chmod -R 755 $RPM_BUILD_ROOT/var/svc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
cp %SOURCE1 $RPM_BUILD_ROOT/var/svc/manifest/system/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
mkdir -p $RPM_BUILD_ROOT/lib/svc/method
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
chmod -R 755 $RPM_BUILD_ROOT/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
cp %SOURCE2 $RPM_BUILD_ROOT/lib/svc/method/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
mkdir -p $RPM_BUILD_ROOT/etc/security
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
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
   106
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
   107
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%{?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
   109
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
rm -rf $RPM_BUILD_ROOT
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 %(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
   114
%iclass manifest -f i.manifest
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
%endif
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
%pre root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
#!/bin/sh
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
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
# Use is subject to license terms.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
#
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
# Presence of this temp file will tell postinstall script
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
# 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
   126
# 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
   127
# or disabled.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
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
   129
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
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
   131
	touch $PKG_INSTALL_ROOT/var/dbus_installed.tmp
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
fi
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
exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
%post root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
#!/bin/sh
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
# Use is subject to license terms.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
#
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
# 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
   144
# installed, in which case we preserve current service state,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
# be it enabled or disabled.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
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
   147
	rm -f $PKG_INSTALL_ROOT/var/dbus_installed.tmp
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
	# enable dbus:
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
	# - 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
   151
	#   and we can invoke svcadm directly;
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
	# - 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
   153
	if [ "${PKG_INSTALL_ROOT:-/}" = "/" ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
		if [ `/sbin/zonename` = global ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
			/usr/sbin/svcadm enable svc:/system/dbus:default
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
		fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
	else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
		cat >> ${PKG_INSTALL_ROOT}/var/svc/profile/upgrade <<-EOF
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
		if [ \`/sbin/zonename\` = global ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
			/usr/sbin/svcadm enable svc:/system/dbus:default
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
		fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
EOF
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
	fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
fi
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
exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
%{_libdir}/libdbus*
10278
f4767566e7d2 2007-08-07 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   174
%{_libdir}/dbus-1.0
f4767566e7d2 2007-08-07 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   175
%{_libexecdir}/dbus-1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
%{_libexecdir}/dbus-daemon
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   177
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   178
%{_datadir}/dbus-1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   179
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   180
%dir %attr(0755, root, bin) %{_mandir}/man1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   181
%{_mandir}/man1/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   182
%ifarch amd64 sparcv9
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   183
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   184
%{_libdir}/%{_arch64}/libdbus*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   185
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   186
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   187
%files root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   188
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   189
%dir %attr (0755, root, sys) %{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   190
%config %{_sysconfdir}/dbus-1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   191
%dir %attr (0755, root, sys) %{_localstatedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   192
%dir %attr (0755, root, other) %{_localstatedir}/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   193
%attr (0755, root, root) %{_localstatedir}/lib/dbus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   194
%dir %attr (0755, root, sys) %{_localstatedir}/run
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   195
%attr (0755, root, root) %{_localstatedir}/run/dbus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   196
%dir %attr (0755, root, sys) /var/svc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   197
%dir %attr (0755, root, sys) /var/svc/manifest
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   198
%dir %attr (0755, root, sys) /var/svc/manifest/system
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   199
%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
   200
%attr (0555, root, bin) /lib/svc/method/svc-dbus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   201
%dir %attr (0755, root, sys) /etc/security
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   202
%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
   203
%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
   204
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   205
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   206
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   207
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   208
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   209
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   210
%{_libdir}/dbus*/include
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
%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
   217
%{_libdir}/%{_arch64}/pkgconfig/*.pc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   218
%{_libdir}/%{_arch64}/dbus-1.0/*
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   221
%changelog
10579
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
   222
* Sun Sep 30 2007 - [email protected]
81555ebcf4e4 2007-09-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
   223
- fix %install
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
   224
* Fri Sep 28 2007 - [email protected]
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
   225
- convert to new style multi-ISA build
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10465
diff changeset
   226
- delete SUNWxwrtl dep
10278
f4767566e7d2 2007-08-07 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   227
* Mon Aug 06 2007 - [email protected]
f4767566e7d2 2007-08-07 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   228
- 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
   229
  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
   230
  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
   231
* Sun Feb 25 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   232
- updated to include 64-bit build RFE: #6480511
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   233
* Fri Dec 15 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   234
- 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
   235
* Mon Nov 27 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   236
- Update to 1.0.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   237
* Fri Nov 24 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   238
- Update %files - remove python dir, add %{_localstatedir}/lib/dbus.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   239
* Mon Sep 18 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   240
- 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
   241
  ld(1) bug 6467925
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   242
- 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
   243
* Mon Aug 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   244
- 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
   245
* Fri Aug 25 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   246
- Use c99 compiler
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   247
* Fri Jul 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   248
- 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
   249
  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
   250
* Fri Jul 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   251
- 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
   252
* Mon May 08 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   253
- 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
   254
  bindings are built.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   255
* Tue May 02 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   256
- add SMF support (from Artem Kachitchkine)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   257
* Fri Feb 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   258
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   259
* Tue Oct 25 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   260
- Add the include dir under _libdir.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   261
* Fri Oct 21 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   262
- Initial spec file created.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   263