java-atk-wrapper.spec revision 16755
16755N/A#
16755N/A# spec file for package java-atk-wrapper
16755N/A#
16755N/A# Copyright 2009 Sun Microsystems, Inc.
16755N/A# This file and all modifications and additions to the pristine
16755N/A# package are under the same license as the package itself.
16755N/A#
16755N/A# Owner: wangke
16755N/A#
16755N/A
16755N/AName: java-atk-wrapper
16755N/ALicense: LGPL v2.1
16755N/AGroup: System/Libraries/GNOME
16755N/AVersion: 0.27.3
16755N/ARelease: 1
16755N/AURL: http://live.gnome.org/Accessibility/JavaATKWrapper
16755N/ADistribution: Java Desktop System
16755N/AVendor: Sun Microsystems, Inc.
16755N/ASummary: A wrapper of ATK Bridge for Java Swing apps.
16755N/ASource: http://ftp.gnome.org/pub/GNOME/sources/java-atk-wrapper/0.27/%{name}-%{version}.tar.bz2
16755N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
16755N/A
16755N/A%define gtk2_version 2.2.4
16755N/A%define atk_version 1.4.0
16755N/A%define at_spi_version 1.1.8
16755N/A%define at_spi_release 1
16755N/A
16755N/ABuildRequires: atk-devel >= %{atk_version}
16755N/ABuildRequires: gtk2-devel >= %{gtk2_version}
16755N/ABuildRequires: at-spi-devel >= %{at_spi_version}-%{at_spi_release}
16755N/ARequires: atk >= %{atk_version}
16755N/ARequires: gtk2 >= %{gtk2_version}
16755N/ARequires: at-spi >= %{at_spi_version}
16755N/A
16755N/A%prep
16755N/A%setup -q -n %{name}-%{version}
16755N/A
16755N/A%build
16755N/Aaclocal
16755N/Aautoconf
16755N/Aautomake -a -c -f
16755N/ACFLAGS="%optflags"
16755N/ALDFLAGS="%{_ldflags}"
16755N/A./configure --prefix=%{_prefix} \
16755N/A --libdir=%{_libdir}
16755N/A
16755N/Amake jni
16755N/A%if %build_java
16755N/Amake wrapper
16755N/A%endif
16755N/A
16755N/A%install
16755N/Amake install jni DESTDIR=$RPM_BUILD_ROOT
16755N/A%if %build_java
16755N/Amake install wrapper DESTDIR=$RPM_BUILD_ROOT
16755N/A%endif
16755N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
16755N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
16755N/A
16755N/A%clean
16755N/Arm -rf $RPM_BUILD_ROOT
16755N/A
16755N/A%changelog
16755N/A* Fri Jul 6, 2009 - ke.wang@sun.com
16755N/A- Initial spec.