source: projects/specs/trunk/j/java-atk-wrapper/java-atk-wrapper-vl.spec @ 8812

Revision 8812, 2.6 KB checked in by tomop, 10 years ago (diff)

java, etc.

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