[packages/java-atk-wrapper] - new

qboosh qboosh at pld-linux.org
Sat Dec 27 15:41:52 CET 2014


commit e85751884286f65f559359ec23f101f689c6e33a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Dec 27 15:42:53 2014 +0100

    - new

 java-atk-wrapper-link.patch | 10 +++++
 java-atk-wrapper.spec       | 91 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+)
---
diff --git a/java-atk-wrapper.spec b/java-atk-wrapper.spec
new file mode 100644
index 0000000..b68d8f8
--- /dev/null
+++ b/java-atk-wrapper.spec
@@ -0,0 +1,91 @@
+%include	/usr/lib/rpm/macros.java
+Summary:	Java ATK Wrapper is a implementation of ATK by using JNI technic
+Summary(pl.UTF-8):	Java ATK Wrapper - implementacja ATK wykorzystująca JNI
+Name:		java-atk-wrapper
+Version:	0.32.2
+Release:	1
+License:	LGPL v2.1+
+Group:		Libraries/Java
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/java-atk-wrapper/0.32/%{name}-%{version}.tar.xz
+# Source0-md5:	479937a7cc944557785c3d79f0f98ca4
+Patch0:		%{name}-link.patch
+URL:		https://github.com/GNOME/java-atk-wrapper
+BuildRequires:	GConf2-devel >= 2.0
+BuildRequires:	at-spi2-atk-devel >= 2.0
+BuildRequires:	atk-devel >= 1:2.11.90
+BuildRequires:	autoconf >= 2.63
+BuildRequires:	automake >= 1:1.11
+BuildRequires:	glib2-devel >= 1:2.32.0
+BuildRequires:	gtk+2-devel >= 2.0
+BuildRequires:	jdk >= 1.5
+BuildRequires:	jpackage-utils
+BuildRequires:	libtool >= 2:2.2.6
+BuildRequires:	pkgconfig
+BuildRequires:	rpm-javaprov
+BuildRequires:	rpmbuild(macros) >= 1.300
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+Requires:	jpackage-utils
+Requires:	xorg-app-xprop
+Obsoletes:	java-access-bridge
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+%description -l pl.UTF-8
+Java ATK Wrapper to implementacja ATK wykorzystująca technikę JNI.
+Przekształca zdarzenia Java Swing na zdarzenia ATK i wysyła je do
+interfejsu ATK-Bridge.
+
+JAW to część projektu odchodzenia od Bonobo. Zastąpi poprzedni
+java-access-bridge. Dzięki komunikacji z ATK-Bridge pakiet nie jest
+zależny od zmiany mechanizmu komunikacji stojącego za interfejsem.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	JAVA_HOME=%{java_home} \
+	XPROP=/usr/bin/xprop
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	propertiesdir=%{_javadir} \
+	java_atk_wrapperdir=%{_javadir}
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libatk-wrapper.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/libatk-wrapper.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libatk-wrapper.so.1
+%attr(755,root,root) %{_libdir}/libatk-wrapper.so
+%{_javadir}/accessibility.properties
+%{_javadir}/java-atk-wrapper.jar
diff --git a/java-atk-wrapper-link.patch b/java-atk-wrapper-link.patch
new file mode 100644
index 0000000..0b7e98a
--- /dev/null
+++ b/java-atk-wrapper-link.patch
@@ -0,0 +1,10 @@
+--- java-atk-wrapper-0.32.2/configure.ac.orig	2014-12-11 20:11:27.000000000 +0100
++++ java-atk-wrapper-0.32.2/configure.ac	2014-12-27 13:42:13.944160283 +0100
+@@ -36,6 +36,7 @@
+ 
+ PKG_CHECK_MODULES(JAW, [
+   atk >= 2.11.90
++  atk-bridge-2.0
+   glib-2.0 >= 2.32.0
+   gthread-2.0
+   gmodule-2.0 >= 2.0.0
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/java-atk-wrapper.git/commitdiff/e85751884286f65f559359ec23f101f689c6e33a



More information about the pld-cvs-commit mailing list