author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 5565 | b1beceba7539 |
child 8564 | df62c23d2955 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package jds-registration |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
2559 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
||
9 |
Name: jds-registration |
|
10 |
License: GPL |
|
11 |
Group: System/GUI |
|
4607 | 12 |
Version: 1.3 |
5518 | 13 |
Release: 40 |
14 |
Distribution: Java Desktop System |
|
2559 | 15 |
Vendor: Sun Microsystems, Inc. |
16 |
Summary: Customer registration application. |
|
17 |
Source: %{name}-%{version}.tar.bz2 |
|
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
19 |
Autoreqprov: on |
|
20 |
||
2840 | 21 |
PreReq: j2re-integration |
2958 | 22 |
BuildRequires: jdk |
23 |
Requires: jdk |
|
2562 | 24 |
|
2559 | 25 |
%description |
26 |
The JDS registration program allows the user to enter registration |
|
27 |
information, such as the product serial number, email address and |
|
28 |
optional personal information. The serial number is used to perform |
|
29 |
online patch updates using JSUS (Java System Update Services). |
|
30 |
||
31 |
%prep |
|
32 |
%setup -q |
|
33 |
||
4455 | 34 |
|
2559 | 35 |
%build |
3263 | 36 |
%ifos linux |
37 |
if [ -x /usr/bin/getconf ]; then |
|
38 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
39 |
fi |
|
40 |
%else |
|
3846 | 41 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 42 |
%endif |
43 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
44 |
CPUS=1 |
|
45 |
fi |
|
46 |
||
5518 | 47 |
%ifos linux |
48 |
export JAVA_HOME="/usr/java/jdk1.5.0_03" |
|
49 |
%else |
|
50 |
export JAVA_HOME="/usr/java" |
|
51 |
%endif |
|
3263 | 52 |
make -j $CPUS |
2559 | 53 |
|
54 |
%install |
|
5518 | 55 |
%ifos linux |
56 |
export JRE_HOME="/usr/java/j2redefault" |
|
57 |
%else |
|
58 |
export JRE_HOME="/usr/j2se/jre2" |
|
59 |
%endif |
|
2559 | 60 |
make install DESTDIR=$RPM_BUILD_ROOT |
5518 | 61 |
echo "$JRE_HOME/lib/ext/jds-registration.jar" > jds-registration.files |
2559 | 62 |
|
63 |
%clean |
|
64 |
make clean |
|
65 |
rm -rf $RPM_BUILD_ROOT |
|
66 |
||
2783 | 67 |
%files -f jds-registration.files |
2559 | 68 |
%defattr(-,root,root) |
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 | 74 |
* Fri Jul 29 2005 - [email protected] |
75 |
- Drop intermediate java_home/jre_home vars and set env vars directly. |
|
76 |
||
77 |
* Fri Jun 10 2005 - [email protected] |
|
78 |
- Change how java_home and jre_home are defined - remove the use of tmp files. |
|
79 |
||
80 |
* Mon May 09 2005 - [email protected] |
|
81 |
- New jdk (1.5.0_03) |
|
82 |
||
4607 | 83 |
* Mon Nov 22 2004 - [email protected] |
84 |
- change version to make use of latest (1.3) source tarball |
|
85 |
that removes embargoed countries for export compliance. |
|
86 |
||
4108 | 87 |
* Thu Sep 30 2004 - [email protected] |
88 |
- change version to make use of latest (1.2) source tarball |
|
89 |
that includes all the I18N'd properties files. |
|
90 |
||
3938 | 91 |
* Wed Sep 15 2004 - [email protected] |
92 |
- new install dir for JDK 1.5.0 |
|
93 |
||
3263 | 94 |
* Wed Jul 07 2004 - [email protected] |
95 |
- added "-j $CPUS" to make to speed up builds |
|
96 |
||
3251 | 97 |
* Mon Jul 05 2004 - [email protected] |
98 |
- Changed version number and release for new I18N'd version |
|
4108 | 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 | 102 |
|
2958 | 103 |
* Sun May 30 2004 - [email protected] |
104 |
- New JDK |
|
4108 | 105 |
|
2840 | 106 |
* Fri May 21 2004 - [email protected] |
107 |
- Added PreReq for j2re-integration on Dermot's request. |
|
108 |
- Changed OSTYPE check for solaris since Solaris build seems |
|
109 |
to have OSTYPE variable set to solaris2.9. |
|
4108 | 110 |
|
2783 | 111 |
* Mon May 17 2004 - [email protected] |
112 |
- Fixed JAVA_HOME and JRE_HOME to no longer use %ifos. |
|
113 |
This allows us to differentiate between different JDK and JRE |
|
114 |
locations on different versions of Solaris. |
|
4108 | 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 | 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 | 123 |
- fix JAVA_HOME |
4108 | 124 |
|
2617 | 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 |