From 80940e8595c673c87da8d3f60f1822153f44342cdb7b937a27be5e1f055fa73d Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 17 May 2022 06:39:12 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/checker-qual?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + checker-framework-3.22.0.tar.gz | 3 + checker-qual-3.22.0.pom | 47 ++++++++++++++ checker-qual-build.xml | 112 ++++++++++++++++++++++++++++++++ checker-qual.spec | 74 +++++++++++++++++++++ 6 files changed, 260 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore 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.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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc 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.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