ALT repositories
Last updated at Fri, 24 Jul 2020 16:39:53 +0000 | SRPMs: 18986
en ru
SRPMs in branches
hide window
  • 1.1-alt1_6jpp8
Group :: Development/Java
Source RPM: auto
Raw spec file

Group: Development/Java
# BEGIN SourceDeps(oneline):
BuildRequires: rpm-build-java
# END SourceDeps(oneline)

BuildRequires: /proc
BuildRequires: jpackage-generic-compat
# see

%define _localstatedir %{_var}
Name: auto
Version: 1.1
Release: alt1_6jpp8
Summary: A collection of source code generators for Java
License: ASL 2.0

BuildRequires: maven-local
BuildRequires: mvn(
BuildRequires: mvn(com.squareup:javawriter)
BuildRequires: mvn(javax.inject:javax.inject)
BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin)
BuildRequires: mvn(org.apache.velocity:velocity)
BuildRequires: mvn(org.ow2.asm:asm)
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)

%if 0
# Test deps

BuildRequires: mvn(
BuildRequires: mvn(junit:junit)
# Unavailable test deps

BuildRequires: mvn(
BuildRequires: mvn(
BuildRequires: mvn(
BuildRequires: mvn(
BuildRequires: mvn(
BuildRequires: mvn(

BuildArch: noarch

The Auto sub-projects are a collection of code generators
that automate those types of tasks.

%package common
Group: Development/Java
Summary: Auto Common Utilities

%description common
Common utilities for creating annotation processors.

%package factory
Group: Development/Java
Summary: JSR-330-compatible factories

%description factory
A source code generator for JSR-330-compatible factories.

%package service
Group: Development/Java
Summary: Provider-configuration files for ServiceLoader

%description service
A configuration/meta-data generator for
java.util.ServiceLoader-style service

%package value
Group: Development/Java
Summary: Auto Value

%description value
Immutable value-type code generation for Java 1.6+.

%package javadoc
Group: Development/Java
Summary: Javadoc for %{name}
BuildArch: noarch

%description javadoc
This package contains javadoc for %{name}.

%setup -q -n auto-auto-value-%{version}
find -name '*.class' -print -delete
find -name '*.jar' -print -delete

%pom_xpath_inject "pom:project" "

%pom_xpath_set "pom:project/pom:version" %{version}
for p in common factory service value ;do
%pom_xpath_set "pom:parent/pom:version" %{version} ${p}
%pom_xpath_set "pom:project/pom:version" %{version} ${p}
%pom_xpath_remove "pom:dependency[pom:scope = 'test']" ${p}

%pom_remove_plugin org.apache.maven.plugins:maven-checkstyle-plugin
%pom_remove_plugin :maven-shade-plugin value
%pom_remove_plugin :maven-invoker-plugin value
%pom_remove_plugin :maven-invoker-plugin factory

%pom_xpath_set "pom:dependency[pom:artifactId = 'auto-service']/pom:version" %{version} factory
%pom_xpath_set "pom:dependency[pom:artifactId = 'auto-common']/pom:version" %{version} factory
%pom_xpath_set "pom:dependency[pom:artifactId = 'auto-common']/pom:version" %{version} service
%pom_xpath_set "pom:dependency[pom:artifactId = 'auto-common']/pom:version" %{version} value
%pom_xpath_set "pom:dependency[pom:artifactId = 'auto-service']/pom:version" %{version} value


# Unavailable test deps

%mvn_build -sf


%files -f .mfiles-%{name}-parent
%dir %{_javadir}/%{name}
%doc --no-dereference LICENSE.txt

%files common -f .mfiles-%{name}-common
%doc common/
%doc --no-dereference LICENSE.txt

%files factory -f .mfiles-%{name}-factory
%doc factory/
%doc --no-dereference LICENSE.txt

%files service -f .mfiles-%{name}-service
%doc service/
%doc --no-dereference LICENSE.txt

%files value -f .mfiles-%{name}-value
%doc value/
%doc --no-dereference LICENSE.txt

%files javadoc -f .mfiles-javadoc
%doc --no-dereference LICENSE.txt

* Sun Apr 15 2018 Igor Vlasenko <viy at> 1.1-alt1_6jpp8
- java update

* Thu Nov 09 2017 Igor Vlasenko <viy at> 1.1-alt1_5jpp8
- fc27 update

* Sun Oct 22 2017 Igor Vlasenko <viy at> 1.1-alt1_4jpp8
- new jpp release

* Mon Dec 19 2016 Igor Vlasenko <viy at> 1.1-alt1_3jpp8
- new version

The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.