This commit is contained in:
parent
bc28d7c332
commit
edbf73bb29
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bbe912b4a4dd9508c01aab01dbb171a6c643d003dcc326fafba7452835bbeee0
|
|
||||||
size 97555
|
|
BIN
plexus-compiler-2.14.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
plexus-compiler-2.14.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
plexus-compiler-build.tar.xz
(Stored with Git LFS)
BIN
plexus-compiler-build.tar.xz
(Stored with Git LFS)
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package plexus-compiler
|
# spec file for package plexus-compiler
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: plexus-compiler
|
Name: plexus-compiler
|
||||||
Version: 2.13.0
|
Version: 2.14.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Compiler call initiators for Plexus
|
Summary: Compiler call initiators for Plexus
|
||||||
License: Apache-2.0 AND MIT
|
License: Apache-2.0 AND MIT
|
||||||
@ -28,14 +28,14 @@ Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|||||||
Source2: LICENSE.MIT
|
Source2: LICENSE.MIT
|
||||||
Source100: %{name}-build.tar.xz
|
Source100: %{name}-build.tar.xz
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
|
BuildRequires: atinject
|
||||||
BuildRequires: ecj
|
BuildRequires: ecj
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: javapackages-local >= 6
|
BuildRequires: javapackages-local >= 6
|
||||||
BuildRequires: plexus-classworlds
|
|
||||||
BuildRequires: plexus-containers-component-annotations
|
|
||||||
BuildRequires: plexus-containers-container-default
|
|
||||||
BuildRequires: plexus-metadata-generator
|
|
||||||
BuildRequires: plexus-utils
|
BuildRequires: plexus-utils
|
||||||
|
BuildRequires: sisu-inject
|
||||||
|
BuildRequires: sisu-plexus
|
||||||
|
BuildRequires: slf4j
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -47,9 +47,6 @@ additional compilers see %{name}-extras package.
|
|||||||
Summary: Extra compiler support for %{name}
|
Summary: Extra compiler support for %{name}
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Requires: mvn(org.codehaus.plexus:plexus-compiler-api) = %{version}
|
|
||||||
Requires: mvn(org.codehaus.plexus:plexus-utils)
|
|
||||||
Requires: mvn(org.eclipse.jdt:ecj)
|
|
||||||
|
|
||||||
%description extras
|
%description extras
|
||||||
Additional support for csharp, eclipse and jikes compilers
|
Additional support for csharp, eclipse and jikes compilers
|
||||||
@ -84,12 +81,14 @@ cp %{SOURCE2} LICENSE.MIT
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p lib
|
mkdir -p lib
|
||||||
build-jar-repository -s lib plexus/utils plexus/classworlds \
|
build-jar-repository -s lib \
|
||||||
plexus-containers/plexus-container-default \
|
atinject \
|
||||||
plexus-containers/plexus-component-annotations \
|
ecj \
|
||||||
plexus-metadata-generator objectweb-asm/asm \
|
org.eclipse.sisu.inject \
|
||||||
jdom2/jdom2 commons-cli qdox plexus/cli guava/guava xbean/xbean-reflect \
|
org.eclipse.sisu.plexus \
|
||||||
ecj
|
plexus/utils \
|
||||||
|
slf4j/api
|
||||||
|
|
||||||
# Tests are skipped because of unavailable plexus-compiler-test artifact
|
# Tests are skipped because of unavailable plexus-compiler-test artifact
|
||||||
%{ant} \
|
%{ant} \
|
||||||
-Dtest.skip=true \
|
-Dtest.skip=true \
|
||||||
@ -99,8 +98,9 @@ build-jar-repository -s lib plexus/utils plexus/classworlds \
|
|||||||
# jars
|
# jars
|
||||||
install -dm 0755 %{buildroot}%{_javadir}/%{name}
|
install -dm 0755 %{buildroot}%{_javadir}/%{name}
|
||||||
for i in plexus-compiler-api plexus-compiler-manager \
|
for i in plexus-compiler-api plexus-compiler-manager \
|
||||||
plexus-compilers/plexus-compiler-csharp plexus-compilers/plexus-compiler-eclipse \
|
plexus-compilers/plexus-compiler-csharp \
|
||||||
plexus-compilers/plexus-compiler-javac plexus-compilers/plexus-compiler-j2objc; do
|
plexus-compilers/plexus-compiler-eclipse \
|
||||||
|
plexus-compilers/plexus-compiler-javac; do
|
||||||
install -pm 0644 ${i}/target/$(basename ${i})-%{version}.jar %{buildroot}%{_javadir}/%{name}/$(basename ${i}).jar
|
install -pm 0644 ${i}/target/$(basename ${i})-%{version}.jar %{buildroot}%{_javadir}/%{name}/$(basename ${i}).jar
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ for i in plexus-compilers/plexus-compiler-csharp \
|
|||||||
done
|
done
|
||||||
# These ones end-up in the main package
|
# These ones end-up in the main package
|
||||||
for i in plexus-compiler-api plexus-compiler-manager \
|
for i in plexus-compiler-api plexus-compiler-manager \
|
||||||
plexus-compilers/plexus-compiler-javac plexus-compilers/plexus-compiler-j2objc; do
|
plexus-compilers/plexus-compiler-javac; do
|
||||||
bsnm=$(basename ${i})
|
bsnm=$(basename ${i})
|
||||||
%{mvn_install_pom} ${i}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/$bsnm.pom
|
%{mvn_install_pom} ${i}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/$bsnm.pom
|
||||||
%add_maven_depmap %{name}/$bsnm.pom %{name}/$bsnm.jar
|
%add_maven_depmap %{name}/$bsnm.pom %{name}/$bsnm.jar
|
||||||
@ -123,8 +123,9 @@ done
|
|||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
for i in plexus-compiler-api plexus-compiler-manager \
|
for i in plexus-compiler-api plexus-compiler-manager \
|
||||||
plexus-compilers/plexus-compiler-csharp plexus-compilers/plexus-compiler-eclipse \
|
plexus-compilers/plexus-compiler-javac \
|
||||||
plexus-compilers/plexus-compiler-javac plexus-compilers/plexus-compiler-j2objc; do
|
plexus-compilers/plexus-compiler-csharp \
|
||||||
|
plexus-compilers/plexus-compiler-eclipse; do
|
||||||
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}/${i}
|
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}/${i}
|
||||||
cp -pr ${i}/target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/${i}/
|
cp -pr ${i}/target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/${i}/
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user