From c878df328d4a92088c1bd11cb90f132aa5f703d55a848e5094d30990684ae2e8 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 7 Feb 2019 13:04:21 +0000 Subject: [PATCH] new package OBS-URL: https://build.opensuse.org/package/show/Java:packages/aopalliance?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + aopalliance-1.0.pom | 15 ++++++++ aopalliance-MANIFEST.MF | 14 +++++++ aopalliance-src.tar.gz | 3 ++ aopalliance.changes | 4 ++ aopalliance.spec | 84 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 144 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 aopalliance-1.0.pom create mode 100644 aopalliance-MANIFEST.MF 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/aopalliance-1.0.pom b/aopalliance-1.0.pom new file mode 100644 index 0000000..c7fb571 --- /dev/null +++ b/aopalliance-1.0.pom @@ -0,0 +1,15 @@ + + 4.0.0 + aopalliance + aopalliance + AOP alliance + 1.0 + AOP Alliance + http://aopalliance.sourceforge.net + + + + Public Domain + + + \ No newline at end of file diff --git a/aopalliance-MANIFEST.MF b/aopalliance-MANIFEST.MF new file mode 100644 index 0000000..31e4147 --- /dev/null +++ b/aopalliance-MANIFEST.MF @@ -0,0 +1,14 @@ +Manifest-Version: 1.0 +Ant-Version: Apache Ant 1.8.4 +Created-By: 1.7.0_05-icedtea-mockbuild_2012_07_09_18_45-b00 (Oracle Co + rporation) +Bundle-ManifestVersion: 2 +Bundle-Name: AOP Alliance +Bundle-SymbolicName: aopalliance +Bundle-Version: 1.0 +Bundle-Vendor: AOP Alliance +Export-Package: org.aopalliance.aop, + org.aopalliance.intercept, + org.aopalliance.reflect, + org.aopalliance.instrument +Eclipse-BuddyPolicy: registered 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..c2b043e --- /dev/null +++ b/aopalliance.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +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..6c7e8df --- /dev/null +++ b/aopalliance.spec @@ -0,0 +1,84 @@ +# +# spec file for package aopalliance +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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: http://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 +Source1: http://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom +Source2: %{name}-MANIFEST.MF +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 +intends to facilitate and standardize the use of AOP to enhance +existing middleware environments (such as J2EE), or development +environements (e.g. Eclipse). The AOP Alliance also aims to ensure +interoperability between Java/J2EE AOP implementations to build a +larger AOP community. + +%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} + +%build +export CLASSPATH= +export OPT_JAR_LIST=: +%{ant} \ + -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \ + -Dbuild.sysclasspath=only jar javadoc + +# Inject OSGi manifest required by Eclipse. +jar umf %{SOURCE2} build/%{name}.jar + +%install +# jar +install -dm 0755 %{buildroot}%{_javadir} +install -pm 0644 build/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar +# pom +install -dm 0755 %{buildroot}%{_mavenpomdir} +install -pm 0644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{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