diff --git a/.gitignore b/.gitignore index e69de29..d2f81be 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/1.1.0.Final.tar.gz diff --git a/jboss-websocket-1.1-api.spec b/jboss-websocket-1.1-api.spec new file mode 100644 index 0000000..3a5b281 --- /dev/null +++ b/jboss-websocket-1.1-api.spec @@ -0,0 +1,46 @@ +%global namedreltag .Final +%global namedversion %{version}%{?namedreltag} + +Name: jboss-websocket-1.1-api +Version: 1.1.0 +Release: 1%{dist} +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: jboss-parent +BuildRequires: maven-local + +BuildArch: noarch + +%description +The JSR-356: Java WebSocket 1.1 API classes. + +%package javadoc +Summary: Javadocs for %{name} + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q -n jboss-websocket-api_spec-%{namedversion} + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%dir %{_javadir}/%{name} +%doc LICENSE README + +%files javadoc -f .mfiles-javadoc +%doc LICENSE README + +%changelog +* Wed Jan 14 2015 Marek Goldmann - 1.1.0-1 +- Initial release + + diff --git a/sources b/sources index e69de29..5f89193 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0ae64e6cd7d10e89cd0f2829fbf5082a 1.1.0.Final.tar.gz