Package java-atk-wrapper: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | # BEGIN SourceDeps(oneline): BuildRequires: /usr/bin/xprop imake java-devel-default libXt-devel pkgconfig(dbus-1) xorg-cf-files # END SourceDeps(oneline) BuildRequires: /proc BuildRequires: jpackage-generic-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %global major_version 0.33 %global minor_version 2 %global libver 5.0.0 Name: java-atk-wrapper Version: %{major_version}.%{minor_version} Release: alt5_8jpp8 Summary: Java ATK Wrapper Group: Development/Other License: LGPLv2+ URL: http://git.gnome.org/browse/java-atk-wrapper Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_version}/%{name}-%{version}.tar.xz # this is a fedora-specific file # needed to explain how to use java-atk-wrapper with different java runtimes Source1: README.fedora Patch1: removeNotExistingManifestInclusion.patch BuildRequires: java-devel BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: clang7.0 llvm7.0 BuildRequires: libatk-devel libatk-gir-devel BuildRequires: GConf libGConf-devel libGConf-gir-devel BuildRequires: glib2-devel libgio libgio-devel BuildRequires: gtk-builder-convert gtk-demo libgail-devel libgtk+2-devel libgtk+2-gir-devel BuildRequires: xorg-utils BuildRequires: gtk3-demo libgail3-devel libgtk+3 libgtk+3-devel libgtk+3-gir-devel BuildRequires: at-spi2-atk-devel BuildRequires: libat-spi2-core-devel libat-spi2-core-gir-devel Requires: java Requires: xorg-utils Source44: import.info %description Java ATK Wrapper is a implementation of ATK by using JNI technic. It converts Java Swing events into ATK events, and send these events to ATK-Bridge. JAW is part of the Bonobo deprecation project. It will replaces the former java-access-bridge. By talking to ATK-Bridge, it keeps itself from being affected by the change of underlying communication mechanism. %prep %setup -q %patch1 # Source contains a pre-built AtkWrapper.java with incorrect path to xprop (should # be in /usr/bin/ not /opt/X11/bin/). The real source file is AtkWrapper.java.in, # so explicitly remove the pre-built file before building. rm wrapper/org/GNOME/Accessibility/AtkWrapper.java %build %configure %make_build cp %{SOURCE1} . %install # java-atk-wrapper's make install is broken by design # it installs to the current JDK_HOME. We want to install it to a central # location and then allow all/any JRE's/JDK's to use it. # make install DESTDIR=$RPM_BUILD_ROOT mkdir -p %{buildroot}%{_libdir}/%{name} mv wrapper/java-atk-wrapper.jar %{buildroot}%{_libdir}/%{name}/ mv jni/src/.libs/libatk-wrapper.so.%{libver} %{buildroot}%{_libdir}/%{name}/ ln -s %{_libdir}/%{name}/libatk-wrapper.so.%{libver} \ %{buildroot}%{_libdir}/%{name}/libatk-wrapper.so.0 %files %doc AUTHORS %doc COPYING.LESSER %doc NEWS %doc README %doc README.fedora %{_libdir}/%{name}/ %changelog * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 0.33.2-alt5_8jpp8 - fc29 update * Mon Feb 04 2019 Igor Vlasenko <viy@altlinux.ru> 0.33.2-alt4_8jpp8 - java update * Mon Dec 31 2018 Igor Vlasenko <viy@altlinux.ru> 0.33.2-alt4_7jpp8 - fixed build * Sat Jun 02 2018 Igor Vlasenko <viy@altlinux.ru> 0.33.2-alt3_7jpp8 - fc28+ update * Fri Jun 01 2018 Igor Vlasenko <viy@altlinux.ru> 0.33.2-alt2_7jpp8 - java fc28+ update * Fri May 18 2018 Igor Vlasenko <viy@altlinux.ru> 0.33.2-alt2_6jpp8 - make -j2 instead of %%make_build -- helps on altair * Tue May 08 2018 Igor Vlasenko <viy@altlinux.ru> 0.33.2-alt1_6jpp8 - java update * Sat Nov 04 2017 Igor Vlasenko <viy@altlinux.ru> 0.33.2-alt1_3jpp8 - fixed build * Tue Nov 29 2016 Igor Vlasenko <viy@altlinux.ru> 0.33.2-alt1_2jpp8 - new fc release * Sun Feb 07 2016 Igor Vlasenko <viy@altlinux.ru> 0.33.2-alt1_0jpp8 - java 8 mass update * Wed Jun 11 2014 Igor Vlasenko <viy@altlinux.ru> 0.30.4-alt2_4jpp7 - converted from JPackage by jppimport script * Wed Apr 23 2014 Igor Vlasenko <viy@altlinux.ru> 0.30.4-alt1_3jpp7 - converted from JPackage by jppimport script |