c5a225
Name:           xmlgraphics-commons
c5a225
Version:        2.3
a9a289
Release:        4%{?dist}
c5a225
Epoch:          0
c5a225
Summary:        XML Graphics Commons
c5a225
c5a225
License:        ASL 2.0
c5a225
URL:            http://xmlgraphics.apache.org/
c5a225
Source0:        http://archive.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-%{version}-src.tar.gz
c5a225
c5a225
BuildArch:      noarch
c5a225
c5a225
BuildRequires:  maven-local
c5a225
BuildRequires:  mvn(commons-io:commons-io)
c5a225
BuildRequires:  mvn(commons-logging:commons-logging)
c5a225
BuildRequires:  mvn(junit:junit)
c5a225
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
c5a225
BuildRequires:  mvn(org.mockito:mockito-core)
c5a225
BuildRequires:  mvn(xml-resolver:xml-resolver)
c5a225
c5a225
%description
c5a225
Apache XML Graphics Commons is a library that consists of
c5a225
several reusable components used by Apache Batik and
c5a225
Apache FOP. Many of these components can easily be used
c5a225
separately outside the domains of SVG and XSL-FO. You will
c5a225
find components such as a PDF library, an RTF library,
c5a225
Graphics2D implementations that let you generate PDF &
c5a225
PostScript files, and much more.
c5a225
c5a225
%package javadoc
c5a225
Summary: Javadoc for %{name}
c5a225
c5a225
%description javadoc
c5a225
This package contains API documentation for %{name}.
c5a225
c5a225
%prep
c5a225
%setup -q %{name}-%{version}
c5a225
c5a225
find -name "*.jar" -delete
c5a225
c5a225
# Disable plugins not needed for RPM build
c5a225
%pom_remove_plugin :maven-checkstyle-plugin
c5a225
%pom_remove_plugin :findbugs-maven-plugin
c5a225
c5a225
# Make into OSGi bundle
c5a225
%pom_xpath_inject pom:project '<packaging>bundle</packaging>'
c5a225
%pom_add_plugin org.apache.felix:maven-bundle-plugin . \
c5a225
" <extensions>true</extensions>
c5a225
  <configuration>
c5a225
    <instructions>
c5a225
      <Bundle-SymbolicName>org.apache.xmlgraphics</Bundle-SymbolicName>
c5a225
    </instructions>
c5a225
  </configuration>"
c5a225
c5a225
%build
c5a225
%mvn_file : %{name}
c5a225
%mvn_build
c5a225
c5a225
%install
c5a225
%mvn_install
c5a225
c5a225
%files -f .mfiles
c5a225
%license LICENSE NOTICE
c5a225
%doc README
c5a225
c5a225
%files javadoc -f .mfiles-javadoc
c5a225
%license LICENSE NOTICE
c5a225
c5a225
%changelog
a9a289
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 0:2.3-4
a9a289
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
a9a289
19cc9d
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.3-3
19cc9d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
19cc9d
19cc9d
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.3-2
19cc9d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
19cc9d
c5a225
* Wed May 15 2019 Mat Booth <mat.booth@redhat.com> - 0:2.3-1
c5a225
- Update to latest upstream release
c5a225
c5a225
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.2-3
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c5a225
c5a225
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.2-2
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c5a225
c5a225
* Thu Apr 26 2018 Mat Booth <mat.booth@redhat.com> - 0:2.2-1
c5a225
- Update to latest release
c5a225
- Switch to maven-based build
c5a225
- Add OSGi metadata
c5a225
c5a225
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.0.1-6
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c5a225
c5a225
* Tue Jan 16 2018 Michael Simacek <msimacek@redhat.com> - 0:2.0.1-5
c5a225
- Install with XMvn
c5a225
c5a225
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.0.1-4
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c5a225
c5a225
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.0.1-3
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c5a225
c5a225
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.0.1-2
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c5a225
c5a225
* Tue Jul 14 2015 Michael Simacek <msimacek@redhat.com> - 0:2.0.1-1
c5a225
- Update to upstream version 2.0.1
c5a225
c5a225
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.0-2
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c5a225
c5a225
* Fri Jan 30 2015 RĂ¼diger Landmann <rlandmann@redhat.com> - 0:2.0-1
c5a225
- Rebase on new upstream
c5a225
c5a225
* Mon Aug  4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.5-4
c5a225
- Update to current packaging guidelines
c5a225
- Resolves: rhbz#1107290
c5a225
c5a225
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-3
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c5a225
c5a225
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-2
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c5a225
c5a225
* Tue Mar 19 2013 Mat Booth <fedora@matbooth.co.uk> - 0:1.5-1
c5a225
- Update to 1.5, rhbz #895934
c5a225
- Drop unneeded patch
c5a225
c5a225
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4-7
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c5a225
c5a225
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4-6
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c5a225
c5a225
* Tue Mar 06 2012 Deepak Bhole <dbhole@redhat.com> 1.4-5
c5a225
- Added dist to the release tag
c5a225
c5a225
* Thu Mar 01 2012 Jiri Vanek <jvanek@redhat.com> - 0:1.4-5
c5a225
- Resolves: rhbz#796341
c5a225
- Added xmlgraphics-commons-java-7-fix.patch to fix build with Java 7
c5a225
c5a225
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4-4
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c5a225
c5a225
* Tue May  3 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.4-3
c5a225
- Install maven metadata
c5a225
- Versionless jars & javadocs
c5a225
- Fixes according to new guidelines
c5a225
c5a225
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4-2
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c5a225
c5a225
* Fri Oct 1 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.4-1
c5a225
- Updte to 1.4.
c5a225
c5a225
* Sat Jan 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.3.1-1
c5a225
- Update to 1.3.1.
c5a225
- Fix Source0 url.
c5a225
c5a225
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3-3
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c5a225
c5a225
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3-2
c5a225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c5a225
c5a225
* Wed Apr 02 2008 Lillian Angel <langel at redhat.com> - 0:1.3-1
c5a225
- Added java-1.6.0-openjdk-devel as build requirement.
c5a225
c5a225
* Mon Mar 31 2008 Lillian Angel <langel at redhat.com> - 0:1.3-1
c5a225
- Updated sources to 1.3.
c5a225
c5a225
* Fri Nov 23 2007 Lillian Angel <langel at redhat.com> - 0:1.2-1
c5a225
- Added epoch.
c5a225
c5a225
* Fri Nov 23 2007 Lillian Angel <langel at redhat.com> - 0:1.2-1
c5a225
- Added missing BuildRoot line.
c5a225
c5a225
* Fri Nov 23 2007 Lillian Angel <langel at redhat.com> - 0:1.2-1
c5a225
- Fixed install section.
c5a225
c5a225
* Fri Nov 23 2007 Lillian Angel <langel at redhat.com> - 0:1.2-1
c5a225
- Fixed rpmlint errors.
c5a225
c5a225
* Tue Sep 18 2007 Joshua Sumali <jsumali at redhat.com> - 0:1.2-1jpp
c5a225
- Update to 1.2
c5a225
c5a225
* Tue May 23 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.0-1jpp
a9a289
- First JPP-1.7 release