Fedora IcedTea packages
Thomas Fitzsimmons
fitzsim at redhat.com
Wed Jun 13 16:03:50 PDT 2007
Hi,
I uploaded a .nosrc.rpm that can be used to build IcedTea packages on Fedora 7:
http://icedtea.classpath.org/download/fedora/java-1.7.0-icedtea-1.7.0.0-0.2.b12.nosrc.rpm
Build instructions:
sudo yum -y install alsa-lib-devel cups-devel lesstif-devel libX11-devel
libXi-devel libXp-devel libXt-devel libXtst-devel xalan-j2 xerces-j2
xorg-x11-proto-devel java-1.5.0-gcj-devel
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo %_topdir ~/rpmbuild > ~/.rpmmacros
rpm -Uvh
http://icedtea.classpath.org/download/fedora/java-1.7.0-icedtea-1.7.0.0-0.2.b12.nosrc.rpm
wget -P ~/rpmbuild/SOURCES
http://www.java.net/download/openjdk/40ec4ed263a6dfce13b8cf18fa046058/jdk7/promoted/b12/openjdk-7-ea-src-b12-06_may_2007.zip
rpmbuild --target i586 -ba ~/rpmbuild/SPECS/java-1.7.0-icedtea.spec
Omit "--target i586" on x86_64:
rpmbuild -ba ~/rpmbuild/SPECS/java-1.7.0-icedtea.spec
The binary packages are written to ~/rpmbuild/RPMS/i586 or ~/rpmbuild/RPMS/x86_64.
To install them:
sudo rpm -Uvh
~/rpmbuild/RPMS/i586/java-1.7.0-icedtea{,-debuginfo,-demo,-devel,-src}-1.7.0.0-0.2.b12.fc7.i586.rpm
or
rpm -Uvh
~/rpmbuild/RPMS/x86_64/java-1.7.0-icedtea{,-debuginfo,-demo,-devel,-src}-1.7.0.0-0.2.b12.fc7.x86_64.rpm
I'll be submitting a similar .src.rpm to the Fedora project once our licensing
questions are cleared up.
Tom
More information about the distro-pkg-dev
mailing list