Add manpage for ecj executable
- Resolves: rhbz#948442
This commit is contained in:
parent
cb3efa8b4e
commit
8b54112e17
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
ecj-gcj.tar.bz2
|
ecj-gcj.tar.bz2
|
||||||
ecjsrc-4.2.1.jar
|
ecjsrc-4.2.1.jar
|
||||||
|
/ecj.1
|
||||||
|
13
ecj.spec
13
ecj.spec
@ -22,6 +22,7 @@ Source2: %{name}-gcj.tar.bz2
|
|||||||
#Patched from http://repo2.maven.org/maven2/org/eclipse/jdt/core/3.3.0-v_771/core-3.3.0-v_771.pom
|
#Patched from http://repo2.maven.org/maven2/org/eclipse/jdt/core/3.3.0-v_771/core-3.3.0-v_771.pom
|
||||||
# No dependencies are needed for ecj, dependencies are for using of jdt.core which makes no sense outside of eclipse
|
# No dependencies are needed for ecj, dependencies are for using of jdt.core which makes no sense outside of eclipse
|
||||||
Source3: core-3.3.0-v_771.pom
|
Source3: core-3.3.0-v_771.pom
|
||||||
|
Source4: ecj.1
|
||||||
# Always generate debug info when building RPMs (Andrew Haley)
|
# Always generate debug info when building RPMs (Andrew Haley)
|
||||||
Patch0: %{name}-rpmdebuginfo.patch
|
Patch0: %{name}-rpmdebuginfo.patch
|
||||||
Patch1: %{name}-defaultto1.5.patch
|
Patch1: %{name}-defaultto1.5.patch
|
||||||
@ -35,6 +36,7 @@ Patch5: eclipse-gcj-nodummysymbol.patch
|
|||||||
BuildRequires: gcc-java >= 4.0.0
|
BuildRequires: gcc-java >= 4.0.0
|
||||||
BuildRequires: /usr/bin/aot-compile-rpm
|
BuildRequires: /usr/bin/aot-compile-rpm
|
||||||
BuildRequires: java-gcj-compat
|
BuildRequires: java-gcj-compat
|
||||||
|
BuildRequires: gzip
|
||||||
|
|
||||||
%if ! %{with_gcjbootstrap}
|
%if ! %{with_gcjbootstrap}
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
@ -85,6 +87,7 @@ rm -f org/eclipse/jdt/core/BuildJarIndex.java
|
|||||||
|
|
||||||
# JDTCompilerAdapter isn't used by the batch compiler
|
# JDTCompilerAdapter isn't used by the batch compiler
|
||||||
rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java
|
rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java
|
||||||
|
cp %{SOURCE4} ecj.1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with_gcjbootstrap}
|
%if %{with_gcjbootstrap}
|
||||||
@ -97,6 +100,7 @@ rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java
|
|||||||
%else
|
%else
|
||||||
ant
|
ant
|
||||||
%endif
|
%endif
|
||||||
|
gzip ecj.1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
||||||
@ -110,6 +114,10 @@ popd
|
|||||||
install -p -D -m0755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/ecj
|
install -p -D -m0755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/ecj
|
||||||
sed --in-place "s:@JAVADIR@:%{_javadir}:" $RPM_BUILD_ROOT%{_bindir}/ecj
|
sed --in-place "s:@JAVADIR@:%{_javadir}:" $RPM_BUILD_ROOT%{_bindir}/ecj
|
||||||
|
|
||||||
|
# Install manpage
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
||||||
|
install -m 644 -p ecj.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/ecj.1.gz
|
||||||
|
|
||||||
aot-compile-rpm
|
aot-compile-rpm
|
||||||
|
|
||||||
# poms
|
# poms
|
||||||
@ -139,11 +147,16 @@ fi
|
|||||||
%{_javadir}/%{name}.jar
|
%{_javadir}/%{name}.jar
|
||||||
%{_javadir}/eclipse-%{name}.jar
|
%{_javadir}/eclipse-%{name}.jar
|
||||||
%{_javadir}/jdtcore.jar
|
%{_javadir}/jdtcore.jar
|
||||||
|
%{_mandir}/man1/ecj.1.gz
|
||||||
|
|
||||||
%files native
|
%files native
|
||||||
%{_libdir}/gcj/%{name}
|
%{_libdir}/gcj/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 21 2013 Jon VanAlten <jon.vanalten@redhat.com> - 4.2.1-7
|
||||||
|
- Add manpage for ecj executable
|
||||||
|
- Resolves: rhbz#948442
|
||||||
|
|
||||||
* Tue Apr 9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.1-6
|
* Tue Apr 9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.1-6
|
||||||
- Add depmap for org.eclipse.jdt.core.compiler:ecj
|
- Add depmap for org.eclipse.jdt.core.compiler:ecj
|
||||||
- Resolves: rhbz#949938
|
- Resolves: rhbz#949938
|
||||||
|
Loading…
Reference in New Issue
Block a user