package init

This commit is contained in:
yaokai13 2020-08-25 11:51:59 +08:00
parent 77a6b8dc40
commit 943a95f224
3 changed files with 47 additions and 0 deletions

Binary file not shown.

43
jboss-jms-1.1-api.spec Normal file
View File

@ -0,0 +1,43 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-jms-1.1-api
Version: 1.0.1
Release: 1
Summary: JBoss JMS API 1.1 Spec
License: CDDL or GPLv2 with exceptions
URL: http://www.jboss.org
# git clone git://github.com/jboss/jboss-jms-api_spec.git jboss-jms-1.1-api
# cd jboss-jms-1.1-api/ && git archive --format=tar --prefix=jboss-jms-1.1-api jboss-jms-api_1.1_spec-1.0.1.Final | xz > jboss-jms-1.1-api-1.0.1.Final.tar.xz
Source0: jboss-jms-1.1-api-%{namedversion}.tar.xz
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
BuildArch: noarch
%description
The Java Messaging Service 1.1 API classes
%package javadoc
Summary: Javadoc for jboss-jms-1.1-api
%description javadoc
This package contains the API documentation for jboss-jms-1.1-api.
%prep
%setup -q -n jboss-jms-1.1-api
%pom_remove_plugin :maven-source-plugin
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README
%license LICENSE
%files javadoc -f .mfiles-javadoc
%doc README
%license LICENSE
%changelog
* Mon Aug 17 2020 yaokai <yaokai13@huawei.com> - 1.0.1-1
- Package init

4
jboss-jms-1.1-api.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: jboss/jboss-jms-api_spec
tag_pattern: "jboss-jms-api_1.1_spec-(.*?).Final"
seperator: "."