SUNWpostrun.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 16431 d7743d81b302
child 17842 1cc615f41f16
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
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 SUNWpostrun
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): postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2005 Sun Microsystems, Inc.
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
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16431
diff changeset
    10
%define owner laca
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
16431
d7743d81b302 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 11965
diff changeset
    12
d7743d81b302 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 11965
diff changeset
    13
%define OSR developed in the open, no OSR needed:0
d7743d81b302 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 11965
diff changeset
    14
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Name:                    SUNWpostrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:                 Delayed execution environment for procedural package scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Version:                 1.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Source1:                 postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Source2:                 postrun.usr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Source3:                 postrun-runq
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Source4:                 postrun-query
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Source5:                 postrun.xml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
SUNW_BaseDir:            /usr
11965
acd528faf5ad 2008-03-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    25
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Requires: %{name}-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%package root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Summary:                 %{summary} - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
SUNW_BaseDir:            /
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: SUNWlxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
mkdir -p \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
    $RPM_BUILD_ROOT/usr/lib \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
    $RPM_BUILD_ROOT/var/spool/postrun \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
    $RPM_BUILD_ROOT/var/log \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
    $RPM_BUILD_ROOT/var/lib/postrun \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
    $RPM_BUILD_ROOT/var/svc/manifest/system
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
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT/var/lib/postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT/usr/lib/postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
install --mode=0755 %SOURCE3 $RPM_BUILD_ROOT/var/lib/postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
install --mode=0755 %SOURCE4 $RPM_BUILD_ROOT/usr/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
install --mode=0444 %SOURCE5 $RPM_BUILD_ROOT/var/svc/manifest/system
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
touch $RPM_BUILD_ROOT/var/log/postrun.log
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%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
    55
%iclass manifest -f i.manifest
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%dir %attr (0755, root, bin) /usr/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
/usr/lib/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%files root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%defattr (-, root, sys)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%dir %attr (0755, root, other) /var/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
/var/lib/postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%dir %attr (0755, root, bin) /var/spool
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%attr (0755, root, bin) /var/spool/postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%class(manifest) /var/svc/manifest/system/postrun.xml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%ghost /var/log/postrun.log
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%changelog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
* Thu Jul 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
- move postrun to /var/lib, add a wrapper script (postrun.usr) to /usr/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
- add postrun-query
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
* Sat Dec  3 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
- created