package init
This commit is contained in:
parent
85c947dd7d
commit
dd28d3b7c7
BIN
plexus-cipher-1.7.tar.gz
Normal file
BIN
plexus-cipher-1.7.tar.gz
Normal file
Binary file not shown.
44
plexus-cipher.spec
Normal file
44
plexus-cipher.spec
Normal file
@ -0,0 +1,44 @@
|
||||
Name: plexus-cipher
|
||||
Version: 1.7
|
||||
Release: 16
|
||||
Summary: Plexus Cipher: encryption/decryption Component
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/codehaus-plexus/plexus-cipher
|
||||
Source0: https://github.com/codehaus-plexus/plexus-cipher/archive/0cff29e6b2ee2a3dbd72d289d7f2b7922d000778/plexus-cipher-1.7.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: maven-local cdi-api atinject junit sisu-mojos spice-parent
|
||||
|
||||
Provides: %{name}-javadoc = %{version}-%{release}
|
||||
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||
|
||||
%description
|
||||
Plexus Cipher: encryption/decryption Component.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-0cff29e6b2ee2a3dbd72d289d7f2b7922d000778 -p1
|
||||
|
||||
%pom_xpath_replace pom:project/pom:version "<version>%{version}</version>"
|
||||
%pom_remove_dep org.sonatype.sisu:sisu-inject-bean
|
||||
%pom_add_dep javax.inject:javax.inject:1:provided
|
||||
%pom_add_dep javax.enterprise:cdi-api:1.0:provided
|
||||
|
||||
%mvn_file : plexus/%{name}
|
||||
|
||||
%build
|
||||
%mvn_build -f
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
%{_datadir}/java/*
|
||||
%{_datadir}/javadoc/*
|
||||
%{_datadir}/maven-poms/*
|
||||
%{_datadir}/maven-metadata/*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 18 2020 lingsheng <lingsheng@huawei.com> - 1.7-16
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user