java-atk-wrapper-vl.spec 2.6 KB

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