|
|
1953459 |
Summary: Java GNOME bindings
|
|
|
1953459 |
Name: java-gnome
|
|
Mat Booth |
fe5106d |
Version: 4.1.3
|
|
|
3777bd9 |
Release: 6%{?dist}
|
|
|
1953459 |
URL: http://java-gnome.sourceforge.net
|
|
Mat Booth |
fe5106d |
Source0: http://ftp.gnome.org/pub/gnome/sources/java-gnome/4.1/java-gnome-%{version}.tar.xz
|
|
Yaakov Selkowitz |
8928b69 |
# Workaround for brp-java-repack-jars skipping top-level dot-files
|
|
Yaakov Selkowitz |
8928b69 |
Patch0: java-gnome-4.1.3-libdir.patch
|
|
|
1953459 |
# This is the "Classpath" exception.
|
|
|
1953459 |
License: GPLv2 with exceptions
|
|
|
1953459 |
Group: System Environment/Libraries
|
|
|
1953459 |
BuildRequires: pkgconfig
|
|
|
1953459 |
BuildRequires: pkgconfig(atk)
|
|
|
1953459 |
BuildRequires: pkgconfig(cairo-svg)
|
|
|
1953459 |
BuildRequires: pkgconfig(enchant)
|
|
|
603c4ab |
BuildRequires: pkgconfig(gdk-3.0)
|
|
|
1953459 |
BuildRequires: pkgconfig(glib-2.0)
|
|
|
603c4ab |
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
603c4ab |
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
|
|
|
603c4ab |
BuildRequires: pkgconfig(gtksourceview-3.0)
|
|
Yaakov Selkowitz |
8928b69 |
#BuildRequires: pkgconfig(gtkspell-2.0)
|
|
|
1953459 |
BuildRequires: pkgconfig(libnotify)
|
|
|
1953459 |
BuildRequires: pkgconfig(pango)
|
|
|
7dd699d |
BuildRequires: pkgconfig(librsvg-2.0)
|
|
|
1953459 |
BuildRequires: gettext
|
|
|
1953459 |
BuildRequires: junit
|
|
|
1953459 |
BuildRequires: python
|
|
|
1953459 |
BuildRequires: java-devel >= 1:1.6.0
|
|
|
1953459 |
BuildRequires: jpackage-utils
|
|
|
e652b10 |
Requires: java-headless >= 1:1.6.0
|
|
|
1953459 |
Requires: jpackage-utils
|
|
|
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
|
|
Yaakov Selkowitz |
8928b69 |
%patch0 -p1
|
|
|
1953459 |
|
|
Mat Booth |
fe5106d |
# Remove all binaries
|
|
Mat Booth |
fe5106d |
find . -name "*.jar" -exec rm -f {} \;
|
|
Mat Booth |
fe5106d |
find . -name "*.class" -exec rm -f {} \;
|
|
|
1953459 |
|
|
|
1953459 |
%build
|
|
|
1953459 |
# It'll get two conflicting --libdir parameters, but the last one
|
|
|
1953459 |
# happens to win which is what we want.
|
|
Yaakov Selkowitz |
8928b69 |
%configure --jardir=%{_jnidir} --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 |
make install DESTDIR=%{buildroot}
|
|
|
1953459 |
|
|
Mat Booth |
fe5106d |
# Remove the versioned jar
|
|
Yaakov Selkowitz |
8928b69 |
rm -rf %{buildroot}%{_jnidir}/gtk.jar
|
|
Yaakov Selkowitz |
8928b69 |
mv %{buildroot}%{_jnidir}/gtk-*.jar %{buildroot}%{_jnidir}/gtk.jar
|
|
Yaakov Selkowitz |
8928b69 |
# for backwards compatibility
|
|
Yaakov Selkowitz |
8928b69 |
mkdir -p %{buildroot}%{_libdir}/%{name}
|
|
Yaakov Selkowitz |
8928b69 |
ln -s %{_jnidir}/gtk.jar %{buildroot}%{_libdir}/%{name}/gtk.jar
|
|
Mat Booth |
fe5106d |
|
|
Mat Booth |
fe5106d |
# Install javadoc
|
|
|
1953459 |
mkdir -p %{buildroot}%{_javadocdir}
|
|
Mat Booth |
fe5106d |
cp -rp doc/api %{buildroot}%{_javadocdir}/%{name}
|
|
|
1953459 |
|
|
Mat Booth |
fe5106d |
%pre javadoc
|
|
Mat Booth |
fe5106d |
# Workaround for rpm bug, can be removed in F-23
|
|
Mat Booth |
fe5106d |
[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
|
|
Mat Booth |
fe5106d |
rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
|
|
|
1953459 |
|
|
|
1953459 |
%files
|
|
Mat Booth |
fe5106d |
%doc AUTHORS* COPYING* README* NEWS* LICENCE*
|
|
|
1953459 |
%dir %{_libdir}/%{name}
|
|
|
1953459 |
%{_libdir}/%{name}/*.jar
|
|
|
1953459 |
%{_libdir}/%{name}/*.so
|
|
Yaakov Selkowitz |
8928b69 |
%{_jnidir}/gtk.jar
|
|
|
1953459 |
|
|
|
1953459 |
%files javadoc
|
|
|
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 |
|
|
|
1953459 |
%changelog
|
|
|
3777bd9 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-6
|
|
|
3777bd9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
3777bd9 |
|
|
Yaakov Selkowitz |
8928b69 |
* Mon Jun 30 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 4.1.3-5
|
|
Yaakov Selkowitz |
8928b69 |
- Install jar into %%_jnidir per latest guidelines (#1101069)
|
|
Yaakov Selkowitz |
8928b69 |
- Workaround for brp-java-repack-jars skipping top-level dot-files
|
|
Yaakov Selkowitz |
8928b69 |
- Remove obsolete gtkspell BR
|
|
Yaakov Selkowitz |
8928b69 |
|
|
|
8f60f39 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-4
|
|
|
8f60f39 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
8f60f39 |
|
|
|
e652b10 |
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 4.1.3-3
|
|
|
e652b10 |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
e652b10 |
|
|
|
a46356d |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-2
|
|
|
a46356d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
a46356d |
|
|
Mat Booth |
fe5106d |
* Thu Jul 04 2013 Mat Booth <fedora@matbooth.co.uk> - 4.1.3-1
|
|
Mat Booth |
fe5106d |
- Update to latest upstream, rhbz #852985
|
|
Mat Booth |
fe5106d |
- Drop no longer needed JDK7 patch
|
|
Mat Booth |
fe5106d |
- Minor changes for newer guidelines
|
|
Mat Booth |
fe5106d |
|
|
|
85fa2ab |
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 4.1.1-7
|
|
|
85fa2ab |
- Rebuilt for gtksourceview3 soname bump
|
|
|
85fa2ab |
|
|
|
816db17 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-6
|
|
|
816db17 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
816db17 |
|
|
|
f512d39 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-5
|
|
|
f512d39 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
f512d39 |
|
|
|
761541e |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-4
|
|
|
761541e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
761541e |
|
|
|
4abfc55 |
* Sun Dec 18 2011 Alexander Boström <abo@root.snowtree.se> - 4.1.1-3
|
|
|
4abfc55 |
- Add java-gnome-4.1.1-extendsboxed.patch: Java 1.7 compat.
|
|
|
4abfc55 |
|
|
|
5c4cc32 |
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 4.1.1-2
|
|
|
5c4cc32 |
- Rebuild for new libpng
|
|
|
5c4cc32 |
|
|
|
603c4ab |
* Tue Jul 12 2011 Alexander Boström <abo@root.snowtree.se> - 4.1.1-1
|
|
|
603c4ab |
- Upgrade to 4.1.1, GNOME 3 deps, remove libnotify patch.
|
|
|
603c4ab |
- Remove javadocbuild patch.
|
|
|
603c4ab |
- Remove BuildRoot and an obsolete conditional.
|
|
|
603c4ab |
|
|
|
5ddbbfd |
* Mon Jul 11 2011 Alexander Boström <abo@root.snowtree.se> - 4.0.20-1
|
|
|
5ddbbfd |
- Upgrade to 4.0.20
|
|
|
5ddbbfd |
- reapply libnotify patch
|
|
|
5ddbbfd |
|
|
|
74d450f |
* Thu Jul 07 2011 Alexander Boström <abo@root.snowtree.se> - 4.0.19-5
|
|
|
74d450f |
- Rebuild
|
|
|
74d450f |
|
|
|
795b002 |
* Wed Jul 06 2011 Alexander Boström <abo@root.snowtree.se> - 4.0.19-4
|
|
|
795b002 |
- remove confusingly named .libnotify07 file from example code
|
|
|
795b002 |
- add workaround for javadoc build problem (rhbz bug 715804)
|
|
|
795b002 |
|
|
|
7160174 |
* Sun Apr 03 2011 Alexander Boström <abo@root.snowtree.se> - 4.0.19-3
|
|
|
7160174 |
- https://fedoraproject.org/wiki/Packaging:Java#Filenames does not
|
|
|
7160174 |
apply to JNI JAR files. Avoid needless symlinking in new branches.
|
|
|
7160174 |
|
|
|
07fae3b |
* Sun Apr 03 2011 Alexander Boström <abo@root.snowtree.se> - 4.0.19-2
|
|
|
07fae3b |
- Make the libnotify patch conditional.
|
|
|
07fae3b |
|
|
|
7dd699d |
* Sat Apr 02 2011 Alexander Boström <abo@root.snowtree.se> - 4.0.19-1
|
|
|
7dd699d |
- Update to the latest release.
|
|
|
7dd699d |
- Patch for libnotify 0.7 compatibility.
|
|
|
7dd699d |
- Add missing buildreqs.
|
|
|
7dd699d |
|
|
|
dee09f5 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.16-4
|
|
|
dee09f5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
dee09f5 |
|
|
|
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
|