closed/SUNWacroread.spec
author davelam
Sat, 18 Apr 2009 12:26:03 +0000
changeset 15650 dbcf7e3715dd
parent 15583 f552615c30cd
child 15780 10d3bbd83892
permissions -rw-r--r--
2009-04-18 Dave Lin <[email protected]> Update dependencies for the following spec files: o move the dependencies to the split gnome-base-libs o add other missed dependencies
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9403
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
     1
#
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
     2
# spec file for package SUNWacroread
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
     3
#
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
     4
# includes module(s): acroread
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
     5
#
11500
03f6ce732555 2008-01-22 Laszlo (Laca) Peter <[email protected]>
laca
parents: 11488
diff changeset
     6
# Copyright 2008 Sun Microsystems, Inc.
9403
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
     9
#
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    10
# Owner: dermot
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    11
#
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    12
# DO NOT REMOVE NEXT LINE
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    13
# PACKAGE NOT ARC REVIEWED BY SUN JDS TEAM
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    14
#
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    15
%include Solaris.inc
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    16
%define _prefix %{_basedir}
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    17
%define _bindir %{_prefix}/bin
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    18
%define _libdir %{_prefix}/lib
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    19
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    20
15583
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
    21
%ifarch sparc
9403
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    22
%use acroread = acroread.spec
15583
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
    23
%else
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
    24
%use acroread = acroread-x86.spec
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
    25
%endif
9403
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    26
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    27
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    28
Name:                    SUNWacroread
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    29
Summary:                 Acrobat Reader for PDF files
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    30
Version:                 %{acroread.version}
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    31
SUNW_BaseDir:            %{_basedir}
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    32
SUNW_Category:           MOZ17,application,%{jds_version}
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    33
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
11947
85eb534907b2 Move Copyright info to after 'Name' is defined.
dcarbery
parents: 11921
diff changeset
    34
SUNW_Copyright:          %{name}.copyright
9403
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    35
%include default-depend.inc
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    36
Requires: SUNWmfrun
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    37
Requires: SUNWxwplt
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    38
Requires: SUNWcslr
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    39
Requires: SUNWlibmsr
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    40
Requires: SUNWlibms
15583
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
    41
Requires: SUNWdesktop-cache
9403
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    42
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    43
%ifarch sparc
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    44
Requires: SUNWbcp
15583
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
    45
%else
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
    46
Requires: SUNWgnome-component
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
    47
Requires: SUNWgnome-vfs
9403
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    48
%endif
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    49
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    50
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    51
%package plugin
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    52
Summary:                 Acrobat Reader Plugin for Firefox
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    53
SUNW_BaseDir:            %{_basedir}
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    54
%include default-depend.inc
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    55
BuildRequires: SUNWfirefox
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    56
Requires: SUNWfirefox
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    57
Requires: SUNWacroread
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    58
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    59
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    60
%prep
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    61
rm -rf %name-%version
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    62
mkdir %name-%version
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    63
%acroread.prep -d %name-%version
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    64
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    65
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    66
%install
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    67
%acroread.install -d %name-%version
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    68
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    69
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    70
%clean
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    71
rm -rf $RPM_BUILD_ROOT
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    72
11488
c3a5edeeae7f bump acroread to 8.1.1, 6652500
dermot
parents: 9403
diff changeset
    73
15583
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
    74
%ifarch sparc
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
    75
# ifarch for post/preun/files
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
    76
9403
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
    77
%post
15583
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
    78
%restart_fmri icon-cache
11852
4511d9c47c2a 2008-03-12 Dermot McCluskey <[email protected]>
dermot
parents: 11500
diff changeset
    79
# This is Yuk!  But it's needed as SVr4 pkgs cannot handle
11488
c3a5edeeae7f bump acroread to 8.1.1, 6652500
dermot
parents: 9403
diff changeset
    80
