commit 5ee69c21300b321785fd79e498cfda901ed5c8b8 Author: Adrian Schröter Date: Mon Feb 19 16:58:22 2024 +0100 Sync from SUSE:ALP:Source:Standard:1.0 plexus-cipher revision 0cac9e96c449c2a73439d702a455ff14 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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/plexus-cipher-2.0.tar.gz b/plexus-cipher-2.0.tar.gz new file mode 100644 index 0000000..f84f776 --- /dev/null +++ b/plexus-cipher-2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99b45a9f1b434529cc397116cf6f52ab7a29659f1dc05a0937c73e25596a67fd +size 16928 diff --git a/plexus-cipher-build.xml b/plexus-cipher-build.xml new file mode 100644 index 0000000..b434583 --- /dev/null +++ b/plexus-cipher-build.xml @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plexus-cipher.changes b/plexus-cipher.changes new file mode 100644 index 0000000..8c268cc --- /dev/null +++ b/plexus-cipher.changes @@ -0,0 +1,32 @@ +------------------------------------------------------------------- +Wed Oct 25 15:16:02 UTC 2023 - Fridrich Strba + +- Build with source and target levels 8 + +------------------------------------------------------------------- +Thu Jan 13 17:22:41 UTC 2022 - Fridrich Strba + +- Update to upstream version 2.0 + * Changes: + + Switch from Sonatype to Plexus + + Switch to the Eclipse sisu-maven-plugin + + Bump junit from 4.12 to 4.13.1 + + Update codebase + + Bump plexus from 6.5 to 8 + + Fix surefire warnings + * needed by maven 3.8.4 + * needed by plexus-sec-dispatcher 2.0 + +------------------------------------------------------------------- +Wed Mar 20 16:22:23 UTC 2019 - Fridrich Strba + +- Generate the javax.inject.Named running sisu-inject at compile + time. + +------------------------------------------------------------------- +Fri Mar 8 15:54:15 UTC 2019 - Fridrich Strba + +- Initial packaging of plexus-cipher 1.7 +- Generate and customize the ant build.xml file +- Generate the javax.inject.Named by grepping source files that + have the @Named annotation diff --git a/plexus-cipher.spec b/plexus-cipher.spec new file mode 100644 index 0000000..c2833eb --- /dev/null +++ b/plexus-cipher.spec @@ -0,0 +1,80 @@ +# +# spec file for package plexus-cipher +# +# Copyright (c) 2023 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: plexus-cipher +Version: 2.0 +Release: 0 +Summary: Plexus Cipher: encryption/decryption Component +License: Apache-2.0 +Group: Development/Libraries/Java +URL: https://github.com/codehaus-plexus/%{name} +Source0: https://github.com/codehaus-plexus/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz +Source1: %{name}-build.xml +BuildRequires: ant +BuildRequires: atinject +BuildRequires: fdupes +BuildRequires: java-devel >= 1.8 +BuildRequires: javapackages-local >= 6 +BuildRequires: sisu-inject +BuildArch: noarch + +%description +Plexus Cipher: encryption/decryption Component + +%package javadoc +Summary: Javadoc for %{name} +Group: Development/Libraries/Java + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q -n %{name}-%{name}-%{version} +cp %{SOURCE1} build.xml + +# replace %{version}-SNAPSHOT with %{version} +%pom_xpath_set pom:project/pom:version %{version} + +%build +mkdir -p lib +build-jar-repository -s lib atinject org.eclipse.sisu.inject + +%{ant} compile +%{ant} jar javadoc + +%install +# jar +install -dm 0755 %{buildroot}%{_javadir}/plexus +install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/%{name}.jar +# pom +install -dm 0755 %{buildroot}%{_mavenpomdir}/plexus +%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/plexus/%{name}.pom +%add_maven_depmap plexus/%{name}.pom plexus/%{name}.jar -a org.sonatype.plexus:%{name} +# javadoc +install -dm 0755 %{buildroot}%{_javadocdir}/%{name} +cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/ +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE.txt NOTICE.txt + +%files javadoc +%{_javadocdir}/%{name} +%license LICENSE.txt NOTICE.txt + +%changelog