Blame SPECS/modello.spec

bb3471
%{?scl:%scl_package modello}
bb3471
%{!?scl:%global pkg_name %{name}}
bb3471
bb3471
Name:           %{?scl_prefix}modello
bb3471
Version:        1.9.1
bb3471
Release:        1.2%{?dist}
bb3471
Epoch:          0
bb3471
Summary:        Modello Data Model toolkit
bb3471
# The majority of files are under MIT license, but some of them are
bb3471
# ASL 2.0 or BSD-licensed.
bb3471
License:        ASL 2.0 and BSD and MIT
bb3471
URL:            http://codehaus-plexus.github.io/modello
bb3471
Source0:        http://repo2.maven.org/maven2/org/codehaus/%{pkg_name}/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
bb3471
Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
bb3471
bb3471
BuildArch:      noarch
bb3471
bb3471
BuildRequires:  %{?scl_prefix}maven-local
bb3471
BuildRequires:  %{?scl_prefix}mvn(com.fasterxml.jackson.core:jackson-annotations)
bb3471
BuildRequires:  %{?scl_prefix}mvn(com.fasterxml.jackson.core:jackson-core)
bb3471
BuildRequires:  %{?scl_prefix}mvn(com.fasterxml.jackson.core:jackson-databind)
bb3471
BuildRequires:  %{?scl_prefix}mvn(junit:junit)
bb3471
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-core)
bb3471
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-model)
bb3471
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api)
bb3471
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.plugins:maven-dependency-plugin)
bb3471
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.plugins:maven-plugin-plugin)
bb3471
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
bb3471
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-compiler-api)
bb3471
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-compiler-javac)
bb3471
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-container-default)
bb3471
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-utils)
bb3471
BuildRequires:  %{?scl_prefix}mvn(org.jsoup:jsoup)
bb3471
BuildRequires:  %{?scl_prefix}mvn(org.sonatype.plexus:plexus-build-api)
bb3471
BuildRequires:  %{?scl_prefix}mvn(org.yaml:snakeyaml)
bb3471
bb3471
%description
bb3471
Modello is a Data Model toolkit in use by the Apache Maven Project.
bb3471
bb3471
Modello is a framework for code generation from a simple model.
bb3471
Modello generates code from a simple model format based on a plugin
bb3471
architecture, various types of code and descriptors can be generated
bb3471
from the single model, including Java POJOs, XML
bb3471
marshallers/unmarshallers, XSD and documentation.
bb3471
bb3471
%package javadoc
bb3471
Summary:        Javadoc for %{pkg_name}
bb3471
bb3471
%description javadoc
bb3471
API documentation for %{pkg_name}.
bb3471
bb3471
%prep
bb3471
%setup -n %{pkg_name}-%{version} -q
bb3471
cp -p %{SOURCE1} LICENSE
bb3471
# We don't generate site; don't pull extra dependencies.
bb3471
%pom_remove_plugin :maven-site-plugin
bb3471
# Avoid using Maven 2.x APIs
bb3471
sed -i s/maven-project/maven-core/ modello-maven-plugin/pom.xml
bb3471
bb3471
%build
bb3471
# skip tests because we have too old xmlunit in Fedora now (1.0.8)
bb3471
%mvn_build -f -- -Dmaven.version=3.1.1
bb3471
bb3471
%install
bb3471
%mvn_install
bb3471
bb3471
%jpackage_script org.codehaus.modello.ModelloCli "" "" modello:plexus-containers/plexus-container-default:plexus/classworlds:plexus/utils:plexus/plexus-build-api:xbean/xbean-reflect:guava %{pkg_name} true
bb3471
bb3471
%files -f .mfiles
bb3471
%dir %{_javadir}/%{pkg_name}
bb3471
%doc LICENSE
bb3471
%{_bindir}/*
bb3471
bb3471
%files javadoc -f .mfiles-javadoc
bb3471
%doc LICENSE
bb3471
bb3471
%changelog
bb3471
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 0:1.9.1-1.2
bb3471
- Mass rebuild 2017-06-22
bb3471
bb3471
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 0:1.9.1-1.1
bb3471
- Automated package import and SCL-ization
bb3471
bb3471
* Wed Mar 29 2017 Michael Simacek <msimacek@redhat.com> - 0:1.9.1-1
bb3471
- Update to upstream version 1.9.1
bb3471
bb3471
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.8.3-5
bb3471
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bb3471
bb3471
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.8.3-4
bb3471
- Regenerate build-requires
bb3471
- Remove old obsoletes/provides
bb3471
bb3471
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.8.3-3
bb3471
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bb3471
bb3471
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.8.3-2
bb3471
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bb3471
bb3471
* Thu Mar 26 2015 Michael Simacek <msimacek@redhat.com> - 0:1.8.3-1
bb3471
- Update to upstream version 1.8.3
bb3471
bb3471
* Mon Nov  3 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.8.2-1
bb3471
- Update to upstream version 1.8.2
bb3471
bb3471
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.8.1-5
bb3471
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bb3471
bb3471
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.8.1-4
bb3471
- Use Requires: java-headless rebuild (#1067528)
bb3471
bb3471
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.8.1-3
bb3471
- Backport upstream patches for MODELLO-284 and MODELLO-285
bb3471
bb3471
* Mon Jan 27 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.8.1-2
bb3471
- Use Maven 3.x APIs
bb3471
bb3471
* Mon Aug 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.8.1-1
bb3471
- Update to upstream version 1.8.1
bb3471
bb3471
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.7-3
bb3471
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
bb3471
bb3471
* Fri Apr 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.7-2
bb3471
- Build with xmvn
bb3471
- Use better description
bb3471
- Simplify build-requires
bb3471
- Update to current packaging guidelines
bb3471
bb3471
* Thu Feb 21 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.7-1
bb3471
- Update to upstream version 1.7
bb3471
bb3471
* Mon Feb 18 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.6-1
bb3471
- Update to upstream version 1.6
bb3471
bb3471
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-7
bb3471
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bb3471
bb3471
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0:1.5-6
bb3471
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
bb3471
- Replace maven BuildRequires with maven-local
bb3471
bb3471
* Thu Nov 15 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.5-5
bb3471
- Add JPP depmap for maven-project to override versionless depmap
bb3471
- Add missing BR/R: maven-project
bb3471
- Remove unneeded BR: jpa_api
bb3471
bb3471
* Thu Nov 15 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.5-4
bb3471
- Fix license tag
bb3471
- Install text of Apache license
bb3471
bb3471
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-3
bb3471
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
bb3471
bb3471
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-2
bb3471
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bb3471
bb3471
* Mon Aug 8 2011 Alexander Kurtakov <akurtako@redhat.com> 0:1.5-1
bb3471
- Update to upstream 1.5.
bb3471
bb3471
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4.1-2
bb3471
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
bb3471
bb3471
* Wed Jan 26 2011 Alexander Kurtakov <akurtako@redhat.com> 0:1.4.1-1
bb3471
- Update to upstream 1.4.1.
bb3471
bb3471
* Wed Dec  1 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.4-3
bb3471
- Fix pom filenames (remove poms of integration tests) Resolves rhbz#655818
bb3471
- Use jpackage_script macro to generate script
bb3471
bb3471
* Thu Aug 26 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.4-2
bb3471
- Remove dtdparser BR/R
bb3471
bb3471
* Tue Jul 20 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.4-1
bb3471
- Update to latest upstream version
bb3471
- Re-enable javadoc generation
bb3471
- Remove old workarounds/patches
bb3471
bb3471
* Mon May 24 2010 Yong Yang <yyang@redhat.com> 1.1-2
bb3471
- Fix JPP pom name
bb3471
- Disable javadoc:javadoc due to the failure of maven-doxia
bb3471
bb3471
* Mon May 24 2010 Yong Yang <yyang@redhat.com> 1.1-1
bb3471
- Upgrade to 1.1
bb3471
bb3471
* Fri May 21 2010 Yong Yang <yyang@redhat.com> 1.0.1-1
bb3471
- Upgrade to 1.0.1
bb3471
bb3471
* Thu Aug 20 2009 Andrew Overholt <overholt@redhat.com> 1.0-0.4.a15.0.1
bb3471
- Update to alpha 15 courtesy Deepak Bhole
bb3471
bb3471
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.3.a8.4.4
bb3471
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bb3471
bb3471
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.2.a8.4.4
bb3471
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
bb3471
bb3471
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.0-0.1.a8.4.4
bb3471
- drop repotag
bb3471
bb3471
* Tue Mar 20 2007 Matt Wringe <wringe@redhat.com> 0:1.0-0.1.a8.4jpp.3
bb3471
- disable gcj support
bb3471
bb3471
* Tue Mar 13 2007 Matt Wringe <mwringe@redhat.com> 0:1.0-0.1.a8.4jpp.2
bb3471
- Change license to MIT to reflex the actual license specified in the
bb3471
  source headers.
bb3471
- fix various rpmlint issues
bb3471
bb3471
* Mon Feb 26 2007 Tania Bento <tbento@redhat.com> 0:1.0-0.1.a8.4jpp.1
bb3471
- Fixed %%Release.
bb3471
- Fixed %%License.
bb3471
- Fixed %%BuildRoot.
bb3471
- Removed %%Vendor.
bb3471
- Removed %%Distribution.
bb3471
- Defined _with_gcj_support and gcj_support.
bb3471
- Fixed instructions on how to generate the source drop.
bb3471
bb3471
* Fri Dec 01 2006 Deepak Bhole <dbhole@redhat.com> 1.0-0.a8.4jpp
bb3471
- Added an obsoletes for older versions of the plugin
bb3471
bb3471
* Thu Oct 19 2006 Deepak Bhole <dbhole@redhat.com> 1.0-0.a8.3jpp
bb3471
- Update for maven2 9jpp
bb3471
- Merge maven-plugin subpackage into the main one
bb3471
bb3471
* Mon Sep 11 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.0-0.a8.2jpp
bb3471
- Add gcj_support option
bb3471
- Add post/postun Requires for javadoc
bb3471
- Don't omit maven-plugin upload
bb3471
bb3471
* Fri Jun 23 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.0-0.a8.1jpp
bb3471
- Upgrade to 1.0-alpha-8
bb3471
- Remove ant build, add maven2 build
bb3471
bb3471
* Thu Jun 01 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.0-0.a4.2jpp
bb3471
- First JPP 1.7 build
bb3471
bb3471
* Mon Nov 07 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.0-0.a4.1jpp
bb3471
- First JPackage build