# spaces in paths
12210
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    81
PKGCOND=/usr/bin/pkgcond
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    82
is_srngz=99
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    83
is_ngz=99
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    84
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    85
if [ -x $PKGCOND ]; then
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    86
  $PKGCOND -v is_sparse_root_nonglobal_zone > /dev/null 2>&1
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    87
  is_srngz=$?
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    88
  $PKGCOND -v is_nonglobal_zone > /dev/null 2>&1
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    89
  is_ngz=$?
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    90
fi
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    91
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    92
## 'pkgcond' does not exist when you do live upgrade from S8/S9
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    93
## so in that case, use 'touch' instead for the testing
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    94
##
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    95
test_writable() {
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    96
  if [ $is_srngz -ne 99 ]; then
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    97
    $PKGCOND is_path_writable $1 && return $?
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    98
  else
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
    99
    /usr/bin/touch $1/.test.$$ > /dev/null 2>&1
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   100
    if [ $? !=  0 ]; then
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   101
      return 1
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   102
    else
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   103
      rm -f  $1/.test.$$ > /dev/null 2>&1
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   104
      return 0
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   105
    fi
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   106
  fi
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   107
}
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   108
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   109
if test_writable ${BASEDIR}/lib/AdobeReader/Adobe/Help/en_US/; then
12515
fca9449aa3da 2008-05-28 Dermot McCluskey <[email protected]>
dermot
parents: 12358
diff changeset
   110
  if [ -h "${BASEDIR}/lib/AdobeReader/Adobe/Help/en_US/Adobe Reader" ]; then
12358
600c1d82e96f 2008-05-26 Dermot McCluskey <[email protected]>
dermot
parents: 12210
diff changeset
   111
    rm "${BASEDIR}/lib/AdobeReader/Adobe/Help/en_US/Adobe Reader"
600c1d82e96f 2008-05-26 Dermot McCluskey <[email protected]>
dermot
parents: 12210
diff changeset
   112
  fi
12210
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   113
  ln -s Adobe_Reader "${BASEDIR}/lib/AdobeReader/Adobe/Help/en_US/Adobe Reader"
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   114
fi
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   115
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   116
if test_writable ${BASEDIR}/lib/AdobeReader/Adobe/Help/ja_JP; then
12515
fca9449aa3da 2008-05-28 Dermot McCluskey <[email protected]>
dermot
parents: 12358
diff changeset
   117
  if [ -h "${BASEDIR}/lib/AdobeReader/Adobe/Help/ja_JP/Adobe Reader" ]; then
12358
600c1d82e96f 2008-05-26 Dermot McCluskey <[email protected]>
dermot
parents: 12210
diff changeset
   118
    rm "${BASEDIR}/lib/AdobeReader/Adobe/Help/ja_JP/Adobe Reader"
600c1d82e96f 2008-05-26 Dermot McCluskey <[email protected]>
dermot
parents: 12210
diff changeset
   119
  fi
12210
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   120
  ln -s Adobe_Reader "${BASEDIR}/lib/AdobeReader/Adobe/Help/ja_JP/Adobe Reader"
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   121
fi
11488
c3a5edeeae7f bump acroread to 8.1.1, 6652500
dermot
parents: 9403
diff changeset
   122
c3a5edeeae7f bump acroread to 8.1.1, 6652500
dermot
parents: 9403
diff changeset
   123
c3a5edeeae7f bump acroread to 8.1.1, 6652500
dermot
parents: 9403
diff changeset
   124
%preun
12210
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   125
PKGCOND=/usr/bin/pkgcond
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   126
is_srngz=99
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   127
is_ngz=99
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   128
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   129
if [ -x $PKGCOND ]; then
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   130
  $PKGCOND -v is_sparse_root_nonglobal_zone > /dev/null 2>&1
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   131
  is_srngz=$?
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   132
  $PKGCOND -v is_nonglobal_zone > /dev/null 2>&1
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   133
  is_ngz=$?
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   134
fi
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   135
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   136
## 'pkgcond' does not exist when you do live upgrade from S8/S9
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   137
## so in that case, use 'touch' instead for the testing
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   138
##
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   139
test_writable() {
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   140
  if [ $is_srngz -ne 99 ]; then
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   141
    $PKGCOND is_path_writable $1 && return $?
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   142
  else
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   143
    /usr/bin/touch $1/.test.$$ > /dev/null 2>&1
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   144
    if [ $? !=  0 ]; then
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   145
      return 1
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   146
    else
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   147
      rm -f  $1/.test.$$ > /dev/null 2>&1
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   148
      return 0
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   149
    fi
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   150
  fi
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   151
}
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   152
11852
4511d9c47c2a 2008-03-12 Dermot McCluskey <[email protected]>
dermot
parents: 11500
diff changeset
   153
if [ -h "${BASEDIR}/lib/AdobeReader/Adobe/Help/en_US/Adobe Reader" ]; then
12210
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   154
  if test_writable ${BASEDIR}/lib/AdobeReader/Adobe/Help/en_US/; then
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   155
    rm "${BASEDIR}/lib/AdobeReader/Adobe/Help/en_US/Adobe Reader"
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   156
  fi
11852
4511d9c47c2a 2008-03-12 Dermot McCluskey <[email protected]>
dermot
parents: 11500
diff changeset
   157
