Name: auto Summary: Collection of source code generators for Java Version: 1.6.1 Release: 9%{?dist} License: ASL 2.0 URL: https://github.com/google/auto # Source tarball is generated by script to ensure the correct tagged # code is fetched for the various submodules Source0: auto-value-%{version}.tar.gz Source1: gen_auto_tarball.sh BuildRequires: maven-local BuildRequires: mvn(com.squareup:javapoet) BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin) BuildArch: noarch ExclusiveArch: %{java_arches} noarch %description The Auto sub-projects are a collection of code generators that automate those types of tasks. %package common Summary: Auto Common Utilities # Obsoletes added in F30 Obsoletes: %{name}-factory < %{version}-%{release} %description common Common utilities for creating annotation processors. %package service Summary: Provider-configuration files for ServiceLoader %description service A configuration/meta-data generator for java.util.ServiceLoader-style service providers. %package value Summary: Auto Value %description value Immutable value-type code generation for Java 1.6+. %package value-annotations Summary: Auto Value Annotations %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} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n auto-value-%{version} 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: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 # skip test suite because of unpackaged dependencies for tests %mvn_build -sf -- -f build-pom.xml %install %mvn_install %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 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 * Mon Jan 22 2024 Fedora Release Engineering - 1.6.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.6.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.6.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jan 18 2023 Fedora Release Engineering - 1.6.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 1.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 08 2022 Jiri Vanek - 1.6.1-4 - Rebuilt for Drop i686 JDKs * Sat Feb 05 2022 Jiri Vanek - 1.6.1-3 - Rebuilt for java-17-openjdk as system jdk * Wed Jan 19 2022 Fedora Release Engineering - 1.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Oct 16 2021 Orion Poplawski - 1.6.1-1 - Update to 1.6.1 * Wed Jul 21 2021 Fedora Release Engineering - 1.5.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.5.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.5.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Jiri Vanek - 1.5.4-5 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 * Fri Mar 20 2020 Mat Booth - 1.5.4-4 - Remove unneeded dep on plexus-java, used only for integration tests that we do not execute * Thu Feb 20 2020 Mat Booth - 1.5.4-3 - Allow compatibility with a broader range of guava versions * Tue Jan 28 2020 Fedora Release Engineering - 1.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Dec 13 2019 Fabio Valentini - 1.5.4-1 - Update to version 1.5.4 - Don't use compat version of guava any longer * Wed Jul 24 2019 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 15 2019 Mat Booth - 1.4.1-1 - Update to release 1.4.1 of auto - Disable unused factory module due to missing deps * Thu Jan 31 2019 Fedora Release Engineering - 1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 08 2018 Mat Booth - 1.3-2 - Fix BRs * Fri Jun 08 2018 Mat Booth - 1.3-1 - Update to 1.3 release of auto * Wed Feb 07 2018 Fedora Release Engineering - 1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 13 2015 gil cattaneo 1.1-1 - update to 1.1 * Wed Apr 01 2015 gil cattaneo 1.0-2 - enable factory module * Tue Mar 31 2015 gil cattaneo 1.0-1 - initial rpm