Compare commits
10 Commits
8792345856
...
4ebc35aa68
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ebc35aa68 | ||
|
|
4f9c97a277 | ||
|
|
807f5edde2 | ||
|
|
10d15c96bd | ||
|
|
b6410f2bc6 | ||
|
|
d765a0ef75 | ||
|
|
ecbddaeb19 | ||
|
|
172231b119 | ||
|
|
fa2a95753b | ||
|
|
bed98a2a99 |
BIN
apache-mina-2.1.7.tar.gz
Normal file
BIN
apache-mina-2.1.7.tar.gz
Normal file
Binary file not shown.
101
apache-mina.spec
Normal file
101
apache-mina.spec
Normal file
@ -0,0 +1,101 @@
|
||||
Name: apache-mina
|
||||
Version: 2.1.7
|
||||
Release: 1
|
||||
Summary: Apache MINA
|
||||
License: ASL 2.0
|
||||
URL: http://mina.apache.org
|
||||
Source0: https://github.com/apache/mina/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: maven-local mvn(com.jcraft:jzlib) mvn(commons-lang:commons-lang)
|
||||
BuildRequires: mvn(org.apache:apache:pom:) mvn(org.slf4j:slf4j-api)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Apache MINA is a network application framework which helps users develop high
|
||||
performance and high scalability network applications easily. It provides an
|
||||
abstract event-driven asynchronous API over various transports such as TCP/IP
|
||||
and UDP/IP via Java NIO.
|
||||
|
||||
%package mina-core
|
||||
Summary: Apache MINA Core
|
||||
|
||||
%description mina-core
|
||||
This package contains Apache MINA Core module.
|
||||
|
||||
%package mina-filter-compression
|
||||
Summary: Apache MINA Compression Filter
|
||||
|
||||
%description mina-filter-compression
|
||||
This package contains Apache MINA Compression Filter module.
|
||||
|
||||
%package mina-statemachine
|
||||
Summary: Apache MINA State Machine
|
||||
|
||||
%description mina-statemachine
|
||||
This package contains Apache MINA State Machine module.
|
||||
|
||||
%package mina-http
|
||||
Summary: Apache MINA HTTP client and server codec
|
||||
|
||||
%description mina-http
|
||||
This package contains Apache MINA HTTP client and server codec.
|
||||
|
||||
%package javadoc
|
||||
Summary: API documentation for %{name}
|
||||
|
||||
%description javadoc
|
||||
This package provides %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n mina-%{version}
|
||||
sed -i \
|
||||
-e 's|<packaging>bundle</packaging>|<packaging>jar</packaging>|g' \
|
||||
-e 's|<type>bundle</type>|<type>jar</type>|g' \
|
||||
$(find . -name pom.xml)
|
||||
%pom_remove_plugin :maven-release-plugin
|
||||
%pom_remove_plugin :maven-source-plugin
|
||||
%pom_remove_plugin :maven-bundle-plugin
|
||||
%pom_remove_plugin :maven-site-plugin
|
||||
%pom_disable_module mina-legal
|
||||
%pom_disable_module mina-transport-apr
|
||||
%pom_disable_module mina-integration-beans
|
||||
%pom_disable_module mina-integration-xbean
|
||||
%pom_disable_module mina-integration-ognl
|
||||
%pom_disable_module mina-integration-jmx
|
||||
%pom_disable_module mina-example
|
||||
|
||||
%build
|
||||
%mvn_build -f -s
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles-mina-parent
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
|
||||
%files mina-core -f .mfiles-mina-core
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
|
||||
%files mina-filter-compression -f .mfiles-mina-filter-compression
|
||||
|
||||
%files mina-statemachine -f .mfiles-mina-statemachine
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
|
||||
%files mina-http -f .mfiles-mina-http
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
|
||||
%changelog
|
||||
* Thu Aug 24 2023 xu_ping <707078654@qq.com> - 2.1.7-1
|
||||
- Upgrade to 2.1.7
|
||||
|
||||
* Fri Nov 05 2021 wangkai <wangkai385@huawei.com> - 2.0.22-1
|
||||
- Upgrade to 2.0.22 for fix CVE-2021-41973
|
||||
|
||||
* Mon Sep 21 2020 wangyue <wangyue92@huawei.com> - 2.0.21-1
|
||||
- Fix CVE-2019-0231
|
||||
|
||||
* Mon Jul 27 2020 leiju <leiju4@huawei.com> - 2.0.9-1
|
||||
- Package init
|
||||
5
apache-mina.yaml
Normal file
5
apache-mina.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/apache/mina
|
||||
version_control: github
|
||||
src_repo: apache/mina
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user