Sync from SUSE:SLFO:Main jetbrains-annotations revision 53f02218f6f5929b38250ccafd90ed5e
This commit is contained in:
commit
73cb8d2a41
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
19
_service
Normal file
19
_service
Normal file
@ -0,0 +1,19 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/JetBrains/java-annotations.git</param>
|
||||
<param name="revision">23.0.0</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="include">common</param>
|
||||
<param name="include">java8</param>
|
||||
<param name="include">module-info</param>
|
||||
<param name="include">LICENSE.txt</param>
|
||||
<param name="include">README.md</param>
|
||||
<param name="filename">jetbrains-annotations</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
30
annotations-23.0.0.pom
Normal file
30
annotations-23.0.0.pom
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.jetbrains</groupId>
|
||||
<artifactId>annotations</artifactId>
|
||||
<version>23.0.0</version>
|
||||
<name>JetBrains Java Annotations</name>
|
||||
<description>A set of annotations used for code inspection support and code documentation.</description>
|
||||
<url>https://github.com/JetBrains/java-annotations</url>
|
||||
<scm>
|
||||
<url>https://github.com/JetBrains/java-annotations</url>
|
||||
<connection>scm:git:git://github.com/JetBrains/java-annotations.git</connection>
|
||||
<developerConnection>scm:git:ssh://github.com:JetBrains/java-annotations.git</developerConnection>
|
||||
</scm>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>JetBrains</id>
|
||||
<name>JetBrains Team</name>
|
||||
<organization>JetBrains</organization>
|
||||
<organizationUrl>https://www.jetbrains.com</organizationUrl>
|
||||
</developer>
|
||||
</developers>
|
||||
</project>
|
BIN
jetbrains-annotations-23.0.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
jetbrains-annotations-23.0.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
124
jetbrains-annotations-build.xml
Normal file
124
jetbrains-annotations-build.xml
Normal file
@ -0,0 +1,124 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project name="annotations" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="build.properties"/>
|
||||
|
||||
<property name="project.groupId" value="org.jetbrains"/>
|
||||
<property name="project.artifactId" value="annotations"/>
|
||||
<property name="project.version" value="23.0.0"/>
|
||||
|
||||
<property name="compiler.source" value="1.8"/>
|
||||
<property name="compiler.target" value="${compiler.source}"/>
|
||||
|
||||
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
|
||||
<property name="build.dir" value="target"/>
|
||||
<property name="build.outputDir" value="${build.dir}/classes"/>
|
||||
<property name="build.srcDir" value="common/src/main/java"/>
|
||||
<property name="build.srcDir.java8" value="java8/src/main/java"/>
|
||||
<property name="build.srcDir.module-info" value="module-info/src/main/java"/>
|
||||
|
||||
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${build.outputDir}"/>
|
||||
<javac destdir="${build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="${compiler.target}"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="${compiler.source}">
|
||||
<src>
|
||||
<pathelement location="${build.srcDir}"/>
|
||||
<pathelement location="${build.srcDir.java8}"/>
|
||||
</src>
|
||||
</javac>
|
||||
<javac destdir="${build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="9"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="9">
|
||||
<src>
|
||||
<pathelement location="${build.srcDir}"/>
|
||||
<pathelement location="${build.srcDir.java8}"/>
|
||||
<pathelement location="${build.srcDir.module-info}"/>
|
||||
</src>
|
||||
<include name="**/module-info.java"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${build.srcDir}"
|
||||
packagenames="*"
|
||||
destdir="${reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
source="${compiler.source}"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile" description="Package the application">
|
||||
<jar jarfile="${build.dir}/${build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${build.outputDir}"
|
||||
excludes="**/package.html">
|
||||
<manifest>
|
||||
<attribute name="JavaPackages-ArtifactId" value="${project.artifactId}"/>
|
||||
<attribute name="JavaPackages-GroupId" value="${project.groupId}"/>
|
||||
<attribute name="JavaPackages-Version" value="${project.version}"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
</project>
|
53
jetbrains-annotations.changes
Normal file
53
jetbrains-annotations.changes
Normal file
@ -0,0 +1,53 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 21 17:28:40 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Avoid unnecessary use of xmvn-tools for build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 5 16:11:13 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to 23.0.0
|
||||
* Changes of 23.0.0
|
||||
+ Added new annotations: '@BlockingExecutor' and
|
||||
'@NonBlockingExecutor'.
|
||||
* Changes of 22.0.0
|
||||
+ Added new annotations: '@Blocking' and '@NonBlocking'.
|
||||
* Changes of 21.0.1
|
||||
+ Multi-Release Jar: Manifest fixed
|
||||
* Changes of 21.0.0
|
||||
+ Added new annotation: '@UnknownNullability'.
|
||||
+ Proper JPMS module.
|
||||
+ 'JdkConstants' deprecated.
|
||||
* Changes of 20.1.0
|
||||
+ Added 'TYPE_USE' target for 'PropertyKey' annotation.
|
||||
* Changes of 20.0.0
|
||||
+ Added new annotation: '@MustBeInvokedByOverriders'.
|
||||
+ Added new annotation: '@VisibleForTesting'.
|
||||
+ Added 'TYPE_USE' target for 'NonNls' annotation.
|
||||
+ String attributes of annotations are marked as '@NonNls'
|
||||
where applicable.
|
||||
+ Documentation for '@Nls' and '@NonNls' updated: now they
|
||||
could be used as meta-annotations.
|
||||
+ Documentation added for '@Subst' annotation.
|
||||
* Changes of 19.0.0
|
||||
+ Added new annotations: '@Unmodifiable' and
|
||||
'@UnmodifiableView'.
|
||||
+ Added 'TYPE_USE' target for 'Nls' annotation.
|
||||
+ Improved the documentation for '@Language', '@Pattern',
|
||||
'@RegExp', and '@ApiStatus.Internal' annotations.
|
||||
+ Fixed 'Automatic-Module-Name' for Java 5.
|
||||
* Changes of 18.0.0
|
||||
+ Added new annotation family '@ApiStatus.*'
|
||||
+ Added new annotation '@Debug.Renderer'
|
||||
* Changes of 17.0.0
|
||||
+ Added new annotation: '@Range'
|
||||
+ Changes of 16.0.3
|
||||
+ Added 'Automatic-Module-Name' to MANIFEST.MF
|
||||
* Changes 16.0.2
|
||||
* Improved the documentation for the '@Contract' annotation.
|
||||
- Fetch sources using source service
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 28 07:28:19 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Initial packaging of jetbrains-annotations 15.0
|
71
jetbrains-annotations.spec
Normal file
71
jetbrains-annotations.spec
Normal file
@ -0,0 +1,71 @@
|
||||
#
|
||||
# spec file for package jetbrains-annotations
|
||||
#
|
||||
# Copyright (c) 2023 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: jetbrains-annotations
|
||||
Version: 23.0.0
|
||||
Release: 0
|
||||
Summary: IntelliJ IDEA Annotations
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Java
|
||||
URL: https://www.jetbrains.org
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: https://repo1.maven.org/maven2/org/jetbrains/annotations/%{version}/annotations-%{version}.pom
|
||||
Source2: %{name}-build.xml
|
||||
BuildRequires: ant
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: javapackages-local >= 6
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
A set of annotations used for code inspection support and code documentation.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description javadoc
|
||||
This package contains javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
cp -p %{SOURCE2} build.xml
|
||||
|
||||
%build
|
||||
%{ant} jar javadoc
|
||||
|
||||
%install
|
||||
install -dm 0755 %{buildroot}%{_javadir}
|
||||
install -pm 0644 target/annotations-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||
|
||||
install -dm 0755 %{buildroot}%{_mavenpomdir}
|
||||
%{mvn_install_pom} %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
%add_maven_depmap %{name}.pom %{name}.jar -a com.intellij:annotations
|
||||
|
||||
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||
cp -r target/site/apidocs %{buildroot}%{_javadocdir}/%{name}
|
||||
%fdupes -s %{buildroot}%{_javadocdir}
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE.txt
|
||||
%doc README.md
|
||||
|
||||
%files javadoc
|
||||
%{_javadocdir}/%{name}
|
||||
%license LICENSE.txt
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user