author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19774 | b855c07fd4e7 |
permissions | -rw-r--r-- |
19693 | 1 |
# |
2 |
# spec file for package java-access-bridge |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
1949 | 8 |
Name: java-access-bridge |
9 |
License: GPL |
|
10 |
Group: System/Libraries/GNOME |
|
5392
c2aefc43f1c0
Revved gnopernicus.spec to 0.10.9, java-access-bridge to 1.4.5. Removed obsolete
wh70179
parents:
5370
diff
changeset
|
11 |
Version: 1.4.5 |
19643 | 12 |
Release: 47 |
19693 | 13 |
Distribution: Java Desktop System |
1949 | 14 |
Vendor: Sun Microsystems, Inc. |
15 |
Summary: The Java Access Bridge for GNOME for Java Swing apps. |
|
2447 | 16 |
Source: http://ftp.gnome.org/Public/gnome/sources/java-access-bridge/1.4/%{name}-%{version}.tar.bz2 |
19774 | 17 |
Patch1: java-access-bridge-01-window-activate.diff |
1949 | 18 |
URL: http://developer.gnome.org/projects/gap |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
20 |
Docdir: %{_defaultdocdir}/doc |
|
21 |
Autoreqprov: on |
|
22 |
Prereq: /sbin/ldconfig |
|
5136
ad302e839520
create and delete links for accessibility.properties and nome-java-bridge.jar (4768049)
dermotm
parents:
5135
diff
changeset
|
23 |
PreReq: j2re-integration |
1949 | 24 |
|
19365 | 25 |
%define jdk_version jdk1.5.0_03 |
2063
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
26 |
|
1949 | 27 |
%define libgnomeui_version 2.4.0.1 |
28 |
%define gtk2_version 2.2.4 |
|
29 |
%define atk_version 1.4.0 |
|
30 |
%define at_spi_version 1.1.8 |
|
31 |
%define at_spi_release 1 |
|
32 |
||
33 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
34 |
BuildRequires: atk-devel >= %{atk_version} |
|
35 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
36 |
BuildRequires: at-spi-devel >= %{at_spi_version}-%{at_spi_release} |
|
37 |
Requires: atk >= %{atk_version} |
|
38 |
Requires: gtk2 >= %{gtk2_version} |
|
39 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
40 |
Requires: at-spi >= %{at_spi_version} |
|
41 |
||
42 |
# configure also lists: |
|
43 |
# libbonobo-2.0 >= 1.1.0 libbonoboui-2.0 >= 1.1.0 libgnomeui-2.0 >= 1.1.0 libspi-1.0 >= 0.10.0 |
|
44 |
||
45 |
%description |
|
46 |
The Java Access Bridge for GNOME connects the built-in accessibility support in |
|
47 |
Java Swing apps to the GNOME Accessibility framework, specifically the Assistive |
|
48 |
Technology Service Provider Interface (AT-SPI). |
|
49 |
||
50 |
%prep |
|
51 |
%setup -q |
|
19774 | 52 |
%patch1 -p1 |
4455 | 53 |
|
1949 | 54 |
%build |
3263 | 55 |
%ifos linux |
56 |
if [ -x /usr/bin/getconf ]; then |
|
57 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
58 |
fi |
|
59 |
%else |
|
3846 | 60 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 61 |
%endif |
62 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
63 |
CPUS=1 |
|
64 |
fi |
|
65 |
||
19365 | 66 |
export PATH="/usr/java/%jdk_version/bin:$PATH" |
1949 | 67 |
CFLAGS="$RPM_OPT_FLAGS" \ |
2063
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
68 |
%ifos linux |
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
69 |
./configure --prefix=%{_prefix} \ |
19365 | 70 |
--with-java-home=/usr/java/%jdk_version |
2063
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
71 |
%else |
3662 | 72 |
./configure --prefix=%{_prefix} |
2063
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
73 |
%endif |
1949 | 74 |
|
5156 | 75 |
make |
1949 | 76 |
|
77 |
%install |
|
2230
e484f831e357
java-access-bridge: Specify %{_datadir}/jar instead of %{_datadir}/lib in %install
dc144907
parents:
2159
diff
changeset
|
78 |
make DESTDIR=$RPM_BUILD_ROOT install gnome_java_bridgedir=%{_datadir}/jar |
1949 | 79 |
|
80 |
%clean |
|
81 |
rm -rf $RPM_BUILD_ROOT |
|
82 |
||
83 |
%post |
|
84 |
/sbin/ldconfig |
|
19643 | 85 |
if [ -L /usr/java/j2redefault/lib/accessibility.properties ]; then |
86 |
rm /usr/java/j2redefault/lib/accessibility.properties |
|
87 |
fi |
|
5135
3f51505e77bb
create and delete links for accessibility.properties and nome-java-bridge.jar (4768049)
dermotm
parents:
5082
diff
changeset
|
88 |
ln -s /usr/share/jar/accessibility.properties /usr/java/j2redefault/lib/accessibility.properties |
19643 | 89 |
cp /usr/share/jar/gnome-java-bridge.jar /usr/java/j2redefault/lib/ext/gnome-java-bridge.jar |
1949 | 90 |
|
91 |
%postun |
|
5157 | 92 |
if [ -h /usr/java/j2redefault/lib/accessibility.properties ]; then |
5135
3f51505e77bb
create and delete links for accessibility.properties and nome-java-bridge.jar (4768049)
dermotm
parents:
5082
diff
changeset
|
93 |
rm /usr/java/j2redefault/lib/accessibility.properties |
3f51505e77bb
create and delete links for accessibility.properties and nome-java-bridge.jar (4768049)
dermotm
parents:
5082
diff
changeset
|
94 |
fi |
19643 | 95 |
if [ -e /usr/java/j2redefault/lib/ext/gnome-java-bridge.jar ]; then |
5135
3f51505e77bb
create and delete links for accessibility.properties and nome-java-bridge.jar (4768049)
dermotm
parents:
5082
diff
changeset
|
96 |
rm /usr/java/j2redefault/lib/ext/gnome-java-bridge.jar |
3f51505e77bb
create and delete links for accessibility.properties and nome-java-bridge.jar (4768049)
dermotm
parents:
5082
diff
changeset
|
97 |
fi |
1949 | 98 |
/sbin/ldconfig |
99 |
||
100 |
%files |
|
101 |
%defattr(-,root,root) |
|
2112 | 102 |
%{_datadir}/jar |
2470
791b003b50ce
java-access-bridge.spec: - Temporarily remove the %files line that is breaking the build until I figure out a correct solution. Add a missing '%patch1 -p1' line.
dc144907
parents:
2459
diff
changeset
|
103 |
# %{_prefix}/j2se |
1949 | 104 |
|
105 |
||
106 |
%changelog |
|
19643 | 107 |
* Wed Jun 01 2005 - [email protected] |
108 |
- Remove accessibility.properties symlink before (re)creating it. Bug 6278672. |
|
109 |
||
110 |
* Thu May 19 2005 - [email protected] |
|
111 |
- /usr/java/j2redefault/lib/ext/gnome-java-bridge.jar needs to be a |
|
112 |
regular file, not a sym link (bug 6246567) |
|
113 |
||
114 |
* Mon May 09 2005 - [email protected] |
|
115 |
- New jdk (1.5.0_03) |
|
116 |
||
117 |
* Fri May 06 2005 - <[email protected]> |
|
118 |
- Added patch to provide window:activate events for newly-created Swing windows. Part of the fix for bug #6238185. |
|
119 |
||
5392
c2aefc43f1c0
Revved gnopernicus.spec to 0.10.9, java-access-bridge to 1.4.5. Removed obsolete
wh70179
parents:
5370
diff
changeset
|
120 |
* Wed May 04 2005 - <[email protected]> |
c2aefc43f1c0
Revved gnopernicus.spec to 0.10.9, java-access-bridge to 1.4.5. Removed obsolete
wh70179
parents:
5370
diff
changeset
|
121 |
- Revved to 1.4.5, fixes problem with MANAGES_DESCENDANTS state when using JVMs >= 1.5.0. |
c2aefc43f1c0
Revved gnopernicus.spec to 0.10.9, java-access-bridge to 1.4.5. Removed obsolete
wh70179
parents:
5370
diff
changeset
|
122 |
|
5341
1e55979a0a86
Revved java-access-bridge to 1.4.4, gail to 1.8.3. Revised gail-02-g11n-alllinguas.diff.
wh70179
parents:
5333
diff
changeset
|
123 |
* Mon Apr 18 2005 - <[email protected]> |
1e55979a0a86
Revved java-access-bridge to 1.4.4, gail to 1.8.3. Revised gail-02-g11n-alllinguas.diff.
wh70179
parents:
5333
diff
changeset
|
124 |
- Revved to 1.4.4., fixes for bugzilla #172807, #192925, #171951, #300699. |
1e55979a0a86
Revved java-access-bridge to 1.4.4, gail to 1.8.3. Revised gail-02-g11n-alllinguas.diff.
wh70179
parents:
5333
diff
changeset
|
125 |
- Removed redundant patch java-access-bridge-03-get-text.diff. |
1e55979a0a86
Revved java-access-bridge to 1.4.4, gail to 1.8.3. Revised gail-02-g11n-alllinguas.diff.
wh70179
parents:
5333
diff
changeset
|
126 |
|
5156 | 127 |
* Mon Feb 28 2005 - <[email protected]> |
5157 | 128 |
- use -h to test for links in postun |
129 |
||
130 |
* Mon Feb 28 2005 - <[email protected]> |
|
5156 | 131 |
- remove '-j CPUS' from make command |
132 |
||
5135
3f51505e77bb
create and delete links for accessibility.properties and nome-java-bridge.jar (4768049)
dermotm
parents:
5082
diff
changeset
|
133 |
* Fri Feb 25 2005 - <[email protected]> |
5156 | 134 |
- create and delete links for accessibility.properties and gnome-java-bridge.jar (4768049) |
5135
3f51505e77bb
create and delete links for accessibility.properties and nome-java-bridge.jar (4768049)
dermotm
parents:
5082
diff
changeset
|
135 |
|
4088 | 136 |
* Wed Sep 29 2004 - Padraig O'Briain <[email protected]> |
137 |
- Add patch 04-get-deleted-chars for bugzilla #151579. |
|
138 |
||
4020
d72c2ce24a4c
* java-access-bridge.spec: Disable Java 1.5.0 patch because it breaks the build.
dc144907
parents:
4007
diff
changeset
|
139 |
* Mon Sep 20 2004 - [email protected] |
d72c2ce24a4c
* java-access-bridge.spec: Disable Java 1.5.0 patch because it breaks the build.
dc144907
parents:
4007
diff
changeset
|
140 |
- Disable the Java 1.5.0 patch because it breaks build. |
d72c2ce24a4c
* java-access-bridge.spec: Disable Java 1.5.0 patch because it breaks the build.
dc144907
parents:
4007
diff
changeset
|
141 |
|
3938 | 142 |
* Wed Sep 15 2004 - [email protected] |
143 |
- new install dir for JDK 1.5.0 |
|
144 |
||
3662 | 145 |
* Wed Aug 20 2004 - [email protected] |
146 |
- removed --disable-gtk-doc since this isn't an option this module's |
|
147 |
configure takes. |
|
148 |
||
3652 | 149 |
* Fri Aug 20 2004 - Padraig O'Briain <[email protected]> |
150 |
- Add patch 03-get-text for bugzilla #149602. |
|
151 |
||
3263 | 152 |
* Wed Jul 07 2004 - [email protected] |
153 |
- added "-j $CPUS" to make to speed up builds |
|
154 |
||
3125
1aea866ac170
gok.spec, at-spi.spec, java-access-bridge.spec, java-access-bridge-03-javac_compatability.diff
dermotm
parents:
3120
diff
changeset
|
155 |
* Fri Jun 11 2004 - [email protected] |
1aea866ac170
gok.spec, at-spi.spec, java-access-bridge.spec, java-access-bridge-03-javac_compatability.diff
dermotm
parents:
3120
diff
changeset
|
156 |
- removed patch 03 |
1aea866ac170
gok.spec, at-spi.spec, java-access-bridge.spec, java-access-bridge-03-javac_compatability.diff
dermotm
parents:
3120
diff
changeset
|
157 |
|
3112
05f97bad1ab0
* patches/java-access-bridge-03-javac-compatability.diff: Change 'javac' to 'javac -source 1.4' in configure.in as 1.5 breaks build.
dc144907
parents:
2964
diff
changeset
|
158 |
* Thu Jun 10 2004 - [email protected] |
05f97bad1ab0
* patches/java-access-bridge-03-javac-compatability.diff: Change 'javac' to 'javac -source 1.4' in configure.in as 1.5 breaks build.
dc144907
parents:
2964
diff
changeset
|
159 |
- Change 'javac' to 'javac -source 1.4' in configure.in as 1.5 breaks build. |
05f97bad1ab0
* patches/java-access-bridge-03-javac-compatability.diff: Change 'javac' to 'javac -source 1.4' in configure.in as 1.5 breaks build.
dc144907
parents:
2964
diff
changeset
|
160 |
|
2964
bd5609264c55
java-access-bridge.spec: patch to compile with JDK1.5.0
dermotm
parents:
2958
diff
changeset
|
161 |
* Mon May 31 2004 - Dermot McCluskey <[email protected]> |
bd5609264c55
java-access-bridge.spec: patch to compile with JDK1.5.0
dermotm
parents:
2958
diff
changeset
|
162 |
- Padraig's patch for JDK1.5.0 compile error |
bd5609264c55
java-access-bridge.spec: patch to compile with JDK1.5.0
dermotm
parents:
2958
diff
changeset
|
163 |
|
2958 | 164 |
* Sun May 30 2004 - Dermot McCluskey <[email protected]> |
2964
bd5609264c55
java-access-bridge.spec: patch to compile with JDK1.5.0
dermotm
parents:
2958
diff
changeset
|
165 |
- New JDK |
2958 | 166 |
|
2765 | 167 |
* Fri May 15 2004 - Padraig O'Briain <[email protected]> |
168 |
- Bump version to 1.4.2 |
|
169 |
||
2595 | 170 |
* Fri Apr 30 2004 - Padraig O'Briain <[email protected]> |
2600 | 171 |
- Update Java version to 1.5.0 |
172 |
||
173 |
* Fri Apr 30 2004 - Padraig O'Briain <[email protected]> |
|
2595 | 174 |
- Bump version to 1.4.1 |
175 |
||
2470
791b003b50ce
java-access-bridge.spec: - Temporarily remove the %files line that is breaking the build until I figure out a correct solution. Add a missing '%patch1 -p1' line.
dc144907
parents:
2459
diff
changeset
|
176 |
* Thu Apr 15 2004 - Damien Carbery <[email protected]> |
791b003b50ce
java-access-bridge.spec: - Temporarily remove the %files line that is breaking the build until I figure out a correct solution. Add a missing '%patch1 -p1' line.
dc144907
parents:
2459
diff
changeset
|
177 |
- Temporarily remove the %files line that is breaking the build until I figure |
791b003b50ce
java-access-bridge.spec: - Temporarily remove the %files line that is breaking the build until I figure out a correct solution. Add a missing '%patch1 -p1' line.
dc144907
parents:
2459
diff
changeset
|
178 |
out a correct solution. Add a missing '%patch1 -p1' line. |
791b003b50ce
java-access-bridge.spec: - Temporarily remove the %files line that is breaking the build until I figure out a correct solution. Add a missing '%patch1 -p1' line.
dc144907
parents:
2459
diff
changeset
|
179 |
|
2459 | 180 |
* Wed Apr 14 2004 - Padraig O'Briain <[email protected]> |
181 |
- * Add patch for installation of accessibility.properties and |
|
182 |
gnome-java-bridge.jar |
|
183 |
||
2447 | 184 |
* Tue Apr 13 2004 - Padraig O'Briain <[email protected]> |
185 |
- Bump version to 1.4.0 |
|
186 |
||
2230
e484f831e357
java-access-bridge: Specify %{_datadir}/jar instead of %{_datadir}/lib in %install
dc144907
parents:
2159
diff
changeset
|
187 |
* Tue Mar 16 2004 - Damien Carbery <[email protected]> |
e484f831e357
java-access-bridge: Specify %{_datadir}/jar instead of %{_datadir}/lib in %install
dc144907
parents:
2159
diff
changeset
|
188 |
- Specify %{_datadir}/jar instead of %{_datadir}/lib in %install. |
e484f831e357
java-access-bridge: Specify %{_datadir}/jar instead of %{_datadir}/lib in %install
dc144907
parents:
2159
diff
changeset
|
189 |
|
2112 | 190 |
* Tue Mar 02 2004 - Damien Carbery <[email protected]> |
191 |
- Correct files list. |
|
192 |
||
2095
1e2190d7e47b
Correct java-home path after installing 1.4.2_03 JDK.
dc144907
parents:
2063
diff
changeset
|
193 |
* Mon Mar 01 2004 - Damien Carbery <[email protected]> |
2104
68e43b01d598
Add '/usr/java/j2sdk1.4.2_03/bin' to PATH so build can find 'jar'.
dc144907
parents:
2095
diff
changeset
|
194 |
- Add JDK bin dir to PATH so 'jar' can be found. |
2095
1e2190d7e47b
Correct java-home path after installing 1.4.2_03 JDK.
dc144907
parents:
2063
diff
changeset
|
195 |
- Correct '--with-java-home' path after installing 1.4.2_03 JDK. |
1e2190d7e47b
Correct java-home path after installing 1.4.2_03 JDK.
dc144907
parents:
2063
diff
changeset
|
196 |
|
2063
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
197 |
* Fri Feb 27 2004 - Damien Carbery <[email protected]> |
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
198 |
- Add '--with-java-home' to configure because JDK not being found. |
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
199 |
|
2042
d39c5392db5c
Remove libtoolize stuff because using regular tarball and not CVS.
dc144907
parents:
1949
diff
changeset
|
200 |
* Thu Feb 26 2004 - Damien Carbery <[email protected]> |
d39c5392db5c
Remove libtoolize stuff because using regular tarball and not CVS.
dc144907
parents:
1949
diff
changeset
|
201 |
- Remove libtoolize stuff because using regular tarball and not CVS. |
d39c5392db5c
Remove libtoolize stuff because using regular tarball and not CVS.
dc144907
parents:
1949
diff
changeset
|
202 |
|
1949 | 203 |
* Fri Feb 20 2004 - Damien Carbery <[email protected]> |
204 |
- Initial release version for java-access-bridge. |