1 Star 0 Fork 5

xuguangmin/jacorb

forked from src-openEuler/jacorb 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jacorb.spec 2.77 KB
一键复制 编辑 原始数据 按行查看 历史
xuguangmin 提交于 2024-11-07 16:12 . Standardize the spec file.
Name: jacorb
Version: 2.3.1
Release: 2
Summary: The Java implementation of the OMG's CORBA standard
License: LGPLv2
URL: http://www.jacorb.org/index.html
Source0: http://www.jacorb.org/releases/%{version}/jacorb-%{version}-src.zip
Source1: https://repo1.maven.org/maven2/org/jacorb/jacorb/%{version}/jacorb-parent-%{version}.pom
Source2: https://repo1.maven.org/maven2/org/jacorb/jacorb/%{version}/jacorb-%{version}.pom
Source3: https://repo1.maven.org/maven2/org/jacorb/jacorb-idl-compiler/%{version}/jacorb-idl-compiler-%{version}.pom
Patch0: jacorb-2.3.1-Implement-a-few-methods-in-GSSUPContextSpi-to-make-i.patch
Patch1: jacorb-2.3.1-version.patch
Patch2: jacorb-2.3.1-Set-encoding-to-UTF-8-when-generating-javadoc.patch
Patch3: jacorb-2.3.1-Removed-Class-Path-entry-from-MANIFEST.MF.patch
Patch4: jacorb-2.3.1-primaddress_port.patch
Patch5: jacorb-2.3.1-read_boolean.patch
Patch6: JDK8-support.patch
BuildArch: noarch
BuildRequires: javapackages-local java-devel ant antlr-tool avalon-logkit bsh slf4j
%description
This package contains the Java implementation of the OMG's CORBA standard
%package javadoc
Summary: Javadocs for %{name}
Requires: jpackage-utils
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jacorb-%{version}
cp %{SOURCE1} jacorb-parent.pom
cp %{SOURCE2} jacorb.pom
cp %{SOURCE3} jacorb-idl-compiler.pom
find -name '*.class' -exec rm -f '{}' \;
find -name '*.jar' -exec rm -f '{}' \;
find -name '*.zip' -exec rm -f '{}' \;
%patch 0 -p1
%patch 1 -p0
%patch 2 -p1
%patch 3 -p0
%patch 4 -p0
%patch 5 -p0
%patch 6 -p1
sed -i 's|,notification||' src/org/jacorb/build.xml
ln -s $(build-classpath antlr) lib/antlr-2.7.2.jar
ln -s $(build-classpath slf4j/api) lib/slf4j-api-1.5.6.jar
%mvn_alias "org.jacorb:" "jacorb:"
%build
export CLASSPATH=$(build-classpath avalon-logkit slf4j/api)
sed -i "s|>avalon<|>avalon-logkit<|g" jacorb-idl-compiler.pom
%pom_remove_dep "tanukisoft:wrapper" jacorb.pom
%pom_remove_dep "picocontainer:picocontainer" jacorb.pom
%pom_remove_dep "nanocontainer:nanocontainer" jacorb.pom
%pom_remove_dep "nanocontainer:nanocontainer-remoting" jacorb.pom
ant all doc
%install
%mvn_artifact jacorb-parent.pom
%mvn_artifact jacorb.pom lib/jacorb.jar
%mvn_artifact jacorb-idl-compiler.pom lib/idl.jar
%mvn_install -J doc/api
%files -f .mfiles
%doc doc/LICENSE
%files javadoc -f .mfiles-javadoc
%doc doc/LICENSE
%changelog
* Thu Nov 07 2024 xuguangmin <xuguangmin@kylinos.cn> - 2.3.1-2
- Standardize the spec file.
* Wed Sep 2 2020 Ge Wang <wangge20@huawei.com> - 2.3.1-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xugmin/jacorb.git
git@gitee.com:xugmin/jacorb.git
xugmin
jacorb
jacorb
master

搜索帮助