Submitting a new package

OBS-URL: https://build.opensuse.org/package/show/Java:packages/jpgpj?expand=0&rev=1
This commit is contained in:
Fridrich Strba 2022-04-24 06:21:39 +00:00 committed by Git OBS Bridge
commit 5df7f9a8b5
5 changed files with 97 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

4
jpgpj.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Apr 22 23:12:04 UTC 2022 - Anton Shvetz <shvetz.anton@gmail.com>
- Initial packaging with v1.3

66
jpgpj.spec Normal file
View File

@ -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

3
v1.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f4fcd035b003079e896d47eeaa9a5857bb79c03dece7cf19afa8f075fe02164
size 140861