]> git.pld-linux.org Git - packages/java-atk-wrapper.git/blob - java-atk-wrapper.spec
- updated to 0.40.0
[packages/java-atk-wrapper.git] / java-atk-wrapper.spec
1 Summary:        Java ATK Wrapper is a implementation of ATK by using JNI technic
2 Summary(pl.UTF-8):      Java ATK Wrapper - implementacja ATK wykorzystująca JNI
3 Name:           java-atk-wrapper
4 Version:        0.40.0
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries/Java
8 Source0:        https://download.gnome.org/sources/java-atk-wrapper/0.40/%{name}-%{version}.tar.xz
9 # Source0-md5:  53b99e0afc192aef11689645753d97a5
10 URL:            https://wiki.gnome.org/Accessibility/JavaAtkWrapper
11 BuildRequires:  GConf2-devel >= 2.0
12 BuildRequires:  at-spi2-atk-devel >= 2.33.1
13 BuildRequires:  at-spi2-core-devel >= 2.14.0
14 BuildRequires:  atk-devel >= 1:2.36.0
15 BuildRequires:  autoconf >= 2.63
16 BuildRequires:  automake >= 1:1.11
17 BuildRequires:  dbus-devel
18 BuildRequires:  glib2-devel >= 1:2.32.0
19 BuildRequires:  gtk+2-devel >= 2.0
20 BuildRequires:  jdk >= 1.7
21 BuildRequires:  jpackage-utils
22 BuildRequires:  libtool >= 2:2.2.6
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpm-javaprov
25 BuildRequires:  rpmbuild(macros) >= 1.300
26 BuildRequires:  tar >= 1:1.22
27 BuildRequires:  xz
28 Requires:       at-spi2-core-libs >= 2.14.0
29 Requires:       at-spi2-atk-libs >= 2.33.1
30 Requires:       atk >= 1:2.36.0
31 Requires:       glib2 >= 1:2.32.0
32 Requires:       jpackage-utils
33 Requires:       xorg-app-xprop
34 Obsoletes:      java-access-bridge < 1.24
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 Java ATK Wrapper is a implementation of ATK by using JNI technic. It
39 converts Java Swing events into ATK events, and send these events to
40 ATK-Bridge.
41
42 JAW is part of the Bonobo deprecation project. It will replaces the
43 former java-access-bridge. By talking to ATK-Bridge, it keeps itself
44 from being affected by the change of underlying communication
45 mechanism.
46
47 %description -l pl.UTF-8
48 Java ATK Wrapper to implementacja ATK wykorzystująca technikę JNI.
49 Przekształca zdarzenia Java Swing na zdarzenia ATK i wysyła je do
50 interfejsu ATK-Bridge.
51
52 JAW to część projektu odchodzenia od Bonobo. Zastąpi poprzedni
53 java-access-bridge. Dzięki komunikacji z ATK-Bridge pakiet nie jest
54 zależny od zmiany mechanizmu komunikacji stojącego za interfejsem.
55
56 %prep
57 %setup -q
58
59 %build
60 %{__libtoolize}
61 %{__aclocal} -I m4
62 %{__autoconf}
63 %{__autoheader}
64 %{__automake}
65 %configure \
66         JAVA_HOME=%{java_home} \
67         JDK_SRC=%{java_home} \
68         XPROP=/usr/bin/xprop \
69         --disable-silent-rules \
70         --without-jdk-auto-detect \
71         --with-propertiesdir=%{java_home}/jre/lib
72
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT \
80         propertiesdir=%{_javadir} \
81         java_atk_wrapperdir=%{_javadir}
82
83 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libatk-wrapper.la
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS README
94 %attr(755,root,root) %{_libdir}/libatk-wrapper.so
95 %{_javadir}/accessibility.properties
96 %{_javadir}/java-atk-wrapper.jar
This page took 0.114472 seconds and 3 git commands to generate.