Name: opensaml-java-openws Version: 1.4.4 Release: 2%{?dist} Summary: Java OpenWS library License: ASL 2.0 Group: Development/Libraries URL: http://www.opensaml.org/ # svn export https://svn.shibboleth.net/java-openws/tags/1.4.4/ opensaml-java-openws-1.4.4 # tar cafJ opensaml-java-openws-1.4.4.tar.xz opensaml-java-openws-1.4.4 Source0: opensaml-java-openws-%{version}.tar.xz BuildArch: noarch BuildRequires: java-devel BuildRequires: jpackage-utils BuildRequires: maven BuildRequires: maven-compiler-plugin BuildRequires: maven-install-plugin BuildRequires: maven-jar-plugin BuildRequires: maven-javadoc-plugin BuildRequires: maven-release-plugin BuildRequires: maven-resources-plugin BuildRequires: maven-surefire-plugin BuildRequires: opensaml-java-parent BuildRequires: opensaml-java-xmltooling BuildRequires: xalan-j2 BuildRequires: apache-commons-codec BuildRequires: jakarta-commons-httpclient BuildRequires: tomcat-servlet-3.0-api BuildRequires: xerces-j2 BuildRequires: xml-commons-apis BuildRequires: junit BuildRequires: logback Requires: java Requires: jpackage-utils Requires: xalan-j2 Requires: opensaml-java-xmltooling Requires: apache-commons-codec Requires: jakarta-commons-httpclient Requires: tomcat-servlet-3.0-api Requires: xerces-j2 Requires: xml-commons-apis %description The OpenWS library provides a growing set of tools to work with web services at a low level. These tools include classes for creating and reading SOAP messages, transport-independent clients for connecting to web services, and various transports for use with those clients. %package javadoc Summary: Javadocs for %{name} Group: Documentation Requires: jpackage-utils %description javadoc This package contains the API documentation for %{name}. %prep %setup -q sed -i "s|\${xerces.groupId}|xerces|" pom.xml %pom_remove_dep "xerces:xml-apis" %pom_remove_dep "xerces:serializer" %build # tests disabled because of missing dependency org.springframework:spring-mock mvn-rpmbuild \ -Dmaven.test.skip=true \ -Dproject.build.sourceEncoding=UTF-8 \ package javadoc:aggregate %install install -d -m 755 %{buildroot}%{_javadir} install -d -m 755 %{buildroot}%{_javadocdir}/%{name} install -d -m 755 %{buildroot}%{_mavenpomdir} # jar install -pm 644 target/openws-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar # pom install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom # depmap %add_maven_depmap # javadoc cp -rp target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name} %files %doc doc %{_mavenpomdir}/* %{_mavendepmapfragdir}/* %{_javadir}/* %files javadoc %doc doc %{_javadocdir}/%{name} %changelog * Mon Oct 15 2012 Marek Goldmann - 1.4.4-2 - Fixed BR and R - Using pom macros instead of patches * Tue Sep 18 2012 Patryk Obara 1.4.4-1 - Initial packaging