Sync from SUSE:ALP:Source:Standard:1.0 auto revision 8163cf6a8b52365b0d57922a1ad761cf
This commit is contained in:
commit
f539511661
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
|
BIN
auto-common-1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
auto-common-1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
auto-parent-6.tar.gz
(Stored with Git LFS)
Normal file
BIN
auto-parent-6.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
auto-service-1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
auto-service-1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
auto-value-1.6.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
auto-value-1.6.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
22
auto.changes
Normal file
22
auto.changes
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 13 17:52:07 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Update to upstream release 1.6.1
|
||||||
|
* provides the auto-value-annotations artifact
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 25 07:54:25 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Update to upstream release 1.5.4
|
||||||
|
- Fetch 4 different tarballs in order to have correctly tagged
|
||||||
|
submodules in the build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 2 21:45:57 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Add missing Group: line for the javadoc subpackage.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 6 09:39:17 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Initial packaging of auto value 1.3
|
176
auto.spec
Normal file
176
auto.spec
Normal file
@ -0,0 +1,176 @@
|
|||||||
|
#
|
||||||
|
# spec file for package auto
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global auto_ver 1.6.1
|
||||||
|
%global common_ver 1.0
|
||||||
|
%global service_ver 1.0
|
||||||
|
%global parent_ver 6
|
||||||
|
Name: auto
|
||||||
|
Version: %{auto_ver}
|
||||||
|
Release: 0
|
||||||
|
Summary: A collection of source code generators for Java
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
URL: https://github.com/google/auto
|
||||||
|
Source0: https://github.com/google/auto/archive/auto-value-%{version}.tar.gz
|
||||||
|
Source1: https://github.com/google/auto/archive/auto-common-%{common_ver}.tar.gz
|
||||||
|
Source2: https://github.com/google/auto/archive/auto-service-%{service_ver}.tar.gz
|
||||||
|
Source3: https://github.com/google/auto/archive/auto-parent-%{parent_ver}.tar.gz
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: java-devel >= 1.8
|
||||||
|
BuildRequires: maven-local
|
||||||
|
BuildRequires: mvn(com.squareup:javapoet)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin)
|
||||||
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Auto sub-projects are a collection of code generators
|
||||||
|
that automate those types of tasks.
|
||||||
|
|
||||||
|
%package common
|
||||||
|
Summary: Auto Common Utilities
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
Obsoletes: %{name}-factory < %{version}-%{release}
|
||||||
|
|
||||||
|
%description common
|
||||||
|
Common utilities for creating annotation processors.
|
||||||
|
|
||||||
|
%package service
|
||||||
|
Summary: AutoService Processor
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description service
|
||||||
|
Provider-configuration files for ServiceLoader.
|
||||||
|
|
||||||
|
%package service-aggregator
|
||||||
|
Summary: AutoService Aggregator
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description service-aggregator
|
||||||
|
Aggregator POM for @AutoService.
|
||||||
|
|
||||||
|
%package service-annotations
|
||||||
|
Summary: AutoService Annotations
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description service-annotations
|
||||||
|
Provider-configuration files for ServiceLoader.
|
||||||
|
|
||||||
|
%package value
|
||||||
|
Summary: Auto Value
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description value
|
||||||
|
Immutable value-type code generation for Java 1.6+.
|
||||||
|
|
||||||
|
%package value-annotations
|
||||||
|
Summary: Auto Value Annotations
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description value-annotations
|
||||||
|
Immutable value-type code generation for Java 1.6+.
|
||||||
|
|
||||||
|
%package value-parent
|
||||||
|
Summary: Auto Value Parent
|
||||||
|
|
||||||
|
%description value-parent
|
||||||
|
Immutable value-type code generation for Java 1.6+.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
Group: Documentation/HTML
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
This package contains javadoc for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n auto-auto-value-%{version} -a1 -a2 -a3
|
||||||
|
rm -rf pom.xml factory/ common/ service/
|
||||||
|
mv auto-auto-parent-%{parent_ver}/pom.xml .
|
||||||
|
mv auto-auto-common-%{common_ver}/common common
|
||||||
|
mv auto-auto-service-%{service_ver}/service service
|
||||||
|
|
||||||
|
find -name '*.class' -print -delete
|
||||||
|
find -name '*.jar' -print -delete
|
||||||
|
|
||||||
|
# remove unnecessary dependency on parent POM
|
||||||
|
%pom_remove_parent
|
||||||
|
|
||||||
|
# Disable factory module due to missing dep:
|
||||||
|
# com.google.googlejavaformat:google-java-format
|
||||||
|
%pom_disable_module factory build-pom.xml
|
||||||
|
# Missing dep on com.google.gwt:gwt
|
||||||
|
%pom_disable_module src/it/functional value/pom.xml
|
||||||
|
%pom_disable_module src/it/gwtserializer value/pom.xml
|
||||||
|
|
||||||
|
# Fix deps in service module
|
||||||
|
%pom_xpath_set "pom:parent/pom:version" 6 service
|
||||||
|
%pom_change_dep com.google.auto:auto-common com.google.auto:auto-common:1.0 value/processor
|
||||||
|
%pom_change_dep com.google.auto.service:auto-service com.google.auto.service:auto-service:1.0 value/processor
|
||||||
|
#%pom_change_dep com.google.auto:auto-common com.google.auto:auto-common:0.10 service
|
||||||
|
%pom_remove_plugin org.apache.maven.plugins:maven-checkstyle-plugin
|
||||||
|
%pom_remove_plugin :maven-shade-plugin
|
||||||
|
%pom_remove_plugin :maven-shade-plugin value/processor
|
||||||
|
|
||||||
|
%mvn_package :build-only __noinstall
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{mvn_build} -sf -- \
|
||||||
|
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
||||||
|
-Dmaven.compiler.release=8 \
|
||||||
|
%endif
|
||||||
|
-f build-pom.xml -Dsource=8 -Dfile.encoding=UTF-8
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
%fdupes -s %{buildroot}%{_javadocdir}
|
||||||
|
|
||||||
|
%files -f .mfiles-%{name}-parent
|
||||||
|
%dir %{_javadir}/%{name}
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files common -f .mfiles-%{name}-common
|
||||||
|
%doc common/README.md
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files service -f .mfiles-%{name}-service
|
||||||
|
%doc service/README.md
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files service-aggregator -f .mfiles-%{name}-service-aggregator
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files service-annotations -f .mfiles-%{name}-service-annotations
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files value -f .mfiles-%{name}-value
|
||||||
|
%doc value/README.md
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files value-annotations -f .mfiles-%{name}-value-annotations
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files value-parent -f .mfiles-%{name}-value-parent
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user