diff --git a/1.1.1.Final.tar.gz b/1.1.1.Final.tar.gz new file mode 100644 index 0000000..ca91d3c Binary files /dev/null and b/1.1.1.Final.tar.gz differ diff --git a/jboss-websocket-1.1-api.spec b/jboss-websocket-1.1-api.spec new file mode 100644 index 0000000..821fb27 --- /dev/null +++ b/jboss-websocket-1.1-api.spec @@ -0,0 +1,40 @@ +%global namedreltag .Final +%global namedversion %{version}%{?namedreltag} +Name: jboss-websocket-1.1-api +Version: 1.1.1 +Release: 1 +Summary: JSR-356: Java WebSocket 1.1 API +License: CDDL or GPLv2 with exceptions +Url: https://github.com/jboss/jboss-websocket-api_spec +Source0: https://github.com/jboss/jboss-websocket-api_spec/archive/%{namedversion}.tar.gz +BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.jboss:jboss-parent:pom:) +BuildArch: noarch +%description +The JSR-356: Java WebSocket 1.1 API classes. + +%package javadoc +Summary: Javadoc for jboss-websocket-1.1-api +%description javadoc +This package contains the API documentation for jboss-websocket-1.1-api. + +%prep +%setup -q -n jboss-websocket-api_spec-%{namedversion} +%pom_remove_plugin :maven-source-plugin + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc README.md +%license LICENSE README + +%files javadoc -f .mfiles-javadoc +%license LICENSE README + +%changelog +* Thu Aug 20 2020 yaokai - 1.1.1-1 +- package init diff --git a/jboss-websocket-1.1-api.yaml b/jboss-websocket-1.1-api.yaml new file mode 100644 index 0000000..b4ff85b --- /dev/null +++ b/jboss-websocket-1.1-api.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: jboss/jboss-websocket-api_spec +tag_pattern: "(.*?).Final" +seperator: "."