From 8eb859181c3c04ef4f7157c48919d82a66f12e1f77cacbdab2fd6d36e4592762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 11:34:20 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main checker-qual revision aa1381e8335a564676204123a5103a23 --- .gitattributes | 23 +++++++ checker-framework-3.22.0.tar.gz | 3 + checker-qual-3.22.0.pom | 47 ++++++++++++++ checker-qual-build.xml | 112 ++++++++++++++++++++++++++++++++ checker-qual.changes | 5 ++ checker-qual.spec | 74 +++++++++++++++++++++ 6 files changed, 264 insertions(+) create mode 100644 .gitattributes create mode 100644 checker-framework-3.22.0.tar.gz create mode 100644 checker-qual-3.22.0.pom create mode 100644 checker-qual-build.xml create mode 100644 checker-qual.changes create mode 100644 checker-qual.spec 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/checker-framework-3.22.0.tar.gz b/checker-framework-3.22.0.tar.gz new file mode 100644 index 0000000..04d87cc --- /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..4cd6683 --- /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..6e51651 --- /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..21af2be --- /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..98c6def --- /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