Blame SPECS/codemodel.spec

117f09
Name:         codemodel
117f09
Version:      2.6
117f09
Release:      24%{?dist}
117f09
Summary:      Java library for code generators
117f09
License:      CDDL-1.1 or GPLv2 with exceptions
117f09
URL:          http://codemodel.java.net
117f09
# svn export https://svn.java.net/svn/codemodel~svn/tags/codemodel-project-2.6/ codemodel-2.6
117f09
# tar -zcvf codemodel-2.6.tar.gz codemodel-2.6
117f09
Source0:      %{name}-%{version}.tar.gz
117f09
# Remove the dependency on istack-commons (otherwise it will be a
117f09
# recursive dependency with the upcoming changes to that package):
117f09
Patch0:       %{name}-remove-istack-commons-dependency.patch
117f09
117f09
BuildArch:     noarch
117f09
117f09
BuildRequires: maven-local
117f09
BuildRequires: mvn(junit:junit)
117f09
BuildRequires: mvn(net.java:jvnet-parent:pom:)
117f09
BuildRequires: mvn(org.apache.ant:ant)
117f09
117f09
117f09
%description
117f09
CodeModel is a Java library for code generators; it provides a way to
117f09
generate Java programs in a way much nicer than PrintStream.println().
117f09
This project is a spin-off from the JAXB RI for its schema compiler
117f09
to generate Java source files.
117f09
117f09
%package javadoc
117f09
Summary: Javadoc for %{name}
117f09
117f09
%description javadoc
117f09
This package contains the API documentation for %{name}.
117f09
117f09
%prep
117f09
117f09
# Unpack and patch the original source:
117f09
%setup -q
117f09
%patch0 -p1
117f09
117f09
# Remove bundled jar files:
117f09
find . -name '*.jar' -print -delete
117f09
117f09
%mvn_file :%{name} %{name}
117f09
%mvn_file :%{name}-annotation-compiler %{name}-annotation-compiler
117f09
117f09
%build
117f09
117f09
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
117f09
117f09
%install
117f09
%mvn_install
117f09
117f09
%files -f .mfiles
117f09
%license LICENSE.html
117f09
117f09
%files javadoc -f .mfiles-javadoc
117f09
%license LICENSE.html
117f09
117f09
%changelog
117f09
* Fri May 25 2018 Michael Simacek <msimacek@redhat.com> - 2.6-24
117f09
- Regenerate BRs
117f09
117f09
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-23
117f09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
117f09
117f09
* Thu Nov 09 2017 Michael Simacek <msimacek@redhat.com> - 2.6-22
117f09
- Change license to CDDL-1.1 or GPLv2 with exceptions
117f09
117f09
* Wed Nov 08 2017 Michael Simacek <msimacek@redhat.com> - 2.6-21
117f09
- Change license to CDDL-1.1 and GPLv2
117f09
117f09
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-20
117f09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
117f09
117f09
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-19
117f09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
117f09
117f09
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-18
117f09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
117f09
117f09
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-17
117f09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
117f09
117f09
* Fri Feb 13 2015 gil cattaneo <puntogil@libero.it> 2.6-16
117f09
- introduce license macro
117f09
117f09
* Tue Jun 24 2014 Michael Simacek <msimacek@redhat.com> - 2.6-15
117f09
- Chnage jvnet-parent BR to jvnet-parent:pom
117f09
117f09
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-14
117f09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
117f09
117f09
* Thu May 22 2014 Michael Simacek <msimacek@redhat.com> - 2.6-13
117f09
- Change maven-surefire-provider-junit4 dependency to
117f09
  maven-surefire-provider-junit
117f09
117f09
* Thu Mar 20 2014 Michael Simacek <msimacek@redhat.com> - 2.6-12
117f09
- Remove BR java-devel
117f09
117f09
* Thu Mar 13 2014 Michael Simacek <msimacek@redhat.com> - 2.6-11
117f09
- Drop manual requires
117f09
117f09
* Mon Aug 05 2013 gil cattaneo <puntogil@libero.it> 2.6-10
117f09
- rebuilt FTBFS in rawhide
117f09
- swith to Xmvn
117f09
- adapt to new guideline
117f09
117f09
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-9
117f09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
117f09
117f09
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-8
117f09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
117f09
117f09
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.6-7
117f09
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
117f09
- Replace maven BuildRequires with maven-local
117f09
117f09
* Sat Jul 21 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.6-6
117f09
- Add maven-enforcer-plugin as build time dependeny
117f09
117f09
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-5
117f09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
117f09
117f09
* Sat Mar 31 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.6-4
117f09
- Restore the dependency on jvnet-parent
117f09
- Remove the dependency on istack-commons
117f09
117f09
* Tue Feb 14 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.6-3
117f09
- Added build requirement for maven-surefire-provider-junit4
117f09
117f09
* Tue Feb 14 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.6-2
117f09
- Cleanup of the spec file
117f09
117f09
* Mon Jan 16 2012 Marek Goldmann <mgoldman@redhat.com> 2.6-1
117f09
- Initial packaging
117f09