[8812] | 1 | %global major_version 0.30 |
---|
| 2 | %global minor_version 4 |
---|
| 3 | |
---|
| 4 | Name: java-atk-wrapper |
---|
| 5 | Version: %{major_version}.%{minor_version} |
---|
| 6 | Release: 6%{?_dist_release} |
---|
| 7 | Summary: Java ATK Wrapper |
---|
| 8 | |
---|
| 9 | Group: Development/Libraries |
---|
| 10 | License: LGPLv2+ |
---|
| 11 | URL: http://git.gnome.org/browse/java-atk-wrapper |
---|
| 12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_version}/%{name}-%{version}.tar.bz2 |
---|
| 13 | # this is a fedora-specific file |
---|
| 14 | # needed to explain how to use java-atk-wrapper with different java runtimes |
---|
| 15 | Source1: README.fedora |
---|
| 16 | |
---|
| 17 | BuildRequires: java-devel |
---|
| 18 | |
---|
| 19 | BuildRequires: atk-devel |
---|
| 20 | BuildRequires: GConf2-devel |
---|
| 21 | BuildRequires: glib2-devel |
---|
| 22 | BuildRequires: gtk2-devel |
---|
| 23 | BuildRequires: xorg-x11-utils |
---|
| 24 | |
---|
| 25 | Requires: java |
---|
| 26 | Requires: xorg-x11-utils |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | Java ATK Wrapper is a implementation of ATK by using JNI technic. It |
---|
| 30 | converts Java Swing events into ATK events, and send these events to |
---|
| 31 | ATK-Bridge. |
---|
| 32 | |
---|
| 33 | JAW is part of the Bonobo deprecation project. It will replaces the |
---|
| 34 | former java-access-bridge. |
---|
| 35 | By talking to ATK-Bridge, it keeps itself from being affected by the |
---|
| 36 | change of underlying communication mechanism. |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %setup -q |
---|
| 40 | |
---|
| 41 | %build |
---|
| 42 | %configure |
---|
| 43 | make %{?_smp_mflags} |
---|
| 44 | cp %{SOURCE1} . |
---|
| 45 | |
---|
| 46 | %install |
---|
| 47 | # java-atk-wrapper's make install is broken by design |
---|
| 48 | # it installs to the current JDK_HOME. We want to install it to a central |
---|
| 49 | # location and then allow all/any JRE's/JDK's to use it. |
---|
| 50 | # make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 51 | |
---|
| 52 | mkdir -p %{buildroot}%{_libdir}/%{name} |
---|
| 53 | |
---|
| 54 | mv wrapper/java-atk-wrapper.jar %{buildroot}%{_libdir}/%{name}/ |
---|
| 55 | mv jni/src/.libs/libatk-wrapper.so.0.0.18 %{buildroot}%{_libdir}/%{name}/ |
---|
| 56 | ln -s %{_libdir}/%{name}/libatk-wrapper.so.0.0.18 \ |
---|
| 57 | %{buildroot}%{_libdir}/%{name}/libatk-wrapper.so.0 |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %files |
---|
| 61 | %doc AUTHORS |
---|
| 62 | %doc COPYING.LESSER |
---|
| 63 | %doc NEWS |
---|
| 64 | %doc README |
---|
| 65 | %doc README.fedora |
---|
| 66 | %{_libdir}/%{name}/ |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %changelog |
---|
| 70 | * Mon Jul 14 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.30.4-6 |
---|
| 71 | - initial build for Vine Linux. |
---|
| 72 | |
---|
| 73 | * Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.30.4-5 |
---|
| 74 | - Mass rebuild 2014-01-24 |
---|
| 75 | |
---|
| 76 | * Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.30.4-4 |
---|
| 77 | - Mass rebuild 2013-12-27 |
---|
| 78 | |
---|
| 79 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30.4-3 |
---|
| 80 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 81 | |
---|
| 82 | * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30.4-2 |
---|
| 83 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 84 | |
---|
| 85 | * Thu May 10 2012 - Omair Majid <omajid@redhat.com> - 0.30.4-1 |
---|
| 86 | - Added missing requires/buildrequires on xorg-x11-utils |
---|
| 87 | - Added README.fedora |
---|
| 88 | |
---|
| 89 | * Wed May 09 2012 - Omair Majid <omajid@redhat.com> - 0.30.4-1 |
---|
| 90 | - Initial packaging |
---|