2013-12-18 12:32:25 +01:00
|
|
|
#
|
|
|
|
# spec file for package java-atk-wrapper
|
|
|
|
#
|
2020-11-09 09:21:43 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2013-12-18 12:32:25 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-11-09 09:21:43 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-12-18 12:32:25 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2020-11-09 09:21:43 +01:00
|
|
|
%global major_version 0.38
|
2013-12-18 12:32:25 +01:00
|
|
|
Name: java-atk-wrapper
|
2020-11-09 09:21:43 +01:00
|
|
|
Version: %{major_version}.0
|
2013-12-18 12:32:25 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Java ATK Wrapper
|
2020-11-09 09:21:43 +01:00
|
|
|
License: LGPL-2.0-or-later
|
2013-12-18 12:32:25 +01:00
|
|
|
Group: Development/Libraries/Java
|
2020-11-09 09:21:43 +01:00
|
|
|
URL: https://gitlab.gnome.org/GNOME/java-atk-wrapper/
|
|
|
|
Source0: https://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{version}.tar.xz
|
2013-12-18 12:32:25 +01:00
|
|
|
Source1: HOWTO
|
2020-11-09 09:21:43 +01:00
|
|
|
Source2: https://gitlab.gnome.org/GNOME/%{name}/-/raw/%{version}/wrapper/manifest.txt
|
|
|
|
Source3: https://gitlab.gnome.org/GNOME/%{name}/-/raw/%{version}/autogen.sh
|
2017-10-10 18:43:06 +02:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2017-10-31 11:41:07 +01:00
|
|
|
BuildRequires: java-devel >= 1.7
|
2017-10-10 18:43:06 +02:00
|
|
|
BuildRequires: libtool
|
2017-09-06 15:29:39 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: xprop
|
2014-10-19 19:28:08 +02:00
|
|
|
BuildRequires: xz
|
2017-09-06 15:29:39 +02:00
|
|
|
BuildRequires: pkgconfig(atk) >= 2.14.0
|
|
|
|
BuildRequires: pkgconfig(atk-bridge-2.0)
|
|
|
|
BuildRequires: pkgconfig(atspi-2) >= 2.14.0
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
|
|
BuildRequires: pkgconfig(gdk-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
2017-10-13 08:07:03 +02:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2017-09-06 15:29:39 +02:00
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
2017-10-13 08:07:03 +02:00
|
|
|
Requires: java >= 1.7
|
2013-12-18 12:32:25 +01:00
|
|
|
Requires: xprop
|
|
|
|
|
|
|
|
%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
|
|
|
|
cp %{SOURCE1} .
|
2017-09-06 15:19:12 +02:00
|
|
|
cp %{SOURCE2} wrapper/
|
2017-10-13 08:07:03 +02:00
|
|
|
cp %{SOURCE3} .
|
2017-10-26 09:31:11 +02:00
|
|
|
rm -f wrapper/org/GNOME/Accessibility/AtkWrapper.java
|
2013-12-18 12:32:25 +01:00
|
|
|
|
|
|
|
%build
|
2017-10-13 08:07:03 +02:00
|
|
|
chmod +x autogen.sh
|
|
|
|
./autogen.sh
|
2020-11-09 09:21:43 +01:00
|
|
|
%configure --libdir=%{_libdir}/%{name}
|
2013-12-18 12:32:25 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2017-09-06 15:19:12 +02:00
|
|
|
make -C jni install DESTDIR=%{buildroot}
|
|
|
|
install wrapper/java-atk-wrapper.jar %{buildroot}%{_libdir}/%{name}/
|
2017-09-06 15:36:21 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2013-12-18 12:32:25 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc AUTHORS
|
|
|
|
%doc COPYING.LESSER
|
|
|
|
%doc NEWS
|
|
|
|
%doc README
|
|
|
|
%doc HOWTO
|
|
|
|
%{_libdir}/%{name}/
|
|
|
|
|
|
|
|
%changelog
|