commit 4cacea7658348b0aa03dc79c637b03f3985da985 Author: Adrian Schröter Date: Mon Oct 14 14:02:47 2024 +0200 Sync from SUSE:ALP:Source:Standard:1.0 checker-qual revision aa1381e8335a564676204123a5103a23 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/checker-framework-3.22.0.tar.gz b/checker-framework-3.22.0.tar.gz new file mode 100644 index 0000000..c60770a --- /dev/null +++ b/checker-framework-3.22.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef3200bb9864f5c56f9ab7f5865d301364af668f8ef27c70a67a8aa779a4d7be +size 7914483 diff --git a/checker-qual-3.22.0.pom b/checker-qual-3.22.0.pom new file mode 100644 index 0000000..555148e --- /dev/null +++ b/checker-qual-3.22.0.pom @@ -0,0 +1,47 @@ + + + + + + + + 4.0.0 + org.checkerframework + checker-qual + 3.22.0 + Checker Qual + checker-qual contains annotations (type qualifiers) that a programmer +writes to specify Java code for type-checking by the Checker Framework. + + https://checkerframework.org + + + The MIT License + http://opensource.org/licenses/MIT + repo + + + + + mernst + Michael Ernst + mernst@cs.washington.edu + https://homes.cs.washington.edu/~mernst/ + University of Washington + https://www.cs.washington.edu/ + + + smillst + Suzanne Millstein + smillst@cs.washington.edu + University of Washington + https://www.cs.washington.edu/ + + + + scm:git:git://github.com/typetools/checker-framework.git + scm:git:ssh://git@github.com/typetools/checker-framework.git + https://github.com/typetools/checker-framework.git + + diff --git a/checker-qual-build.xml b/checker-qual-build.xml new file mode 100644 index 0000000..595d4ab --- /dev/null +++ b/checker-qual-build.xml @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/checker-qual.changes b/checker-qual.changes new file mode 100644 index 0000000..470c4f9 --- /dev/null +++ b/checker-qual.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue May 17 11:36:37 UTC 2022 - Fridrich Strba + +- Initial packaging of checkerframework's checker-qual annotations + 3.22.0 diff --git a/checker-qual.spec b/checker-qual.spec new file mode 100644 index 0000000..a72998a --- /dev/null +++ b/checker-qual.spec @@ -0,0 +1,74 @@ +# +# spec file for package j2objc-annotations +# +# 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: checker-qual +Version: 3.22.0 +Release: 0 +Summary: Checker Qual +License: MIT +Group: Development/Libraries/Java +URL: https://github.com/typetools/checker-framework +Source0: https://github.com/typetools/checker-framework/archive/refs/tags/checker-framework-%{version}.tar.gz +Source1: https://repo1.maven.org/maven2/org/checkerframework/%{name}/%{version}/%{name}-%{version}.pom +Source2: %{name}-build.xml +BuildRequires: ant +BuildRequires: fdupes +BuildRequires: java-devel >= 1.8 javapackages-local +BuildArch: noarch + +%description +Checker Qual contains annotations (type qualifiers) that a programmer +writes to specify Java code for type-checking by the Checker Framework. + +%package javadoc +Summary: API documentation for %{name} +Group: Documentation/HTML + +%description javadoc +This package provides %{summary}. + +%prep +%setup -q -n checker-framework-checker-framework-%{version} +cp %{SOURCE2} %{name}/build.xml + +%build +pushd %{name} +%{ant} jar javadoc +popd + +%install +# jars +install -d -m 0755 %{buildroot}%{_javadir} +install -p -m 0644 %{name}/target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar +# pom +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{name}.jar +# javadoc +install -d -m 755 %{buildroot}%{_javadocdir}/%{name} +cp -pr %{name}/target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license %{name}/LICENSE.txt + +%files javadoc +%doc %{_javadocdir}/%{name} +%license %{name}/LICENSE.txt + +%changelog