|
|
1953459 |
Summary: Java GNOME bindings
|
|
|
1953459 |
Name: java-gnome
|
|
|
03b2e58 |
Version: 4.0.16
|
|
|
c2a0690 |
Release: 3%{?dist}
|
|
|
1953459 |
URL: http://java-gnome.sourceforge.net
|
|
|
1953459 |
Source0: http://ftp.gnome.org/pub/gnome/sources/java-gnome/4.0/java-gnome-%{version}.tar.bz2
|
|
|
1953459 |
# This is the "Classpath" exception.
|
|
|
1953459 |
License: GPLv2 with exceptions
|
|
|
1953459 |
Group: System Environment/Libraries
|
|
|
1953459 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
1953459 |
BuildRequires: pkgconfig
|
|
|
1953459 |
BuildRequires: pkgconfig(atk)
|
|
|
1953459 |
BuildRequires: pkgconfig(cairo-svg)
|
|
|
1953459 |
BuildRequires: pkgconfig(enchant)
|
|
|
1953459 |
BuildRequires: pkgconfig(gdk-2.0)
|
|
|
1953459 |
BuildRequires: pkgconfig(glib-2.0)
|
|
|
1953459 |
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
1953459 |
BuildRequires: pkgconfig(gtk+-unix-print-2.0)
|
|
|
1953459 |
BuildRequires: pkgconfig(gtksourceview-2.0)
|
|
|
1953459 |
BuildRequires: pkgconfig(gtkspell-2.0)
|
|
|
1953459 |
BuildRequires: pkgconfig(libglade-2.0)
|
|
|
1953459 |
BuildRequires: pkgconfig(libnotify)
|
|
|
1953459 |
BuildRequires: pkgconfig(pango)
|
|
|
1953459 |
BuildRequires: pkgconfig(unique-1.0)
|
|
|
1953459 |
BuildRequires: gettext
|
|
|
1953459 |
BuildRequires: junit
|
|
|
1953459 |
BuildRequires: python
|
|
|
1953459 |
BuildRequires: java-devel >= 1:1.6.0
|
|
|
1953459 |
BuildRequires: jpackage-utils
|
|
|
1953459 |
Requires: java >= 1:1.6.0
|
|
|
1953459 |
Requires: jpackage-utils
|
|
|
03b2e58 |
# Pulled from upstream, will be in the next release.
|
|
|
03b2e58 |
Patch0: java-gnome-fedorajpkg-compat.patch
|
|
|
1953459 |
|
|
|
1953459 |
%description
|
|
|
1953459 |
These are the Java bindings for GTK and GNOME! Featuring a robust
|
|
|
1953459 |
engineering design, completely generated internals, a lovingly
|
|
|
1953459 |
crafted layer presenting the public API, and steadily increasing
|
|
|
1953459 |
coverage of the underlying libraries.
|
|
|
1953459 |
|
|
|
1953459 |
You can use java-gnome to develop sophisticated user interfaces
|
|
|
1953459 |
for Linux applications so that they richly integrate with the
|
|
|
1953459 |
GNOME Desktop while leveraging the power of the Java language
|
|
|
1953459 |
and your expertise with it.
|
|
|
1953459 |
|
|
|
1953459 |
%package javadoc
|
|
|
1953459 |
Summary: Javadoc for %{name}
|
|
|
1953459 |
Group: Documentation
|
|
|
1953459 |
Requires: %{name} = %{version}-%{release}
|
|
|
1953459 |
Requires: jpackage-utils
|
|
|
1953459 |
BuildArch: noarch
|
|
|
1953459 |
|
|
|
1953459 |
%description javadoc
|
|
|
1953459 |
This package contains the API documentation for %{name}, along with
|
|
|
1953459 |
design documentation and sample code.
|
|
|
1953459 |
|
|
|
1953459 |
%prep
|
|
|
1953459 |
%setup -q
|
|
|
1953459 |
%patch0 -p0 -b .jpackagecompat
|
|
|
1953459 |
|
|
|
1953459 |
if find -name '*.class' -o -name '*.jar' | grep . >&2; then
|
|
|
1953459 |
echo >&2 "Prebuilt binaries found in the sources. See https://fedoraproject.org/wiki/Packaging:Java#Pre-built_JAR_files_.2F_Other_bundled_software for instructions."
|
|
|
1953459 |
exit 1
|
|
|
1953459 |
fi
|
|
|
1953459 |
|
|
|
1953459 |
%build
|
|
|
1953459 |
# It'll get two conflicting --libdir parameters, but the last one
|
|
|
1953459 |
# happens to win which is what we want.
|
|
|
1953459 |
%configure --jardir=%{_libdir}/%{name} --libdir=%{_libdir}/%{name}
|
|
|
1953459 |
|
|
|
1953459 |
# The build system does not support parallell builds, so no
|
|
|
1953459 |
# _smp_mflags.
|
|
|
1953459 |
make V=1 build-java doc
|
|
|
1953459 |
|
|
|
1953459 |
%install
|
|
|
1953459 |
rm -rf %{buildroot}
|
|
|
1953459 |
|
|
|
1953459 |
mkdir -p %{buildroot}%{_javadir}
|
|
|
1953459 |
make install DESTDIR=%{buildroot}
|
|
|
1953459 |
|
|
|
1953459 |
mv %{buildroot}%{_libdir}/%{name}/gtk-4.0.jar %{buildroot}%{_libdir}/%{name}/java-gnome.jar
|
|
|
1953459 |
ln -s java-gnome.jar %{buildroot}%{_libdir}/%{name}/gtk-4.0.jar
|
|
|
1953459 |
|
|
|
1953459 |
mkdir -p %{buildroot}%{_javadocdir}
|
|
|
1953459 |
cp -rp doc/api %{buildroot}%{_javadocdir}/%{name}-%{version}
|
|
|
1953459 |
ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
|
|
|
1953459 |
|
|
|
1953459 |
%clean
|
|
|
1953459 |
rm -rf %{buildroot}
|
|
|
1953459 |
|
|
|
1953459 |
%files
|
|
|
1953459 |
%defattr(-,root,root,-)
|
|
|
1953459 |
%doc README NEWS LICENCE
|
|
|
1953459 |
%dir %{_libdir}/%{name}
|
|
|
1953459 |
%{_libdir}/%{name}/*.jar
|
|
|
1953459 |
%{_libdir}/%{name}/*.so
|
|
|
1953459 |
|
|
|
1953459 |
%files javadoc
|
|
|
1953459 |
%defattr(-,root,root,-)
|
|
|
1953459 |
# Note that not all here is javadoc. Two subpackages for documentation
|
|
|
1953459 |
# seems silly.
|
|
|
1953459 |
%doc doc/design doc/examples
|
|
|
1953459 |
%{_javadocdir}/%{name}
|
|
|
1953459 |
%{_javadocdir}/%{name}-%{version}
|
|
|
1953459 |
|
|
|
1953459 |
%changelog
|
|
|
c2a0690 |
* Mon Jul 19 2010 Alexander Boström <abo@root.snowtree.se> - 4.0.16-3
|
|
|
c2a0690 |
- remove Xvfb buildreq (not used)
|
|
|
c2a0690 |
|
|
|
66e1b2f |
* Sat Jul 17 2010 Alexander Boström <abo@root.snowtree.se> - 4.0.16-2
|
|
|
66e1b2f |
- rebase configure patch
|
|
|
66e1b2f |
|
|
|
03b2e58 |
* Tue Jun 22 2010 Alexander Boström <abo@root.snowtree.se> - 4.0.16-1
|
|
|
03b2e58 |
- update to 4.0.16
|
|
|
03b2e58 |
- simplify the configure script patch
|
|
|
03b2e58 |
- pull configure patch from upstream bzr
|
|
|
03b2e58 |
|
|
|
1953459 |
* Sun Apr 18 2010 Alexander Boström <abo@root.snowtree.se> - 4.0.15-3
|
|
|
1953459 |
- add back the jar symlink
|
|
|
1953459 |
|
|
|
1953459 |
* Sat Apr 17 2010 Alexander Boström <abo@root.snowtree.se> - 4.0.15-2
|
|
|
1953459 |
- make the javadoc subpackage noarch
|
|
|
1953459 |
- add an unversioned symlink to the javadoc
|
|
|
1953459 |
|
|
|
1953459 |
* Fri Mar 19 2010 Alexander Boström <abo@root.snowtree.se> - 4.0.15-1
|
|
|
1953459 |
- upgrade to 4.0.15
|
|
|
1953459 |
- remove jar symlink that's not actually required
|
|
|
1953459 |
|
|
|
1953459 |
* Sat Jan 2 2010 Alexander Boström <abo@root.snowtree.se> - 4.0.14-3
|
|
|
1953459 |
- rearrange jar symlinks
|
|
|
1953459 |
|
|
|
1953459 |
* Fri Jan 1 2010 Alexander Boström <abo@root.snowtree.se> - 4.0.14-2
|
|
|
1953459 |
- fix license
|
|
|
1953459 |
- fix .jar, .class check
|
|
|
1953459 |
|
|
|
1953459 |
* Thu Dec 31 2009 Alexander Boström <abo@root.snowtree.se> - 4.0.14-1
|
|
|
1953459 |
- upgrade to 4.0.14
|
|
|
1953459 |
- add lots of BuildRequires
|
|
|
1953459 |
- use pkg-config to get values for CFLAGS and LDFLAGS
|
|
|
1953459 |
- rename jar
|
|
|
1953459 |
- various little fixes
|
|
|
1953459 |
|
|
|
1953459 |
* Fri Jul 3 2009 Alexander Boström <abo@root.snowtree.se> - 4.0.11-1
|
|
|
1953459 |
- upgrade to 4.0.11
|
|
|
1953459 |
- make jpackagecompatible patch apply cleanly
|
|
|
1953459 |
- remove jnipath patch, it won't apply and it looks like it's not
|
|
|
1953459 |
needed anymore
|
|
|
1953459 |
- move JARs and JNI .so according to guidelines
|
|
|
1953459 |
- install javadoc and put it in a subpackage
|
|
|
1953459 |
|
|
|
1953459 |
* Wed May 14 2008 Colin Walters <walters@redhat.com> - 4.0.7-1
|
|
|
1953459 |
- Initial version
|