From 0d117651e82810ad9081d179ec907511a904ed19904db654477375e5b3401ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 10:57:10 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main aopalliance revision 7de4f396ee06c6333abd9c34651e8d30 --- .gitattributes | 23 +++++++++++ aopalliance-manifest.patch | 18 +++++++++ aopalliance-src.tar.gz | 3 ++ aopalliance.changes | 28 +++++++++++++ aopalliance.spec | 83 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 155 insertions(+) create mode 100644 .gitattributes create mode 100644 aopalliance-manifest.patch create mode 100644 aopalliance-src.tar.gz create mode 100644 aopalliance.changes create mode 100644 aopalliance.spec 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/aopalliance-manifest.patch b/aopalliance-manifest.patch new file mode 100644 index 0000000..4c42921 --- /dev/null +++ b/aopalliance-manifest.patch @@ -0,0 +1,18 @@ +--- aopalliance/build.xml 2023-05-16 22:26:45.498861470 +0200 ++++ aopalliance/build.xml 2023-05-16 22:29:50.811283305 +0200 +@@ -27,6 +27,15 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ ++ + + + diff --git a/aopalliance-src.tar.gz b/aopalliance-src.tar.gz new file mode 100644 index 0000000..0a0f3ab --- /dev/null +++ b/aopalliance-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e69d87c3f46d0fa29c407554f66204a35b91d6ccefbcca802d39d1b66a98369 +size 12406 diff --git a/aopalliance.changes b/aopalliance.changes new file mode 100644 index 0000000..cfaacf0 --- /dev/null +++ b/aopalliance.changes @@ -0,0 +1,28 @@ +------------------------------------------------------------------- +Tue May 16 20:33:41 UTC 2023 - Fridrich Strba + +- Register artifact by coordinates, since an artifact without + dependencies does not need a pom +- Added patch: + * aopalliance-manifest.patch + + add OSGi manifest during the jar packaging + +------------------------------------------------------------------- +Mon May 15 12:26:14 UTC 2023 - Frederic Crozat + +- Update url to use https + +------------------------------------------------------------------- +Sat Mar 19 13:03:25 UTC 2022 - Fridrich Strba + +- Build with source/target levels 8 + +------------------------------------------------------------------- +Thu Feb 7 16:11:13 UTC 2019 - Jan Engelhardt + +- Actually say what's included. + +------------------------------------------------------------------- +Fri Oct 26 09:24:55 UTC 2018 - Fridrich Strba + +- Initial packaging of aopalliance adapted from Fedora package diff --git a/aopalliance.spec b/aopalliance.spec new file mode 100644 index 0000000..9badadb --- /dev/null +++ b/aopalliance.spec @@ -0,0 +1,83 @@ +# +# spec file for package aopalliance +# +# 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: aopalliance +Version: 1.0 +Release: 0 +Summary: Java/J2EE AOP standards +License: SUSE-Public-Domain +Group: Development/Libraries/Java +URL: https://aopalliance.sourceforge.net/ +# cvs -d:pserver:anonymous@aopalliance.cvs.sourceforge.net:/cvsroot/aopalliance login +# password empty +# cvs -z3 -d:pserver:anonymous@aopalliance.cvs.sourceforge.net:/cvsroot/aopalliance export -r HEAD aopalliance +Source0: aopalliance-src.tar.gz +Patch0: aopalliance-manifest.patch +BuildRequires: ant +BuildRequires: fdupes +BuildRequires: javapackages-local +BuildArch: noarch + +%description +Aspect-Oriented Programming (AOP) offers a better solution to many +problems than do existing technologies, such as EJB. AOP Alliance +facilitates and standardizes the use of AOP. + +This package contains APIs for program instrumentation, interception +mechanisms, and a set of interfaces for implementing a generic +reflection API. + +%package javadoc +Summary: API documentation for %{name} +Group: Documentation/HTML + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q -n %{name} +# Inject OSGi manifest required by Eclipse. +%patch0 -p1 + +%build +export CLASSPATH= +export OPT_JAR_LIST=: +%{ant} \ + -Dant.build.javac.source=1.8 \ + -Dant.build.javac.target=1.8 \ + jar javadoc + +%install +# jar +install -dm 0755 %{buildroot}%{_javadir} +install -pm 0644 build/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar + +# maven metadata +%add_maven_depmap aopalliance:aopalliance:%{version} %{name}.jar + +# javadoc +install -dm 0755 %{buildroot}%{_javadocdir}/%{name} +cp -pr build/javadoc/* %{buildroot}%{_javadocdir}/%{name}/ +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles + +%files javadoc +%{_javadocdir}/%{name} + +%changelog