SPECS: icedtea.spec (NEW) - just started
arekm
arekm at pld-linux.org
Tue Jun 26 22:35:57 CEST 2007
Author: arekm Date: Tue Jun 26 20:35:57 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- just started
---- Files affected:
SPECS:
icedtea.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/icedtea.spec
diff -u /dev/null SPECS/icedtea.spec:1.1
--- /dev/null Tue Jun 26 22:35:57 2007
+++ SPECS/icedtea.spec Tue Jun 26 22:35:51 2007
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+# TODO:
+# - fix bash substitution
+%define snap 20070626
+Summary: OpenJDK and GNU Classpath code
+Name: icedtea
+Version: 1.0
+Release: 0.%{snap}.1
+License: GPL
+Group: Development/Languages/Java
+Source0: %{name}-%{snap}.tar.gz
+# Source0-md5: 8a7d2c92662b06c31dc4ada65004a508
+Source1: http://download.java.net/openjdk/jdk7/promoted/b14/openjdk-7-ea-src-b14-21_jun_2007.zip
+# Source1-md5: c126a32966e4bdb6a60a5724d9447966
+URL: http://icedtea.classpath.org/wiki/Main_Page
+BuildRequires: bash
+BuildRequires: cups-devel
+BuildRequires: eclipse-ecj
+BuildRequires: libgcj
+BuildRequires: motif-devel
+BuildRequires: unzip
+BuildRequires: xalan-j
+BuildRequires: xerces-j
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xorg-lib-libXt-devel
+BuildRequires: xorg-proto-printproto-devel
+BuildRequires: xorg-proto-xproto-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The IcedTea project provides a harness to build the source code from
+http://openjdk.java.net using Free Software build tools and provides
+replacements libraries for the binary plugs with code from the GNU
+Classpath project.
+
+%prep
+%setup -q -n %{name} -a1
+
+%build
+%configure \
+ --with-ecj-jar=%{_javadir}/ecj.jar \
+ --with-libgcj-jar=%{_javadir}/libgcj.jar \
+ --with-xalan2-jar=%{_javadir}/xalan.jar \
+ --with-xalan2-serializer-jar=%{_javadir}/xalan.jar \
+ --with-xerces2-jar=%{_javadir}/xerces.jar \
+ --with-openjdk-src-zip=%{SOURCE1} \
+ --with-openjdk-src=${PWD}/openjdk
+
+%{__make} -j1 \
+ SHELL=/bin/bash
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/06/26 20:35:51 arekm
+- just started
+
+
================================================================
More information about the pld-cvs-commit
mailing list