commit 4d0129885f5be9744aa912c7827d7b187a056ea2a486e203ccc38d2f3d11242a Author: Adrian Schröter Date: Fri May 3 13:59:45 2024 +0200 Sync from SUSE:SLFO:Main jboss-interceptors-1.2-api revision dce1dffc82886b2469dafcd74e9947e4 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/jboss-interceptors-1.2-api-build.xml b/jboss-interceptors-1.2-api-build.xml new file mode 100644 index 0000000..cfc6581 --- /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..425b7d4 --- /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..0ba01b6 --- /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..4920e65 --- /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