This commit is contained in:
commit
8350eab9b1
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
ecj-3.3.tar.gz
Normal file
3
ecj-3.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b240909999d8a5685500f6c5a2ad9e0718f370c3dc14dfd5a0941cb76d8e9f06
|
||||
size 877335
|
5
ecj.changes
Normal file
5
ecj.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 22 10:52:43 CET 2007 - anosek@suse.cz
|
||||
|
||||
- new package, initial version 3.3
|
||||
|
114
ecj.spec
Normal file
114
ecj.spec
Normal file
@ -0,0 +1,114 @@
|
||||
#
|
||||
# spec file for package ecj (Version 3.3)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: ecj
|
||||
%define section free
|
||||
%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
|
||||
Version: 3.3
|
||||
Release: 1
|
||||
Summary: Eclipse Compiler for Java
|
||||
Group: Development/Languages/Java
|
||||
License: EPL
|
||||
Url: www.eclipse.org
|
||||
# this tarball is generated by a script that uses the original eclipse sources
|
||||
# script is included for documentation purposes in the docdir of the package
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
# this is the changelog from the original JPackage eclipse package that is
|
||||
# included for documentation and recognition purposes only
|
||||
Source1: eclipse-jpackage-changelog.txt
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if ! %{gcj_support}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
BuildRequires: ant
|
||||
BuildRequires: jpackage-utils >= 0:1.7
|
||||
%if %{gcj_support}
|
||||
BuildRequires: gcc-java >= 4.0.0
|
||||
Requires: libgcj >= 4.0.0
|
||||
Requires(post): java-gcj-compat
|
||||
Requires(postun): java-gcj-compat
|
||||
%else
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: sed
|
||||
Requires: java
|
||||
%endif
|
||||
%if %defined suse_version
|
||||
BuildRequires: unzip
|
||||
%endif
|
||||
|
||||
%description
|
||||
Eclipse Compiler for Java
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%{__cp} %{SOURCE1} .
|
||||
unset CLASSPATH
|
||||
%if %{gcj_support}
|
||||
for f in `find -name '*.java'`; do
|
||||
gcj -Wno-deprecated -C $f
|
||||
done
|
||||
find . \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' \) \
|
||||
| xargs jar cf %{name}-%{version}.jar
|
||||
%else
|
||||
# remove -Xlint:none from javac compiler arguments as it causes
|
||||
# Sun Java 1.4.2 to crap out
|
||||
%{__sed} -i -e 's,-Xlint:none ,,g' jdtcoresrc/compilejdtcorewithjavac.xml
|
||||
# first invocation builds with javac, second time around with ecj itself
|
||||
ant -f jdtcoresrc/compilejdtcorewithjavac.xml
|
||||
CLASSPATH="`pwd`/jdtcoresrc/%{name}.jar" \
|
||||
ant -f jdtcoresrc/compilejdtcore.xml
|
||||
# just to make sure there is no confusion, delete the bootstrap ecj jar
|
||||
%{__rm} jdtcoresrc/%{name}.jar
|
||||
%endif
|
||||
|
||||
%install
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
%{__mkdir_p} ${RPM_BUILD_ROOT}%{_javadir}
|
||||
%{__install} -m 0644 %{name}.jar \
|
||||
${RPM_BUILD_ROOT}%{_javadir}/%{name}-%{version}.jar
|
||||
pushd ${RPM_BUILD_ROOT}%{_javadir}
|
||||
%{__ln_s} %{name}-%{version}.jar %{name}.jar
|
||||
popd
|
||||
%if %{gcj_support}
|
||||
aot-compile-rpm
|
||||
%endif
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
%if %{gcj_support}
|
||||
|
||||
%post
|
||||
if [ -x "%{_bindir}/rebuild-gcj-db" ]; then
|
||||
%{_bindir}/rebuild-gcj-db
|
||||
fi
|
||||
|
||||
%postun
|
||||
if [ -x "%{_bindir}/rebuild-gcj-db" ]; then
|
||||
%{_bindir}/rebuild-gcj-db
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc eclipse-jpackage-changelog.txt %{name}-tarballBuild.sh
|
||||
%{_javadir}/%{name}-%{version}.jar
|
||||
%{_javadir}/%{name}.jar
|
||||
%if %{gcj_support}
|
||||
%{_libdir}/gcj/%{name}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Nov 22 2007 - anosek@suse.cz
|
||||
- new package, initial version 3.3
|
111
eclipse-jpackage-changelog.txt
Normal file
111
eclipse-jpackage-changelog.txt
Normal file
@ -0,0 +1,111 @@
|
||||
* Mon Jun 19 2006 Jason Corley <jason.corley@gmail.com> - 1:3.1.2-6jpp
|
||||
- massive spec cleanups (too many to list or enumerate)
|
||||
- mozilla to seamonkey
|
||||
- it would be nice if the fedora cabal could actually manage to write a spec
|
||||
that came close to approximating the standards they force on everyone else
|
||||
- TODO: far too many RH/Fedora-isms, we should work to remove that
|
||||
|
||||
* Mon Apr 03 2006 Fernando Nasser <fnasser@redhat.com> - 0:3.1.2-1jpp
|
||||
- Require lucene 1.9.1
|
||||
From Thu Mar 16 2006 Andrew Overholt <overholt@redhat.com>:
|
||||
- 3.1.2.
|
||||
- Adjust for lucene 1.9.1
|
||||
- Bring in changes from FC-4 and FC-5 (see those changelogs for details).
|
||||
- Export JAVA_HOME for build.
|
||||
- Look for libjawt in multiple locations for the various proprietary JVMs.
|
||||
- Set include path for jni.h.
|
||||
- Decrement gtk requirement for RHEL-4.
|
||||
|
||||
* Fri Nov 11 2005 Fernando Nasser <fnasser@redhat.com> 0:3.0.2-5jpp
|
||||
- Add header
|
||||
- Rebuild for JPP 1.7
|
||||
- Import spec file and pacthes with Red Hat changes as ours won't build
|
||||
(WARNING: local changes may have been lost)
|
||||
Fri Aug 11 2005 Jeff Pound <jpound@redhat.com> 3.0.2-8
|
||||
- Use mozilla version 1.7.10.
|
||||
Fri Aug 05 2005 Andrew Overholt <overholt@redhat.com> 3.0.2-7
|
||||
- Build libswt-mozilla-gtk.so.
|
||||
- Add patch for API change between mozilla 1.6 and 1.7.7.
|
||||
Mon Jul 18 2005 Andrew Overholt <overholt@redhat.com> 3.0.2-6
|
||||
- Add XTEST_LIB_PATH on x86_64 to stop unsatisfied link errors.
|
||||
- Add xorg-x11-devel build requirement.
|
||||
- BuildRequire java-devel (not java).
|
||||
- Minor tweaks courtesy JPackage.org.
|
||||
- Remove junit requirement (since we're using all Eclipse.org jars).
|
||||
Tue Jun 21 2005 Aaron Luchko <aluchko@redhat.com> 3.0.2-5
|
||||
- Fixed permissions on %{_libdir}/%{name}/eclipse and %{_bindir}/eclipse
|
||||
Tue Jun 21 2005 Andrew Overholt <overholt@redhat.com> 3.0.2-4
|
||||
- Add x86_64.
|
||||
Fri Jun 03 2005 Andrew Overholt <overholt@redhat.com> 3.0.2-3
|
||||
- Update to new (as in Fedora Core 4) sub-RPM layout.
|
||||
Tue May 24 2005 Ben Konrath <bkonrath@redhat.com> 3.0.2-2
|
||||
- Don't use %{eclipse_micro} for plugin names.
|
||||
Thu Apr 21 2005 Ben Konrath <bkonrath@redhat.com> 3.0.2-1
|
||||
- Update sources to 3.0.2.
|
||||
- Update SWT patches.
|
||||
Tue Mar 29 2005 Andrew Overholt <overholt@redhat.com> 3.0.1-12
|
||||
- Bump release.
|
||||
- Add 64-bit awareness to SWT jar locations.
|
||||
- Remove old changelog entries (< 3.0.1).
|
||||
|
||||
* Fri Aug 11 2005 Jeff Pound <jpound@redhat.com> 3.0.2-8
|
||||
- Use mozilla version 1.7.10.
|
||||
|
||||
* Fri Aug 05 2005 Andrew Overholt <overholt@redhat.com> 3.0.2-7
|
||||
- Build libswt-mozilla-gtk.so.
|
||||
- Add patch for API change between mozilla 1.6 and 1.7.7.
|
||||
|
||||
* Mon Jul 18 2005 Andrew Overholt <overholt@redhat.com> 3.0.2-6
|
||||
- Add XTEST_LIB_PATH on x86_64 to stop unsatisfied link errors.
|
||||
- Add xorg-x11-devel build requirement.
|
||||
- BuildRequire java-devel (not java).
|
||||
- Minor tweaks courtesy JPackage.org.
|
||||
- Remove junit requirement (since we're using all Eclipse.org jars).
|
||||
|
||||
* Tue Jun 21 2005 Aaron Luchko <aluchko@redhat.com> 3.0.2-5
|
||||
- Fixed permissions on %{_libdir}/%{name}/eclipse and %{_bindir}/eclipse
|
||||
|
||||
* Tue Jun 21 2005 Andrew Overholt <overholt@redhat.com> 3.0.2-4
|
||||
- Add x86_64.
|
||||
|
||||
* Fri Jun 03 2005 Andrew Overholt <overholt@redhat.com> 3.0.2-3
|
||||
- Update to new (as in Fedora Core 4) sub-RPM layout.
|
||||
|
||||
* Tue May 24 2005 Ben Konrath <bkonrath@redhat.com> 3.0.2-2
|
||||
- Don't use %{eclipse_micro} for plugin names.
|
||||
|
||||
* Thu Apr 21 2005 Ben Konrath <bkonrath@redhat.com> 3.0.2-1
|
||||
- Update sources to 3.0.2.
|
||||
- Update SWT patches.
|
||||
|
||||
* Tue Mar 29 2005 Andrew Overholt <overholt@redhat.com> 3.0.1-12
|
||||
- Bump release.
|
||||
- Remove old changelog entries (< 3.0.1).
|
||||
- Add 64-bit awareness to SWT jar locations.
|
||||
|
||||
* Fri Mar 18 2005 Jeff Pound <jpound@redhat.com> 3.0.1-6
|
||||
- Remove ia64 from xml workaround loop.
|
||||
|
||||
* Wed Jan 5 2005 Aaron Luchko <aluchko@redhat.com> 3.0.1-5
|
||||
- fixed problem in search.patch
|
||||
- added search.patch a backported bugfix from 3.1.0
|
||||
- added charsets.patch to accommodate improper encodings and ibm jvm
|
||||
|
||||
* Mon Dec 06 2004 Aaron Luchko <aluchko@redhat.com> 3.0.1-4
|
||||
- changed eclipse.script to use /usr/bin/java when no jvm is supplied
|
||||
|
||||
* Mon Nov 22 2004 Ben Konrath <bkonrath@redhat.com> 3.0.1-3
|
||||
- split cvs-permission-bits.patch in two
|
||||
- bug fix for cvs-permission-bits.patch
|
||||
|
||||
* Fri Oct 29 2004 Ben Konrath <bkonrath@redhat.com> 3.0.1-2
|
||||
- add symlink for releng plugins that rely on o.e.pde.build_3.0.0
|
||||
|
||||
* Fri Oct 29 2004 Ben Konrath <bkonrath@redhat.com> 3.0.1-1
|
||||
- updated to Eclipse 3.0.1
|
||||
- updated jnigen patch
|
||||
- removed some debugging print statements
|
||||
- updated Red Hat documentaion sources
|
||||
- added Red Hat documentation pdf
|
||||
- remove commented ftp-webdav stuff as it will be in it's own spec file
|
||||
|
Loading…
Reference in New Issue
Block a user