author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 6707 | 1c48be2bb918 |
child 7740 | 43716d15a9ca |
permissions | -rw-r--r-- |
5518 | 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 |
|
6707 | 11 |
Version: 1.5.0 |
6280 | 12 |
Release: 1 |
5518 | 13 |
Distribution: Java Desktop System |
1949 | 14 |
Vendor: Sun Microsystems, Inc. |
15 |
Summary: The Java Access Bridge for GNOME for Java Swing apps. |
|
6707 | 16 |
Source: http://ftp.gnome.org/Public/gnome/sources/java-access-bridge/1.5/%{name}-%{version}.tar.bz2 |
5522 | 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 |
|
5518 | 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 |
|
5522 | 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 |
||
5518 | 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} \ |
5518 | 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 |
|
5518 | 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 |
5518 | 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 |
5518 | 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 |
|
6707 | 107 |
* Tue Jan 31 2006 - [email protected] |
108 |
- Bump to 1.5.0. |
|
109 |
||
6564
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6280
diff
changeset
|
110 |
* Sun Jan 15 2006 - [email protected] |
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6280
diff
changeset
|
111 |
- Bump to 1.4.7 |
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6280
diff
changeset
|
112 |
|
6280 | 113 |
* Mon Nov 14 2005 - [email protected] |
114 |
- Bump version to 1.4.6 |
|
115 |
||
5518 | 116 |
* Wed Jun 01 2005 - [email protected] |
117 |
- Remove accessibility.properties symlink before (re)creating it. Bug 6278672. |
|
118 |
||
119 |
* Thu May 19 2005 - [email protected] |
|
120 |
- /usr/java/j2redefault/lib/ext/gnome-java-bridge.jar needs to be a |
|
121 |
regular file, not a sym link (bug 6246567) |
|
122 |
||
123 |
* Mon May 09 2005 - [email protected] |
|
124 |
- New jdk (1.5.0_03) |
|
125 |
||
126 |
* Fri May 06 2005 - <[email protected]> |
|
127 |
- Added patch to provide window:activate events for newly-created Swing windows. Part of the fix for bug #6238185. |
|
128 |
||
5392
c2aefc43f1c0
Revved gnopernicus.spec to 0.10.9, java-access-bridge to 1.4.5. Removed obsolete
wh70179
parents:
5370
diff
changeset
|
129 |
* 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
|
130 |
- 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
|
131 |
|
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
|
132 |
* 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
|
133 |
- 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
|
134 |
- 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
|
135 |
|
5156 | 136 |
* Mon Feb 28 2005 - <[email protected]> |
5157 | 137 |
- use -h to test for links in postun |
138 |
||
139 |
* Mon Feb 28 2005 - <[email protected]> |
|
5156 | 140 |
- remove '-j CPUS' from make command |
141 |
||
5135
3f51505e77bb
create and delete links for accessibility.properties and nome-java-bridge.jar (4768049)
dermotm
parents:
5082
diff
changeset
|
142 |
* Fri Feb 25 2005 - <[email protected]> |
5156 | 143 |
- 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
|
144 |
|
4088 | 145 |
* Wed Sep 29 2004 - Padraig O'Briain <[email protected]> |
146 |
- Add patch 04-get-deleted-chars for bugzilla #151579. |
|
147 |
||
4020
d72c2ce24a4c
* java-access-bridge.spec: Disable Java 1.5.0 patch because it breaks the build.
dc144907
parents:
4007
diff
changeset
|
148 |
* 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
|
149 |
- 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
|
150 |
|
3938 | 151 |
* Wed Sep 15 2004 - [email protected] |
152 |
- new install dir for JDK 1.5.0 |
|
153 |
||
3662 | 154 |
* Wed Aug 20 2004 - [email protected] |
155 |
- removed --disable-gtk-doc since this isn't an option this module's |
|
156 |
configure takes. |
|
157 |
||
3652 | 158 |
* Fri Aug 20 2004 - Padraig O'Briain <[email protected]> |
159 |
- Add patch 03-get-text for bugzilla #149602. |
|
160 |
||
3263 | 161 |
* Wed Jul 07 2004 - [email protected] |
162 |
- added "-j $CPUS" to make to speed up builds |
|
163 |
||
3125
1aea866ac170
gok.spec, at-spi.spec, java-access-bridge.spec, java-access-bridge-03-javac_compatability.diff
dermotm
parents:
3120
diff
changeset
|
164 |
* 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
|
165 |
- 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
|
166 |
|
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
|
167 |
* 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
|
168 |
- 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
|
169 |
|
2964
bd5609264c55
java-access-bridge.spec: patch to compile with JDK1.5.0
dermotm
parents:
2958
diff
changeset
|
170 |
* 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
|
171 |
- 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
|
172 |
|
2958 | 173 |
* 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
|
174 |
- New JDK |
2958 | 175 |
|
2765 | 176 |
* Fri May 15 2004 - Padraig O'Briain <[email protected]> |
177 |
- Bump version to 1.4.2 |
|
178 |
||
2595 | 179 |
* Fri Apr 30 2004 - Padraig O'Briain <[email protected]> |
2600 | 180 |
- Update Java version to 1.5.0 |
181 |
||
182 |
* Fri Apr 30 2004 - Padraig O'Briain <[email protected]> |
|
2595 | 183 |
- Bump version to 1.4.1 |
184 |
||
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
|
185 |
* 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
|
186 |
- 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
|
187 |
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
|
188 |
|
2459 | 189 |
* Wed Apr 14 2004 - Padraig O'Briain <[email protected]> |
190 |
- * Add patch for installation of accessibility.properties and |
|
191 |
gnome-java-bridge.jar |
|
192 |
||
2447 | 193 |
* Tue Apr 13 2004 - Padraig O'Briain <[email protected]> |
194 |
- Bump version to 1.4.0 |
|
195 |
||
2230
e484f831e357
java-access-bridge: Specify %{_datadir}/jar instead of %{_datadir}/lib in %install
dc144907
parents:
2159
diff
changeset
|
196 |
* 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
|
197 |
- 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
|
198 |
|
2112 | 199 |
* Tue Mar 02 2004 - Damien Carbery <[email protected]> |
200 |
- Correct files list. |
|
201 |
||
2095
1e2190d7e47b
Correct java-home path after installing 1.4.2_03 JDK.
dc144907
parents:
2063
diff
changeset
|
202 |
* 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
|
203 |
- 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
|
204 |
- 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
|
205 |
|
2063
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
206 |
* 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
|
207 |
- 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
|
208 |
|
2042
d39c5392db5c
Remove libtoolize stuff because using regular tarball and not CVS.
dc144907
parents:
1949
diff
changeset
|
209 |
* Thu Feb 26 2004 - Damien Carbery <[email protected]> |
d39c5392db5c
Remove libtoolize stuff because using regular tarball and not CVS.
dc144907
parents:
1949
diff
changeset
|
210 |
- 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
|
211 |
|
1949 | 212 |
* Fri Feb 20 2004 - Damien Carbery <[email protected]> |
213 |
- Initial release version for java-access-bridge. |