Name: glassfish-websocket-api Version: 1.1 Release: 8%{?dist} Summary: JSR 356: Java API for WebSocket License: CDDL or GPLv2 with exceptions URL: https://java.net/projects/websocket-spec/ # git://java.net/websocket-spec~code Source0: https://github.com/pavelbucek/websocket-spec/archive/%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(net.java:jvnet-parent:pom:) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.glassfish.build:spec-version-maven-plugin) BuildArch: noarch %description Java API for WebSocket JSR will define a standard API for creating web socket applications. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n websocket-spec-%{version} find -name "*.class" -print -delete find -name "*.jar" -print -delete cd api %pom_remove_plugin -r :maven-source-plugin %pom_remove_plugin -r :maven-javadoc-plugin %pom_remove_plugin -r :maven-release-plugin %pom_remove_plugin :glassfish-copyright-maven-plugin %pom_remove_plugin :maven-dependency-plugin server %pom_remove_plugin :maven-jar-plugin server %pom_xpath_set "pom:packaging" bundle client %pom_xpath_inject "pom:project" "%{version}" client %pom_add_plugin org.apache.felix:maven-bundle-plugin:2.3.7 client ' true bundle-manifest process-classes manifest ' chmod 644 etc/config/copyright.txt sed -i '/check-module/d' server/pom.xml %mvn_file :javax.websocket-api %{name} %mvn_file :javax.websocket-client-api glassfish-websocket-client-api %build cd api %mvn_build %install cd api %mvn_install %files -f api/.mfiles %doc websocket-1.1-changes.txt %license api/etc/config/copyright.txt api/src/main/javadoc/doc-files/speclicense.html %files javadoc -f api/.mfiles-javadoc %license api/etc/config/copyright.txt api/src/main/javadoc/doc-files/speclicense.html %changelog * Thu Jul 25 2019 Fedora Release Engineering - 1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Feb 06 2017 Michael Simacek - 1.1-3 - Remove useless maven-release-plugin * Wed Feb 03 2016 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Aug 30 2015 gil cattaneo 1.1-1 - update to 1.1 * Fri Aug 09 2013 gil cattaneo 1.0-1 - initial rpm