jds-registration.spec
author dcarbery
Mon, 23 Oct 2006 12:46:17 +0000
branchgnome-2-14
changeset 19195 352a4716f1f3
parent 5565 b1beceba7539
child 8564 df62c23d2955
permissions -rw-r--r--
2006-10-23 Damien Carbery <[email protected]> * docs/ssa/*: Remove these, as they're now up on the JDS project pages under 'Tasks/Single Sys Admin'.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     1
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     2
# spec file for package jds-registration
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     3
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
2559
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
     6
# package are under the same license as the package itself.
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
     7
#
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
     8
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
     9
Name: jds-registration
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    10
License: GPL
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    11
Group: System/GUI
4607
4e5a7b1a3ce8 2004-11-22 Johan Steyn <[email protected]>
johan
parents: 4579
diff changeset
    12
Version: 1.3
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    13
Release: 40
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    14
Distribution: Java Desktop System
2559
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    15
Vendor: Sun Microsystems, Inc.
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    16
Summary: Customer registration application.
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    17
Source: %{name}-%{version}.tar.bz2
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    18
BuildRoot: %{_tmppath}/%{name}-%{version}-build
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    19
Autoreqprov: on
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    20
2840
267ab3c7f61f * jds-regsitration.spec:
johan
parents: 2783
diff changeset
    21
PreReq: j2re-integration
2958
3655558ced77 Incremented release numbers for build 11
dermotm
parents: 2840
diff changeset
    22
BuildRequires: jdk
3655558ced77 Incremented release numbers for build 11
dermotm
parents: 2840
diff changeset
    23
Requires:      jdk
2562
1c8cc3569124 Added 'buildRequires' and 'requires'.
johan
parents: 2559
diff changeset
    24
2559
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    25
%description
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    26
The JDS registration program allows the user to enter registration
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    27
information, such as the product serial number, email address and
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    28
optional personal information. The serial number is used to perform
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    29
online patch updates using JSUS (Java System Update Services).
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    30
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    31
%prep
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    32
%setup -q
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    33
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    34
2559
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    35
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    36
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    37
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    38
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    39
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    40
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    41
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    42
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    43
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    44
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    45
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    46
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    47
%ifos linux
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    48
export JAVA_HOME="/usr/java/jdk1.5.0_03"
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    49
%else
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    50
export JAVA_HOME="/usr/java"
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    51
%endif
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    52
make -j $CPUS
2559
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    53
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    54
%install
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    55
%ifos linux
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    56
export JRE_HOME="/usr/java/j2redefault"
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    57
%else
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    58
export JRE_HOME="/usr/j2se/jre2"
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    59
%endif
2559
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    60
make install DESTDIR=$RPM_BUILD_ROOT
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    61
echo "$JRE_HOME/lib/ext/jds-registration.jar" > jds-registration.files
2559
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    62
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    63
%clean
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    64
make clean
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    65
rm -rf $RPM_BUILD_ROOT
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    66
2783
a30f34ed8175 * jds-regsitration.spec:
johan
parents: 2777
diff changeset
    67
%files -f jds-registration.files
2559
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    68
%defattr(-,root,root)
9ba68d7809c9 Added JDS registration application's spec file.
johan
parents:
diff changeset
    69
2616
1884dc8e5228 jds-registration.spec jdshelp.spec: fixed Linux Java version
dermotm
parents: 2585
diff changeset
    70
%changelog
5565
b1beceba7539 * vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents: 5518
diff changeset
    71
* Tue Aug 23 2005 - [email protected]
b1beceba7539 * vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents: 5518
diff changeset
    72
- Remove unneeded java related variables.
b1beceba7539 * vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents: 5518
diff changeset
    73
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    74
* Fri Jul 29 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    75
- Drop intermediate java_home/jre_home vars and set env vars directly.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    76
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    77
* Fri Jun 10 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    78
- Change how java_home and jre_home are defined - remove the use of tmp files.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    79
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    80
* Mon May 09 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    81
- New jdk (1.5.0_03)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    82
4607
4e5a7b1a3ce8 2004-11-22 Johan Steyn <[email protected]>
johan
parents: 4579
diff changeset
    83
* Mon Nov 22 2004 - [email protected]
4e5a7b1a3ce8 2004-11-22 Johan Steyn <[email protected]>
johan
parents: 4579
diff changeset
    84
- change version to make use of latest (1.3) source tarball
4e5a7b1a3ce8 2004-11-22 Johan Steyn <[email protected]>
johan
parents: 4579
diff changeset
    85
  that removes embargoed countries for export compliance.
4e5a7b1a3ce8 2004-11-22 Johan Steyn <[email protected]>
johan
parents: 4579
diff changeset
    86
4108
3e3f9836f2d1 2004-09-30 Johan Steyn <[email protected]>
johan
parents: 4007
diff changeset
    87
* Thu Sep 30 2004 - [email protected]
3e3f9836f2d1 2004-09-30 Johan Steyn <[email protected]>
johan
parents: 4007
diff changeset
    88
- change version to make use of latest (1.2) source tarball
3e3f9836f2d1 2004-09-30 Johan Steyn <[email protected]>
johan
parents: 4007
diff changeset
    89
  that includes all the I18N'd properties files.
3e3f9836f2d1 2004-09-30 Johan Steyn <[email protected]>
johan
parents: 4007
diff changeset
    90
3938
c020487c6434 new JDK 1.5.0 dir
dermotm
parents: 3891
diff changeset
    91
* Wed Sep 15 2004 - [email protected]
c020487c6434 new JDK 1.5.0 dir
dermotm
parents: 3891
diff changeset
    92
- new install dir for JDK 1.5.0
c020487c6434 new JDK 1.5.0 dir
dermotm
parents: 3891
diff changeset
    93
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    94
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    95
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3251
diff changeset
    96
3251
2bbf1f5bcfe1 *** empty log message ***
johan
parents: 3224
diff changeset
    97
* Mon Jul 05 2004 - [email protected]
2bbf1f5bcfe1 *** empty log message ***
johan
parents: 3224
diff changeset
    98
- Changed version number and release for new I18N'd version
4108
3e3f9836f2d1 2004-09-30 Johan Steyn <[email protected]>
johan
parents: 4007
diff changeset
    99
2977
4a805a1dac56 gnome-speech.spec, jds-registration.spec and jdshelp.spec: Correct JDK path for Solaris 10.
dc144907
parents: 2958
diff changeset
   100
* Tue Jun 01 2004 - [email protected]
4a805a1dac56 gnome-speech.spec, jds-registration.spec and jdshelp.spec: Correct JDK path for Solaris 10.
dc144907
parents: 2958
diff changeset
   101
- Correct JDK path in CFLAGS for Solaris 10.
4108
3e3f9836f2d1 2004-09-30 Johan Steyn <[email protected]>
johan
parents: 4007
diff changeset
   102
2958
3655558ced77 Incremented release numbers for build 11
dermotm
parents: 2840
diff changeset
   103
* Sun May 30 2004 - [email protected]
3655558ced77 Incremented release numbers for build 11
dermotm
parents: 2840
diff changeset
   104
- New JDK
4108
3e3f9836f2d1 2004-09-30 Johan Steyn <[email protected]>
johan
parents: 4007
diff changeset
   105
2840
267ab3c7f61f * jds-regsitration.spec:
johan
parents: 2783
diff changeset
   106
* Fri May 21 2004 - [email protected]
267ab3c7f61f * jds-regsitration.spec:
johan
parents: 2783
diff changeset
   107
- Added PreReq for j2re-integration on Dermot's request.
267ab3c7f61f * jds-regsitration.spec:
johan
parents: 2783
diff changeset
   108
- Changed OSTYPE check for solaris since Solaris build seems
267ab3c7f61f * jds-regsitration.spec:
johan
parents: 2783
diff changeset
   109
  to have OSTYPE variable set to solaris2.9.
4108
3e3f9836f2d1 2004-09-30 Johan Steyn <[email protected]>
johan
parents: 4007
diff changeset
   110
2783
a30f34ed8175 * jds-regsitration.spec:
johan
parents: 2777
diff changeset
   111
* Mon May 17 2004 - [email protected]
a30f34ed8175 * jds-regsitration.spec:
johan
parents: 2777
diff changeset
   112
- Fixed JAVA_HOME and JRE_HOME to no longer use %ifos.
a30f34ed8175 * jds-regsitration.spec:
johan
parents: 2777
diff changeset
   113
  This allows us to differentiate between different JDK and JRE
a30f34ed8175 * jds-regsitration.spec:
johan
parents: 2777
diff changeset
   114
  locations on different versions of Solaris.
4108
3e3f9836f2d1 2004-09-30 Johan Steyn <[email protected]>
johan
parents: 4007
diff changeset
   115
2665
7db087ba7ce0 - removed j2re-integration from BuildRequires and Requires
johan
parents: 2619
diff changeset
   116
* Thu May 06 2004 - [email protected]
7db087ba7ce0 - removed j2re-integration from BuildRequires and Requires
johan
parents: 2619
diff changeset
   117
- removed j2re-integration from BuildRequires and Requires
7db087ba7ce0 - removed j2re-integration from BuildRequires and Requires
johan
parents: 2619
diff changeset
   118
- fixed JAVA_HOME and JRE_HOME to use %ifos instead
7db087ba7ce0 - removed j2re-integration from BuildRequires and Requires
johan
parents: 2619
diff changeset
   119
- added %{_prefix} to jre_home for solaris
7db087ba7ce0 - removed j2re-integration from BuildRequires and Requires
johan
parents: 2619
diff changeset
   120
- fixed %files to use jre_home instead of .rpm-files with -f option
4108
3e3f9836f2d1 2004-09-30 Johan Steyn <[email protected]>
johan
parents: 4007
diff changeset
   121
2616
1884dc8e5228 jds-registration.spec jdshelp.spec: fixed Linux Java version
dermotm
parents: 2585
diff changeset
   122
* Mon May 03 2004 - [email protected]
2617
bccfa0afbea5 jds-registration.spec: fixed JAVA_HOME
dermotm
parents: 2616
diff changeset
   123
- fix JAVA_HOME
4108
3e3f9836f2d1 2004-09-30 Johan Steyn <[email protected]>
johan
parents: 4007
diff changeset
   124
2617
bccfa0afbea5 jds-registration.spec: fixed JAVA_HOME
dermotm
parents: 2616
diff changeset
   125
* Mon May 03 2004 - [email protected]
2616
1884dc8e5228 jds-registration.spec jdshelp.spec: fixed Linux Java version
dermotm
parents: 2585
diff changeset
   126
- change Linux JAVA_HOME to 1.5.0