Sisyphus repository
Last update: 27 february 2020 | SRPMs: 17504 | Visits: 17528036
en ru br
ALT Linux repos

Group :: Development/Java
RPM: stringtemplate4

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Group: Development/Java
# BEGIN SourceDeps(oneline):
BuildRequires: rpm-build-java
# END SourceDeps(oneline)
BuildRequires: /proc
BuildRequires: jpackage-generic-compat
# see
%define _localstatedir %{_var}
Name:           stringtemplate4
Version:        4.0.8
Release:        alt1_6jpp8
Summary:        A Java template engine
License:        BSD
BuildArch:      noarch


BuildRequires:  maven-local
BuildRequires:  mvn(junit:junit)
BuildRequires:  mvn(org.antlr:antlr-runtime) >= 3.5.2
BuildRequires:  mvn(org.antlr:antlr3-maven-plugin) >= 3.5.2
BuildRequires:  mvn(org.sonatype.oss:oss-parent:pom:)

StringTemplate is a java template engine (with ports for
C# and Python) for generating source code, web pages,
emails, or any other formatted text output. StringTemplate
is particularly good at multi-targeted code generators,
multiple site skins, and internationalization/localization.

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

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

%setup -q

%pom_remove_plugin :findbugs-maven-plugin
%pom_remove_plugin :maven-gpg-plugin
%pom_remove_plugin :maven-shade-plugin

# Bug, should be reported upstream

sed -i '/tmpdir =/s,;,+"/"&,' test/org/stringtemplate/v4/test/
# Tests fail for unknown reason
sed -i /testUnknownNamedArg/s/ at Test// test/org/stringtemplate/v4/test/
sed -i /testMissingImportString/s/ at Test// test/org/stringtemplate/v4/test/
# Requires running X server
rm -r test/org/stringtemplate/v4/test/



%files -f .mfiles
%doc CHANGES.txt contributors.txt README.txt
%doc --no-dereference LICENSE.txt

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


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin