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