ALT repositories
Last updated at Thu, 30 Aug 2018 12:04:43 +0000 | SRPMs: 18895
en ru
SRPMs in branches
hide window
  • 2.6-alt2_17jpp8
  • 2.6-alt2_17jpp8
  • 2.6-alt1_6jpp7
  • 2.6-alt1_6jpp7
  • 2.6-alt1_6jpp7
Group :: Development/Java
Source RPM: codemodel
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: codemodel
Version: 2.6
Release: alt2_25jpp8
Summary: Java library for code generators
License: CDDL-1.1 or GPLv2 with exceptions
# svn export codemodel-2.6

# tar -zcvf codemodel-2.6.tar.gz codemodel-2.6

Source0: %{name}-%{version}.tar.gz
# Remove the dependency on istack-commons (otherwise it will be a

# recursive dependency with the upcoming changes to that package):

Patch0: %{name}-remove-istack-commons-dependency.patch

BuildArch: noarch

BuildRequires: maven-local
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(
BuildRequires: mvn(org.apache.ant:ant)

CodeModel is a Java library for code generators; it provides a way to
generate Java programs in a way much nicer than PrintStream.println().
This project is a spin-off from the JAXB RI for its schema compiler
to generate Java source files.

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

%description javadoc
This package contains the API documentation for %{name}.


# Unpack and patch the original source:

%setup -q
%patch0 -p1

# Remove bundled jar files:

find . -name '*.jar' -print -delete

%mvn_file :%{name} %{name}
%mvn_file :%{name}-annotation-compiler %{name}-annotation-compiler


%mvn_build --


%files -f .mfiles
%doc --no-dereference LICENSE.html

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

* Tue Feb 05 2019 Igor Vlasenko <viy at> 2.6-alt2_25jpp8
- fc29 update

* Fri Jun 01 2018 Igor Vlasenko <viy at> 2.6-alt2_24jpp8
- java fc28+ update

* Thu Apr 19 2018 Igor Vlasenko <viy at> 2.6-alt2_23jpp8
- java update

* Wed Nov 22 2017 Igor Vlasenko <viy at> 2.6-alt2_22jpp8
- new fc release

* Thu Nov 09 2017 Igor Vlasenko <viy at> 2.6-alt2_20jpp8
- fc27 update

* Sun Oct 22 2017 Igor Vlasenko <viy at> 2.6-alt2_19jpp8
- new jpp release

* Tue Nov 22 2016 Igor Vlasenko <viy at> 2.6-alt2_18jpp8
- new fc release

* Mon Feb 01 2016 Igor Vlasenko <viy at> 2.6-alt2_17jpp8
- new version

* Mon Sep 08 2014 Igor Vlasenko <viy at> 2.6-alt2_10jpp7
- new release

* Mon Jul 28 2014 Igor Vlasenko <viy at> 2.6-alt2_8jpp7
- new release

* Mon Jul 14 2014 Igor Vlasenko <viy at> 2.6-alt2_6jpp7
- NMU rebuild to move poms and fragments

* Mon Aug 20 2012 Igor Vlasenko <viy at> 2.6-alt1_6jpp7
- new release

* Thu Jun 21 2012 Igor Vlasenko <viy at> 2.6-alt1_4jpp7
- new version

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