author | dermotm |
Mon, 18 Oct 2004 09:30:38 +0000 | |
changeset 4276 | 2a2c7f354601 |
parent 4133 | ac0c5fbef3de |
child 4409 | 4fec71e58697 |
permissions | -rw-r--r-- |
1949 | 1 |
Name: java-access-bridge |
2 |
License: GPL |
|
3 |
Group: System/Libraries/GNOME |
|
2765 | 4 |
Version: 1.4.2 |
4276 | 5 |
Release: 24 |
1949 | 6 |
Distribution: Cinnabar |
7 |
Vendor: Sun Microsystems, Inc. |
|
8 |
Summary: The Java Access Bridge for GNOME for Java Swing apps. |
|
2447 | 9 |
Source: http://ftp.gnome.org/Public/gnome/sources/java-access-bridge/1.4/%{name}-%{version}.tar.bz2 |
2459 | 10 |
Patch1: java-access-bridge-01-install-fix.diff |
2964
bd5609264c55
java-access-bridge.spec: patch to compile with JDK1.5.0
dermotm
parents:
2958
diff
changeset
|
11 |
Patch2: java-access-bridge-02-jdk150-fix.diff |
3652 | 12 |
Patch3: java-access-bridge-03-get-text.diff |
4088 | 13 |
Patch4: java-access-bridge-04-get-deleted-chars.diff |
1949 | 14 |
URL: http://developer.gnome.org/projects/gap |
15 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
16 |
Docdir: %{_defaultdocdir}/doc |
|
17 |
Autoreqprov: on |
|
18 |
Prereq: /sbin/ldconfig |
|
19 |
||
2063
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
20 |
|
1949 | 21 |
%define libgnomeui_version 2.4.0.1 |
22 |
%define gtk2_version 2.2.4 |
|
23 |
%define atk_version 1.4.0 |
|
24 |
%define at_spi_version 1.1.8 |
|
25 |
%define at_spi_release 1 |
|
26 |
||
27 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
28 |
BuildRequires: atk-devel >= %{atk_version} |
|
29 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
30 |
BuildRequires: at-spi-devel >= %{at_spi_version}-%{at_spi_release} |
|
31 |
Requires: atk >= %{atk_version} |
|
32 |
Requires: gtk2 >= %{gtk2_version} |
|
33 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
34 |
Requires: at-spi >= %{at_spi_version} |
|
35 |
||
36 |
# configure also lists: |
|
37 |
# libbonobo-2.0 >= 1.1.0 libbonoboui-2.0 >= 1.1.0 libgnomeui-2.0 >= 1.1.0 libspi-1.0 >= 0.10.0 |
|
38 |
||
39 |
%description |
|
40 |
The Java Access Bridge for GNOME connects the built-in accessibility support in |
|
41 |
Java Swing apps to the GNOME Accessibility framework, specifically the Assistive |
|
42 |
Technology Service Provider Interface (AT-SPI). |
|
43 |
||
44 |
%prep |
|
45 |
%setup -q |
|
2471
9401f9b69b58
Comment out patch application as it will incorrectly modify build machine.
dc144907
parents:
2470
diff
changeset
|
46 |
# %patch1 -p1 |
4020
d72c2ce24a4c
* java-access-bridge.spec: Disable Java 1.5.0 patch because it breaks the build.
dc144907
parents:
4007
diff
changeset
|
47 |
# %patch2 -p1 |
3652 | 48 |
%patch3 -p1 |
4088 | 49 |
%patch4 -p1 |
1949 | 50 |
|
51 |
%build |
|
3263 | 52 |
%ifos linux |
53 |
if [ -x /usr/bin/getconf ]; then |
|
54 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
55 |
fi |
|
56 |
%else |
|
3846 | 57 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 58 |
%endif |
59 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
60 |
CPUS=1 |
|
61 |
fi |
|
62 |
||
3938 | 63 |
export PATH="/usr/java/jdk1.5.0_01/bin:$PATH" |
1949 | 64 |
CFLAGS="$RPM_OPT_FLAGS" \ |
2063
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
65 |
%ifos linux |
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
66 |
./configure --prefix=%{_prefix} \ |
3938 | 67 |
--with-java-home=/usr/java/jdk1.5.0_01 |
2063
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
68 |
%else |
3662 | 69 |
./configure --prefix=%{_prefix} |
2063
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
70 |
%endif |
1949 | 71 |
|
3263 | 72 |
make -j $CPUS |
1949 | 73 |
|
74 |
%install |
|
2230
e484f831e357
java-access-bridge: Specify %{_datadir}/jar instead of %{_datadir}/lib in %install
dc144907
parents:
2159
diff
changeset
|
75 |
make DESTDIR=$RPM_BUILD_ROOT install gnome_java_bridgedir=%{_datadir}/jar |
1949 | 76 |
|
77 |
%clean |
|
78 |
rm -rf $RPM_BUILD_ROOT |
|
79 |
||
80 |
%post |
|
81 |
/sbin/ldconfig |
|
82 |
||
83 |
%postun |
|
84 |
/sbin/ldconfig |
|
85 |
||
86 |
%files |
|
87 |
%defattr(-,root,root) |
|
2112 | 88 |
%{_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
|
89 |
# %{_prefix}/j2se |
1949 | 90 |
|
91 |
||
92 |
%changelog |
|
4088 | 93 |
* Wed Sep 29 2004 - Padraig O'Briain <[email protected]> |
94 |
- Add patch 04-get-deleted-chars for bugzilla #151579. |
|
95 |
||
4020
d72c2ce24a4c
* java-access-bridge.spec: Disable Java 1.5.0 patch because it breaks the build.
dc144907
parents:
4007
diff
changeset
|
96 |
* 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
|
97 |
- 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
|
98 |
|
3938 | 99 |
* Wed Sep 15 2004 - [email protected] |
100 |
- new install dir for JDK 1.5.0 |
|
101 |
||
3662 | 102 |
* Wed Aug 20 2004 - [email protected] |
103 |
- removed --disable-gtk-doc since this isn't an option this module's |
|
104 |
configure takes. |
|
105 |
||
3652 | 106 |
* Fri Aug 20 2004 - Padraig O'Briain <[email protected]> |
107 |
- Add patch 03-get-text for bugzilla #149602. |
|
108 |
||
3263 | 109 |
* Wed Jul 07 2004 - [email protected] |
110 |
- added "-j $CPUS" to make to speed up builds |
|
111 |
||
3125
1aea866ac170
gok.spec, at-spi.spec, java-access-bridge.spec, java-access-bridge-03-javac_compatability.diff
dermotm
parents:
3120
diff
changeset
|
112 |
* 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
|
113 |
- 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
|
114 |
|
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
|
115 |
* 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
|
116 |
- 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
|
117 |
|
2964
bd5609264c55
java-access-bridge.spec: patch to compile with JDK1.5.0
dermotm
parents:
2958
diff
changeset
|
118 |
* 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
|
119 |
- 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
|
120 |
|
2958 | 121 |
* 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
|
122 |
- New JDK |
2958 | 123 |
|
2765 | 124 |
* Fri May 15 2004 - Padraig O'Briain <[email protected]> |
125 |
- Bump version to 1.4.2 |
|
126 |
||
2595 | 127 |
* Fri Apr 30 2004 - Padraig O'Briain <[email protected]> |
2600 | 128 |
- Update Java version to 1.5.0 |
129 |
||
130 |
* Fri Apr 30 2004 - Padraig O'Briain <[email protected]> |
|
2595 | 131 |
- Bump version to 1.4.1 |
132 |
||
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
|
133 |
* 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
|
134 |
- 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
|
135 |
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
|
136 |
|
2459 | 137 |
* Wed Apr 14 2004 - Padraig O'Briain <[email protected]> |
138 |
- * Add patch for installation of accessibility.properties and |
|
139 |
gnome-java-bridge.jar |
|
140 |
||
2447 | 141 |
* Tue Apr 13 2004 - Padraig O'Briain <[email protected]> |
142 |
- Bump version to 1.4.0 |
|
143 |
||
2230
e484f831e357
java-access-bridge: Specify %{_datadir}/jar instead of %{_datadir}/lib in %install
dc144907
parents:
2159
diff
changeset
|
144 |
* 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
|
145 |
- 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
|
146 |
|
2112 | 147 |
* Tue Mar 02 2004 - Damien Carbery <[email protected]> |
148 |
- Correct files list. |
|
149 |
||
2095
1e2190d7e47b
Correct java-home path after installing 1.4.2_03 JDK.
dc144907
parents:
2063
diff
changeset
|
150 |
* 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
|
151 |
- 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
|
152 |
- 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
|
153 |
|
2063
81473313f722
Add '--with-java-home' to configure because JDK not being found
dc144907
parents:
2042
diff
changeset
|
154 |
* 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
|
155 |
- 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
|
156 |
|
2042
d39c5392db5c
Remove libtoolize stuff because using regular tarball and not CVS.
dc144907
parents:
1949
diff
changeset
|
157 |
* Thu Feb 26 2004 - Damien Carbery <[email protected]> |
d39c5392db5c
Remove libtoolize stuff because using regular tarball and not CVS.
dc144907
parents:
1949
diff
changeset
|
158 |
- 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
|
159 |
|
1949 | 160 |
* Fri Feb 20 2004 - Damien Carbery <[email protected]> |
161 |
- Initial release version for java-access-bridge. |