7 Star 0 Fork 9

src-openEuler / activemq

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
activemq.spec 1.97 KB
一键复制 编辑 原始数据 按行查看 历史
wk333 提交于 2023-12-06 15:56 . Upgrade to 5.16.7 for fix CVE-2022-41678
%define check_testcase 0
Name: activemq
Version: 5.16.7
Release: 1
Summary: Open source messaging and Integration Patterns server
License: ASL 2.0
URL: http://activemq.apache.org
Source0: https://github.com/apache/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz
Requires: java
BuildRequires: maven java
BuildArch: noarch
%description
The most popular and powerful open source messaging and Integration Patterns
server.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%autosetup -n %{name}-%{name}-%{version} -p1
%build
%if %{check_testcase}
mvn package
%else
mvn package -Dmaven.test.skip=True
%endif
%install
install -d -m755 %{buildroot}/%{_datadir}/javadoc
install -d -m755 %{buildroot}/%{_datadir}/licenses
install -d -m755 %{buildroot}/%{_datadir}/activemq
cd assembly/target
unzip -d ./file apache-activemq*.zip
cd ./file/apache-activemq*
rm -rf bin/win* bin/*.bat
chmod 755 bin/%{name}
for dir in bin examples webapps webapps-demo conf lib docs;do
if [ "$dir" = "docs" || "$dir" = "examples" ]
then
cp -arf $dir %{buildroot}/%{_datadir}/javadoc
else
cp -arf $dir %{buildroot}/%{_datadir}/activemq
fi
done
cp README.txt %{buildroot}/%{_datadir}/activemq
cp LICENSE %{buildroot}/%{_datadir}/licenses
cp NOTICE %{buildroot}/%{_datadir}/licenses
rm -rf ../../file
cd %{_builddir}
%files
%{_datadir}/activemq
%license %{_datadir}/licenses/*
%files javadoc
%{_datadir}/javadoc
%changelog
* Wed Dec 06 2023 wangkai <13474090681@163.com> - 5.16.7-1
- Upgrade to 5.16.7 for fix CVE-2022-41678
* Mon Oct 30 2023 yaoxin <yao_xin001@hoperun.com> - 5.15.16-1
- Upgrade to 5.15.16 for fix CVE-2023-46604
* Sat Aug 28 2021 lingsheng <lingsheng@huawei.com> - 5.15.15-2
- Fix activemq permission and remove windows related files
* Mon Jul 19 2021 xuping <xuping33@huawei.com> - 5.15.15-1
- package init
1
https://gitee.com/src-openeuler/activemq.git
git@gitee.com:src-openeuler/activemq.git
src-openeuler
activemq
activemq
master

搜索帮助