fi
4511d9c47c2a 2008-03-12 Dermot McCluskey <[email protected]>
dermot
parents: 11500
diff changeset
   158
4511d9c47c2a 2008-03-12 Dermot McCluskey <[email protected]>
dermot
parents: 11500
diff changeset
   159
if [ -h "${BASEDIR}/lib/AdobeReader/Adobe/Help/ja_JP/Adobe Reader" ]; then
12210
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   160
  if test_writable ${BASEDIR}/lib/AdobeReader/Adobe/Help/ja_JP; then
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   161
    rm "${BASEDIR}/lib/AdobeReader/Adobe/Help/ja_JP/Adobe Reader"
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   162
  fi
11852
4511d9c47c2a 2008-03-12 Dermot McCluskey <[email protected]>
dermot
parents: 11500
diff changeset
   163
fi
4511d9c47c2a 2008-03-12 Dermot McCluskey <[email protected]>
dermot
parents: 11500
diff changeset
   164
9403
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   165
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   166
%files
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   167
%defattr (-, root, bin)
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   168
%dir %attr (0755, root, bin) %{_libdir}
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   169
%dir %attr (0755, root, bin) %{_libdir}/AdobeReader
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   170
%{_libdir}/AdobeReader/*
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   171
%dir %attr (0755, root, bin) %{_bindir}
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   172
%{_bindir}/*
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   173
%dir %attr (0755, root, bin) %{_prefix}/sfw
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   174
%dir %attr (0755, root, bin) %{_prefix}/sfw/bin
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   175
%{_prefix}/sfw/bin/*
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   176
%dir %attr (0755, root, sys) %{_datadir}
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   177
%dir %attr (0755, root, other) %{_datadir}/applications
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   178
%dir %attr (0755, root, other) %{_datadir}/icons
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   179
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   180
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   181
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*/apps
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   182
%attr (0644, root, bin) %{_datadir}/applications/acroread.desktop
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   183
%attr (-, root, other) %{_datadir}/icons/hicolor/*/apps/*
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   184
15583
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   185
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   186
%else #ifarch else for post/preun/files
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   187
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   188
%post
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   189
%restart_fmri desktop-mime-cache icon-cache gconf-cache 
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   190
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   191
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   192
%preun
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   193
%restart_fmri desktop-mime-cache
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   194
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   195
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   196
%files
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   197
%defattr (-, root, bin)
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   198
%dir %attr (0755, root, bin) %{_libdir}
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   199
%dir %attr (0755, root, bin) %{_libdir}/AdobeReader
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   200
%{_libdir}/AdobeReader/*
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   201
%dir %attr (0755, root, bin) %{_bindir}
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   202
%{_bindir}/*
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   203
%dir %attr (0755, root, sys) %{_datadir}
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   204
%dir %attr (0755, root, other) %{_datadir}/applications
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   205
%dir %attr (0755, root, other) %{_datadir}/icons
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   206
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   207
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   208
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*/apps
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   209
%{_datadir}/applications/acroread.desktop
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   210
%{_datadir}/icons/hicolor/*/apps/*
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   211
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*/mimetypes
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   212
%attr (-, root, other) %{_datadir}/icons/hicolor/*/mimetypes/*
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   213
%dir %attr (0755, root, root) %{_datadir}/mime
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   214
%dir %attr (0755, root, root) %{_datadir}/mime/packages
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   215
%{_datadir}/mime/packages/acroread.xml
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   216
%dir %attr (0755, root, bin) %{_mandir}
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   217
%dir %attr (0755, root, bin) %{_mandir}/*
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   218
%{_mandir}/*/*
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   219
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   220
#ifarch endif for post/preun/files
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   221
%endif
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   222
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   223
9403
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   224
%files plugin
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   225
%defattr (-, root, bin)
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   226
%dir %attr (0755, root, bin) %{_libdir}
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   227
%dir %attr (0755, root, bin) %{_libdir}/firefox
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   228
%dir %attr (0755, root, bin) %{_libdir}/firefox/plugins
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   229
%{_libdir}/firefox/plugins/nppdf.so
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   230
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   231
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   232
%changelog
15583
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   233
* Wed Apr 08 2009 - [email protected]
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   234
- combine x86 pkg build into this spec-file.
f552615c30cd Combine Adobe Reader SPARC and X86 version into the same pkgs and use desktop-cache instead of postrun.
elaine
parents: 12515
diff changeset
   235
  use desktop-cache instead of postrun.
12515
fca9449aa3da 2008-05-28 Dermot McCluskey <[email protected]>
dermot
parents: 12358
diff changeset
   236
