commit 5df7f9a8b5c31dc12bed2ae60c183429b672d8524379163a557cc7c97de353f5 Author: Fridrich Strba Date: Sun Apr 24 06:21:39 2022 +0000 Submitting a new package OBS-URL: https://build.opensuse.org/package/show/Java:packages/jpgpj?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/jpgpj.changes b/jpgpj.changes new file mode 100644 index 0000000..a742f16 --- /dev/null +++ b/jpgpj.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Apr 22 23:12:04 UTC 2022 - Anton Shvetz + +- Initial packaging with v1.3 diff --git a/jpgpj.spec b/jpgpj.spec new file mode 100644 index 0000000..e59db04 --- /dev/null +++ b/jpgpj.spec @@ -0,0 +1,66 @@ +# +# spec file for package jpgpj +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: jpgpj +Version: 1.3 +Release: 0 +Summary: Java Pretty Good Privacy Jig +License: MIT +Group: Development/Libraries/Java +URL: https://github.com/justinludwig/%{name} +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: gradle-local +BuildRequires: groovy +BuildRequires: java-devel <= 1.8.0 +BuildArch: noarch + +%description +JPGPJ provides a simple API on top of the Bouncy Castle Java OpenPGP +implementation (which is full and robust implementation of RFC 4880, and +compatible with other popular PGP implementations such as GnuPG, GPGTools, and +Gpg4win). The JPGPJ API is limited to file encryption, signing, decryption, and +verification; it does not include the ability to generate, update, or sign +keys, or to do clearsigning or detached signatures. + +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +API documentation for %{name} + +%prep +%autosetup + +%{mvn_file} : %{name} + +%build +%{mvn_build} -f --gradle -- javadoc + +%install +%mvn_install -J build/docs/javadoc +%fdupes %{buildroot}%{_javadocdir}/%{name} + +%files -f .mfiles +%license LICENSE +%doc README.md + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog diff --git a/v1.3.tar.gz b/v1.3.tar.gz new file mode 100644 index 0000000..a05a1c5 --- /dev/null +++ b/v1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f4fcd035b003079e896d47eeaa9a5857bb79c03dece7cf19afa8f075fe02164 +size 140861