[opensaml-java-openws/f17] Initial import

Marek Goldmann goldmann at fedoraproject.org
Thu Oct 18 11:25:18 UTC 2012


commit 2b468bf15c54161237790d215f196e555cc24c8c
Author: Marek Goldmann <goldmann at fedoraproject.org>
Date:   Thu Oct 18 13:24:47 2012 +0200

    Initial import

 .gitignore                |    1 +
 opensaml-java-openws.spec |  109 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 111 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4a7f500 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/opensaml-java-openws-1.4.4.tar.xz
diff --git a/opensaml-java-openws.spec b/opensaml-java-openws.spec
new file mode 100644
index 0000000..36c7a3c
--- /dev/null
+++ b/opensaml-java-openws.spec
@@ -0,0 +1,109 @@
+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 <mgoldman at redhat.com> - 1.4.4-2
+- Fixed BR and R
+- Using pom macros instead of patches
+
+* Tue Sep 18 2012 Patryk Obara <pobara at redhat.com> 1.4.4-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..4e4c03a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+aeb52b2a40617cfabe2aa1f235c002cf  opensaml-java-openws-1.4.4.tar.xz


More information about the scm-commits mailing list