45 lines
1.4 KiB
RPMSpec
45 lines
1.4 KiB
RPMSpec
|
|
Name: idlj-maven-plugin
|
||
|
|
Version: 1.2.1
|
||
|
|
Release: 1
|
||
|
|
Summary: The CORBA IDL Compiler Maven Plugin
|
||
|
|
License: ASL 2.0
|
||
|
|
URL: http://mojo.codehaus.org/idlj-maven-plugin
|
||
|
|
Source0: idlj-maven-plugin-%{version}.tar.xz
|
||
|
|
Source1: LICENSE-2.0.txt
|
||
|
|
BuildArch: noarch
|
||
|
|
BuildRequires: maven-local mvn(avalon-logkit:avalon-logkit) mvn(junit:junit)
|
||
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||
|
|
BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:)
|
||
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-compiler-api)
|
||
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils) mvn(org.jacorb:jacorb-idl-compiler)
|
||
|
|
%description
|
||
|
|
The CORBA IDL Compiler Maven Plugin is used for processing IDL files into java sources.
|
||
|
|
|
||
|
|
%package javadoc
|
||
|
|
Summary: Javadoc for %{name}
|
||
|
|
%description javadoc
|
||
|
|
This package contains the API documentation for %{name}.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%setup -q -n %{name}-%{version}
|
||
|
|
%pom_change_dep :plexus-compiler-api org.codehaus.plexus:
|
||
|
|
%pom_change_dep org.jacorb: :jacorb-idl-compiler
|
||
|
|
cp %{SOURCE1} .
|
||
|
|
|
||
|
|
%build
|
||
|
|
%mvn_build -f
|
||
|
|
|
||
|
|
%install
|
||
|
|
%mvn_install
|
||
|
|
|
||
|
|
%files -f .mfiles
|
||
|
|
%dir %{_javadir}/%{name}
|
||
|
|
%license LICENSE-2.0.txt
|
||
|
|
|
||
|
|
%files javadoc -f .mfiles-javadoc
|
||
|
|
%license LICENSE-2.0.txt
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Wed Oct 28 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 1.2.1-1
|
||
|
|
- Package init
|