* Wed May 26 2008 - [email protected]
fca9449aa3da 2008-05-28 Dermot McCluskey <[email protected]>
dermot
parents: 12358
diff changeset
   237
- fix typo in postinstall
12358
600c1d82e96f 2008-05-26 Dermot McCluskey <[email protected]>
dermot
parents: 12210
diff changeset
   238
* Mon May 26 2008 - [email protected]
600c1d82e96f 2008-05-26 Dermot McCluskey <[email protected]>
dermot
parents: 12210
diff changeset
   239
- add check for existing file in postinstall
600c1d82e96f 2008-05-26 Dermot McCluskey <[email protected]>
dermot
parents: 12210
diff changeset
   240
* Fri Apr 25 2008 - [email protected]
12210
fafeedb54a74 2008-04-25 Dermot McCluskey <[email protected]>
dermot
parents: 12006
diff changeset
   241
- re-do pre and post scripts for sparse zones
12006
ea33351e4a47 2008-04-02 Dermot McCluskey <[email protected]>
dermot
parents: 11947
diff changeset
   242
* Wed Apr 02 2008 - [email protected]
ea33351e4a47 2008-04-02 Dermot McCluskey <[email protected]>
dermot
parents: 11947
diff changeset
   243
- Updates for 8.1.2
11852
4511d9c47c2a 2008-03-12 Dermot McCluskey <[email protected]>
dermot
parents: 11500
diff changeset
   244
* Wed Mar 12 2008 - [email protected]
4511d9c47c2a 2008-03-12 Dermot McCluskey <[email protected]>
dermot
parents: 11500
diff changeset
   245
- modify %post and %preun to use BASEDIR
11500
03f6ce732555 2008-01-22 Laszlo (Laca) Peter <[email protected]>
laca
parents: 11488
diff changeset
   246
* Tue Jan 22 2008 - [email protected]
03f6ce732555 2008-01-22 Laszlo (Laca) Peter <[email protected]>
laca
parents: 11488
diff changeset
   247
- use an include instead of an inline script
11488
c3a5edeeae7f bump acroread to 8.1.1, 6652500
dermot
parents: 9403
diff changeset
   248
* Fri Jan 18 2008 - [email protected]
c3a5edeeae7f bump acroread to 8.1.1, 6652500
dermot
parents: 9403
diff changeset
   249
- Updates for version 8.1.1
9403
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   250
* Sun Nov 24 2006 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   251
- Add .desktop and icons in appropriate places.
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   252
* Sun Jun 11 2006 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   253
- change group from other to bin/sys
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   254
* Mon May 22 2006 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   255
- use product version number instead of "1.0"
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   256
* Wed May 10 2006 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   257
- move plugin file to /usr/lib/firefox/plugins since firefox changed the
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   258
  install location
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   259
* Thu Apr  6 2006 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   260
- Add SUNWgnome-base-libs/-devel to Build/Requires after check-deps.pl run.
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   261
* Wed Nov 02 2005 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   262
- Copy in v7 changes from JDS3.1 branch. Change mozilla references to firefox.
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   263
* Mon Oct 10 2005 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   264
- Add %{_prefix}/sfw/bin to for backward compatability symlink. Fixes 6300634.
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   265
* Thu Aug 25 2005 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   266
- re-write for version 7 (new install dir, etc)
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   267
* Fri Nov 26 2004 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   268
- Removed SUNWjds-integration dependency
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   269
* Fri Nov 19 2004 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   270
- Partial fix for 6178971. Remove %pkgbuild_process because it was modifying
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   271
  the Adobe-tested binaries.
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   272
* Fri Nov 12 2004 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   273
- Added SUNWjds-integration dependency
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   274
* Tue Oct 05 2004 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   275
- CR 6174047 : Change SUNWacroread to install to /usr/sfw
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   276
* Sat Oct 02 2004 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   277
- added %pkgbuild_postprocess
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   278
* Thu Sep 30 2004 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   279
- Add '%ifarch sparc' around SUNWbcp dependency as this is only on sparc.
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   280
* Wed Sep 29 2004 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   281
- added additional dependencies to acroread &
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   282
  added acroread dependency to plugin subpkg
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   283
* Mon Sep 20 2004 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   284
- added default dependencies to plugin subpkg
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   285
* Fri Aug 20 2004 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   286
- moved to mozilla category.
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   287
* Mon Aug 16 2004 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   288
- added -plugin pkg
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   289
* Mon Aug 16 2004 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   290
- use acroread-copyright.txt instead of default
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   291
* Fri Aug 06 2004 - [email protected]
bd2b43c81417 move spec for closed packages to closed/
laca
parents:
diff changeset
   292
- initial version