Blame SPECS/auto.spec

a26fa6
Name:          auto
a26fa6
Version:       1.4.1
a26fa6
Release:       1%{?dist}
a26fa6
Summary:       A collection of source code generators for Java
a26fa6
License:       ASL 2.0
a26fa6
URL:           https://github.com/google/auto
a26fa6
Source0:       https://github.com/google/auto/archive/auto-value-%{version}.tar.gz
a26fa6
a26fa6
BuildRequires:  maven-local
a26fa6
BuildRequires:  mvn(com.google.guava:guava:19.0)
a26fa6
BuildRequires:  mvn(com.squareup:javapoet)
a26fa6
BuildRequires:  mvn(org.sonatype.oss:oss-parent:pom:)
a26fa6
a26fa6
BuildArch:     noarch
a26fa6
a26fa6
%description
a26fa6
The Auto sub-projects are a collection of code generators
a26fa6
that automate those types of tasks.
a26fa6
a26fa6
%package common
a26fa6
Summary:       Auto Common Utilities
a26fa6
# Obsoletes added in F30
a26fa6
Obsoletes:     %{name}-factory < %{version}-%{release}
a26fa6
a26fa6
%description common
a26fa6
Common utilities for creating annotation processors.
a26fa6
a26fa6
%package service
a26fa6
Summary:       Provider-configuration files for ServiceLoader
a26fa6
a26fa6
%description service
a26fa6
A configuration/meta-data generator for
a26fa6
java.util.ServiceLoader-style service
a26fa6
providers.
a26fa6
a26fa6
%package value
a26fa6
Summary:       Auto Value
a26fa6
a26fa6
%description value
a26fa6
Immutable value-type code generation for Java 1.6+.
a26fa6
a26fa6
%package javadoc
a26fa6
Summary:       Javadoc for %{name}
a26fa6
a26fa6
%description javadoc
a26fa6
This package contains javadoc for %{name}.
a26fa6
a26fa6
%prep
a26fa6
%setup -q -n auto-auto-value-%{version}
a26fa6
find -name '*.class' -print -delete
a26fa6
find -name '*.jar' -print -delete
a26fa6
a26fa6
# Disable factory module due to missing dep:
a26fa6
# com.google.googlejavaformat:google-java-format
a26fa6
%pom_disable_module factory build-pom.xml
a26fa6
a26fa6
%pom_xpath_set "pom:project/pom:version" 3
a26fa6
for p in common factory service value ;do
a26fa6
%pom_xpath_set "pom:project/pom:version" %{version} ${p}
a26fa6
%pom_xpath_remove "pom:dependency[pom:scope = 'test']" ${p}
a26fa6
done
a26fa6
a26fa6
%pom_remove_plugin org.apache.maven.plugins:maven-checkstyle-plugin
a26fa6
%pom_remove_plugin :maven-shade-plugin value
a26fa6
%pom_remove_plugin :maven-invoker-plugin value
a26fa6
%pom_remove_plugin :maven-invoker-plugin factory
a26fa6
a26fa6
%pom_xpath_set "pom:dependency[pom:artifactId = 'auto-common']/pom:version" %{version} factory service value
a26fa6
%pom_xpath_set "pom:dependency[pom:artifactId = 'auto-service']/pom:version" %{version} factory value
a26fa6
%pom_xpath_set "pom:dependency[pom:artifactId = 'auto-value']/pom:version" %{version} factory
a26fa6
a26fa6
%mvn_package :build-only __noinstall
a26fa6
a26fa6
%build
a26fa6
# Unavailable test deps
a26fa6
%mvn_build -sf -- -f build-pom.xml
a26fa6
a26fa6
%install
a26fa6
%mvn_install
a26fa6
a26fa6
%files -f .mfiles-%{name}-parent
a26fa6
%dir %{_javadir}/%{name}
a26fa6
%doc README.md
a26fa6
%license LICENSE.txt
a26fa6
a26fa6
%files common -f .mfiles-%{name}-common
a26fa6
%doc common/README.md
a26fa6
%license LICENSE.txt
a26fa6
a26fa6
%files service -f .mfiles-%{name}-service
a26fa6
%doc service/README.md
a26fa6
%license LICENSE.txt
a26fa6
a26fa6
%files value -f .mfiles-%{name}-value
a26fa6
%doc value/README.md
a26fa6
%license LICENSE.txt
a26fa6
a26fa6
%files javadoc -f .mfiles-javadoc
a26fa6
%license LICENSE.txt
a26fa6
a26fa6
%changelog
a26fa6
* Fri Feb 15 2019 Mat Booth <mat.booth@redhat.com> - 1.4.1-1
a26fa6
- Update to release 1.4.1 of auto
a26fa6
- Disable unused factory module due to missing deps
a26fa6
a26fa6
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-4
a26fa6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a26fa6
a26fa6
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-3
a26fa6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a26fa6
a26fa6
* Fri Jun 08 2018 Mat Booth <mat.booth@redhat.com> - 1.3-2
a26fa6
- Fix BRs
a26fa6
a26fa6
* Fri Jun 08 2018 Mat Booth <mat.booth@redhat.com> - 1.3-1
a26fa6
- Update to 1.3 release of auto
a26fa6
a26fa6
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-6
a26fa6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a26fa6
a26fa6
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-5
a26fa6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a26fa6
a26fa6
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-4
a26fa6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a26fa6
a26fa6
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-3
a26fa6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a26fa6
a26fa6
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
a26fa6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a26fa6
a26fa6
* Sat Jun 13 2015 gil cattaneo <puntogil@libero.it> 1.1-1
a26fa6
- update to 1.1
a26fa6
a26fa6
* Wed Apr 01 2015 gil cattaneo <puntogil@libero.it> 1.0-2
a26fa6
- enable factory module
a26fa6
a26fa6
* Tue Mar 31 2015 gil cattaneo <puntogil@libero.it> 1.0-1
a26fa6
- initial rpm