From f35315b63f017814d0829676074f999684b76219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 14 Oct 2024 14:35:34 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 jboss-interceptors-1.2-api revision dce1dffc82886b2469dafcd74e9947e4 --- .gitattributes | 23 +++ jboss-interceptors-1.2-api-build.xml | 139 ++++++++++++++++++ jboss-interceptors-1.2-api.changes | 10 ++ jboss-interceptors-1.2-api.spec | 83 +++++++++++ ...terceptors-api_1.2_spec-1.0.0.Final.tar.gz | 3 + 5 files changed, 258 insertions(+) create mode 100644 .gitattributes create mode 100644 jboss-interceptors-1.2-api-build.xml create mode 100644 jboss-interceptors-1.2-api.changes create mode 100644 jboss-interceptors-1.2-api.spec create mode 100644 jboss-interceptors-api_1.2_spec-1.0.0.Final.tar.gz 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/jboss-interceptors-1.2-api-build.xml b/jboss-interceptors-1.2-api-build.xml new file mode 100644 index 0000000..5218c93 --- /dev/null +++ b/jboss-interceptors-1.2-api-build.xml @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
<![CDATA[<b>${project.name} ${project.version}</b>]]>
+
<![CDATA[<b>${project.name} ${project.version}</b>]]>
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/jboss-interceptors-1.2-api.changes b/jboss-interceptors-1.2-api.changes new file mode 100644 index 0000000..051a498 --- /dev/null +++ b/jboss-interceptors-1.2-api.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Sun Mar 20 19:39:52 UTC 2022 - Fridrich Strba + +- Build with java source and target levels 8 + +------------------------------------------------------------------- +Sat Mar 2 13:38:54 UTC 2019 - Fridrich Strba + +- Initial packaging of jboss-interceptors-1.2-api +- Generate and customize the ant build file diff --git a/jboss-interceptors-1.2-api.spec b/jboss-interceptors-1.2-api.spec new file mode 100644 index 0000000..e038163 --- /dev/null +++ b/jboss-interceptors-1.2-api.spec @@ -0,0 +1,83 @@ +# +# spec file for package jboss-interceptors-1.2-api +# +# Copyright (c) 2022 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/ +# + + +%global namedreltag .Final +%global namedversion %{version}%{?namedreltag} +%global oname jboss-interceptors-api_1.2_spec +Name: jboss-interceptors-1.2-api +Version: 1.0.0 +Release: 0 +Summary: Java EE Interceptors 1.2 API +License: CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0 +Group: Development/Libraries/Java +URL: https://github.com/jboss/jboss-interceptors-api_spec +Source0: https://github.com/jboss/jboss-interceptors-api_spec/archive/jboss-interceptors-api_1.2_spec-%{namedversion}.tar.gz +Source1: %{name}-build.xml +BuildRequires: ant +BuildRequires: fdupes +BuildRequires: javapackages-local +BuildArch: noarch + +%description +The Java EE Interceptors 1.2 API classes from JSR 318. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/HTML + +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -q -n jboss-interceptors-api_spec-jboss-interceptors-api_1.2_spec-%{namedversion} +cp %{SOURCE1} build.xml + +# Fix incorrect-fsf-address +sed -i "s,59,51,;s,Temple Place,Franklin Street,;s,Suite 330,Fifth Floor,;s,02111-1307,02110-1301," LICENSE + +%pom_remove_parent + +%{mvn_file} :%{oname} %{name} + +%build +%{ant} jar javadoc + +%install +# jar +install -dm 0755 %{buildroot}%{_javadir} +install -pm 0644 target/%{oname}-%{namedversion}.jar %{buildroot}%{_javadir}/%{oname}.jar +ln -sf %{oname}.jar %{buildroot}%{_javadir}/%{name}.jar +# pom +install -dm 0755 %{buildroot}%{_mavenpomdir} +install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{oname}.pom +%add_maven_depmap %{oname}.pom %{oname}.jar +# javadoc +install -dm 0755 %{buildroot}%{_javadocdir}/%{name} +cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/ +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%doc README +%license LICENSE +%{_javadir}/%{name}.jar + +%files javadoc +%license LICENSE +%{_javadocdir}/%{name} + +%changelog diff --git a/jboss-interceptors-api_1.2_spec-1.0.0.Final.tar.gz b/jboss-interceptors-api_1.2_spec-1.0.0.Final.tar.gz new file mode 100644 index 0000000..bfcbc7d --- /dev/null +++ b/jboss-interceptors-api_1.2_spec-1.0.0.Final.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f9487ec4b3e769fd1929348b20e8adbe427669365c1f932edb8a87425e86873 +size 13104