commit
2ce854f8dd
51
cryptacular.spec
Normal file
51
cryptacular.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
Name: cryptacular
|
||||||
|
Version: 1.1.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Java Library that complement to the Bouncy Castle crypto API
|
||||||
|
License: ASL 2.0 or LGPLv3
|
||||||
|
URL: http://www.cryptacular.org/
|
||||||
|
Source0: https://github.com/vt-middleware/cryptacular/archive/v%{version}.tar.gz
|
||||||
|
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-release-plugin)
|
||||||
|
BuildRequires: mvn(org.bouncycastle:bcprov-jdk15on) mvn(org.testng:testng)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Cryptacular in a nutshell:
|
||||||
|
° Utilities to perform common crypto operations (hash, encrypt, encode).
|
||||||
|
° Stateful, thread-safe bean components.
|
||||||
|
° Components to facilitate strict adherence to standards.
|
||||||
|
° Comprehensive documentation and examples.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Documents for %{name}
|
||||||
|
Provides: %{name}-javadoc = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||||
|
|
||||||
|
%description help
|
||||||
|
This package contains man pages and other related documents for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}
|
||||||
|
%pom_remove_plugin :maven-source-plugin
|
||||||
|
%pom_xpath_remove "pom:plugin[pom:artifactId = 'maven-javadoc-plugin']/pom:executions"
|
||||||
|
%pom_remove_plugin :maven-checkstyle-plugin
|
||||||
|
%mvn_file org.%{name}:%{name} %{name}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build -f
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE LICENSE-apache2 LICENSE-lgpl NOTICE
|
||||||
|
|
||||||
|
%files help -f .mfiles-javadoc
|
||||||
|
%license LICENSE LICENSE-apache2 LICENSE-lgpl NOTICE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Aug 14 2020 leiju <leiju4@huawei.com> - 1.1.0-1
|
||||||
|
- Package init
|
||||||
4
cryptacular.yaml
Normal file
4
cryptacular.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: vt-middleware/cryptacular
|
||||||
|
tag_prefix: "^"
|
||||||
|
seperator: "."
|
||||||
BIN
v1.1.0.tar.gz
Normal file
BIN
v1.1.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user