[jsslutils] Initial import (#1005901).

gil gil at fedoraproject.org
Fri Oct 18 19:23:09 UTC 2013


commit 0ddb8d2dfcb35956f7935719b733e7ee89c284d1
Author: gil <puntogil at libero.it>
Date:   Fri Oct 18 21:22:46 2013 +0200

    Initial import (#1005901).

 .gitignore     |    1 +
 jsslutils.spec |   96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 98 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c55e13f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jsslutils-1.0.7.tar.xz
diff --git a/jsslutils.spec b/jsslutils.spec
new file mode 100644
index 0000000..9913a8c
--- /dev/null
+++ b/jsslutils.spec
@@ -0,0 +1,96 @@
+Name:          jsslutils
+Version:       1.0.7
+Release:       1%{?dist}
+Summary:       Java SSL utilities
+# Although the main project is licensed under the New BSD Licence,
+# some sub-modules in the extra directory may be under a different licence (APL, LGPL)
+# Public Domain see certificates/LICENSE.txt
+License:       ASL 2.0 and BSD and LGPLv2+ and Public Domain
+URL:           http://code.google.com/p/jsslutils/
+# svn export http://jsslutils.googlecode.com/svn/tags/jsslutils-root-1.0.7/ jsslutils-1.0.7
+# rm -rf jsslutils-1.0.7/javadoc/*
+# rm -rf jsslutils-1.0.7/.gitignore
+# find jsslutils-1.0.7/ -name '*.class' -print -delete
+# find jsslutils-1.0.7/ -name '*.jar' -print -delete
+# tar cJf jsslutils-1.0.7.tar.xz jsslutils-1.0.7
+Source0:       %{name}-%{version}.tar.xz
+
+BuildRequires: java-devel
+
+BuildRequires: mvn(junit:junit)
+BuildRequires: mvn(org.bouncycastle:bcprov-jdk16)
+
+BuildRequires: maven-local
+BuildRequires: maven-plugin-bundle
+BuildRequires: maven-remote-resources-plugin
+
+BuildArch:     noarch
+
+%description
+This project aims to provide a set of utilities regarding the
+use of SSL in Java.
+
+%package test-certificates
+Summary:       jSSLutils :: Test certificates
+
+%description test-certificates
+These are a few test keys and certificates (password is
+'testtest').
+
+%package test-helpers
+Summary:       jSSLutils :: Test Helpers
+
+%description test-helpers
+Helper classes for some of the tests.
+
+%package javadoc
+Summary:       Javadoc for %{name}
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q
+
+# org.jsslutils:jsslutils-test-certificates:2.0.5
+%pom_disable_module extra/gsi
+# commons-httpclient:commons-httpclient:3.1
+%pom_disable_module extra/apachehttpclient
+
+%pom_disable_module extra/apachetomcat5
+%pom_disable_module extra/apachetomcat6
+
+%pom_remove_plugin :findbugs-maven-plugin %{name}
+%pom_xpath_set "pom:project/pom:dependencies/pom:dependency[pom:groupId = 'org.bouncycastle' ]/pom:artifactId" bcprov-jdk16 %{name}
+#%%pom_xpath_set "pom:project/pom:dependencies/pom:dependency[pom:groupId = 'org.bouncycastle' ]/pom:artifactId" bcprov-jdk16 extra/gsi
+
+# java.lang.ClassCastException: org.jsslutils.sslcontext.test.PKIXReloadCrlTest$1$1$1 cannot be cast to javax.net.ssl.HttpsURLConnection
+rm -r jsslutils/src/test/java/org/jsslutils/sslcontext/test/DefaultStoreTest.java
+
+%build
+
+%mvn_package :%{name}-root %{name}
+%mvn_build -s -- -Dproject.build.sourceEncoding=UTF-8
+
+%install
+%mvn_install
+
+%files -f .mfiles-%{name}
+%dir %{_javadir}/%{name}
+%doc jsslutils/LICENSE.txt
+
+%files test-certificates -f .mfiles-%{name}-test-certificates
+%doc certificates/LICENSE.txt
+
+%files test-helpers -f .mfiles-%{name}-test-helpers
+%doc testhelpers/LICENSE.txt
+
+%files javadoc -f .mfiles-javadoc
+%doc jsslutils/LICENSE.txt
+
+%changelog
+* Fri Oct 18 2013 gil cattaneo <puntogil at libero.it> 1.0.7-1
+- update to 1.0.7
+
+* Thu Aug 29 2013 gil cattaneo <puntogil at libero.it> 1.0.5-1
+- initial rpm
\ No newline at end of file
diff --git a/sources b/sources
index e69de29..41df010 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+00a4e351fc6545ae579005a1af67b3ed  jsslutils-1.0.7.tar.xz


More information about the scm-commits mailing list