commit 4c49deb6a126183b43173a736a539b5db1365095 Author: Adrian Schröter Date: Mon Oct 14 13:52:59 2024 +0200 Sync from SUSE:ALP:Source:Standard:1.0 apiguardian revision 486bb6ec1ce14097949de38fff50b19c 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/apiguardian-api-1.0.0.pom b/apiguardian-api-1.0.0.pom new file mode 100644 index 0000000..7f49470 --- /dev/null +++ b/apiguardian-api-1.0.0.pom @@ -0,0 +1,29 @@ + + + 4.0.0 + org.apiguardian + apiguardian-api + 1.0.0 + org.apiguardian:apiguardian-api + @API Guardian + https://github.com/apiguardian-team/apiguardian + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + apiguardian + @API Guardian Team + team@apiguardian.org + + + + scm:git:git://github.com/apiguardian-team/apiguardian.git + scm:git:git://github.com/apiguardian-team/apiguardian.git + https://github.com/apiguardian-team/apiguardian + + diff --git a/apiguardian-build.xml b/apiguardian-build.xml new file mode 100644 index 0000000..9f47bdd --- /dev/null +++ b/apiguardian-build.xml @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apiguardian.changes b/apiguardian.changes new file mode 100644 index 0000000..708017d --- /dev/null +++ b/apiguardian.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 23 23:07:10 UTC 2022 - Fridrich Strba + +- Build with java source and target levels 8 + +------------------------------------------------------------------- +Fri Feb 1 09:41:56 UTC 2019 - Fridrich Strba + +- Initial package of apiguardian 1.0.0 +- Add apiguardian-build.xml file to be able to build with ant diff --git a/apiguardian.spec b/apiguardian.spec new file mode 100644 index 0000000..14c5801 --- /dev/null +++ b/apiguardian.spec @@ -0,0 +1,77 @@ +# +# spec file for package apiguardian +# +# 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/ +# + + +Name: apiguardian +Version: 1.0.0 +Release: 0 +Summary: API Guardian Java annotation +License: Apache-2.0 +Group: Development/Libraries/Java +URL: https://github.com/apiguardian-team/apiguardian +Source0: https://github.com/apiguardian-team/apiguardian/archive/r%{version}.tar.gz +Source1: %{name}-build.xml +Source100: https://repo1.maven.org/maven2/org/apiguardian/apiguardian-api/%{version}/apiguardian-api-%{version}.pom +BuildRequires: ant +BuildRequires: fdupes +BuildRequires: java-devel >= 1.6 +BuildRequires: javapackages-local +BuildArch: noarch + +%description +API Guardian indicates the status of an API element and therefore its +level of stability as well. It is used to annotate public types, +methods, constructors, and fields within a framework or application in +order to publish their API status and level of stability and to +indicate how they are intended to be used by consumers of the API. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/HTML + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q -n %{name}-r%{version} +find -name \*.jar -delete +cp -p %{SOURCE1} . + +%build +%{ant} -f %{name}-build.xml jar javadoc + +%install +# jar +install -dm 0755 %{buildroot}%{_javadir}/%{name} +install -pm 0644 target/apiguardian-api-%{version}.jar %{buildroot}%{_javadir}/%{name}/apiguardian-api.jar +# pom +install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} +install -pm 0644 %{SOURCE100} %{buildroot}%{_mavenpomdir}/%{name}/apiguardian-api.pom +%add_maven_depmap %{name}/apiguardian-api.pom %{name}/apiguardian-api.jar +# javadoc +install -dm 0755 %{buildroot}%{_javadocdir} +install -pdm 0755 target/site/apidocs %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE + +%files javadoc +%{_javadocdir}/%{name} +%license LICENSE + +%changelog diff --git a/r1.0.0.tar.gz b/r1.0.0.tar.gz new file mode 100644 index 0000000..aeeb5af --- /dev/null +++ b/r1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f89bff4471bd353bd19462df08190e49f87444f899554981af25812694292bd4 +size 61405