ALT repositories
Last updated at Fri, 24 Jul 2020 14:09:54 +0000 | SRPMs: 23526
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
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-1.8-compat
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382

%define _localstatedir %{_var}
Name: codemodel
Version: 2.6
Release: alt2_28jpp8
Summary: Java library for code generators
License: CDDL-1.1 or GPLv2 with exceptions
URL: http://codemodel.java.net
# svn export https://svn.java.net/svn/codemodel~svn/tags/codemodel-project-2.6/ 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(net.java:jvnet-parent:pom:)
BuildRequires: mvn(org.apache.ant:ant)
Source44: import.info


%description
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}.

%prep

# 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

%build

%mvn_build -- -Dproject.build.sourceEncoding=UTF-8

%install
%mvn_install

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

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

%changelog
* Sat Feb 15 2020 Igor Vlasenko <viy at altlinux.ru> 2.6-alt2_28jpp8
- fc update

* Sat May 25 2019 Igor Vlasenko <viy at altlinux.ru> 2.6-alt2_26jpp8
- new version

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

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

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

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

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

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

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

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

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

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

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

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

* Thu Jun 21 2012 Igor Vlasenko <viy at altlinux.ru> 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.