From 6724016ffc30818a0fb506f8cd9da25ddb9af717b3f0c156e77a68a0d9e87c74 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 30 Sep 2024 05:21:48 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jboss-interceptors-1.2-api?expand=0&rev=12 --- .gitattributes | 23 +++ .gitignore | 1 + jboss-interceptors-1.2-api-build.xml | 142 ++++++++++++++++++ jboss-interceptors-1.2-api.changes | 18 +++ jboss-interceptors-1.2-api.spec | 83 ++++++++++ ...terceptors-api_1.2_spec-1.0.1.Final.tar.gz | 3 + 6 files changed, 270 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore 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.1.Final.tar.gz 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/jboss-interceptors-1.2-api-build.xml b/jboss-interceptors-1.2-api-build.xml new file mode 100644 index 0000000..00c4139 --- /dev/null +++ b/jboss-interceptors-1.2-api-build.xml @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
<![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..389eb99 --- /dev/null +++ b/jboss-interceptors-1.2-api.changes @@ -0,0 +1,18 @@ +------------------------------------------------------------------- +Mon Apr 15 07:08:32 UTC 2024 - ming li + +- Update version to 1.0.1: + * prepare for next development iteration + * JBEE-180 add jdk9 friendly automatic-module-name + * prepare release jboss-interceptors-api_1.2_spec-1.0.1.Final + +------------------------------------------------------------------- +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..1988dad --- /dev/null +++ b/jboss-interceptors-1.2-api.spec @@ -0,0 +1,83 @@ +# +# spec file for package jboss-interceptors-1.2-api +# +# Copyright (c) 2024 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.1 +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 >= 6 +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} +%{mvn_install_pom} 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.1.Final.tar.gz b/jboss-interceptors-api_1.2_spec-1.0.1.Final.tar.gz new file mode 100644 index 0000000..1f30391 --- /dev/null +++ b/jboss-interceptors-api_1.2_spec-1.0.1.Final.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40cefdf7c9d7782b50824951a5fa14df7f8f520f64603fcc5d4bdc0759fc5824 +size 13153 From 6beef3b0445c6aedf4f134c18f85996ccb4ec40da0e2c019e5317a956c193ee6 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 2 Oct 2024 15:51:06 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jboss-interceptors-1.2-api?expand=0&rev=13 --- jboss-interceptors-1.2-api.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jboss-interceptors-1.2-api.changes b/jboss-interceptors-1.2-api.changes index 389eb99..5d2e8dd 100644 --- a/jboss-interceptors-1.2-api.changes +++ b/jboss-interceptors-1.2-api.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 2 15:51:03 UTC 2024 - Fridrich Strba + +- Spec file cleanup + ------------------------------------------------------------------- Mon Apr 15 07:08:32 UTC 2024 - ming li