Accepting request 496751 from home:vsistek:branches:Java:packages

- Add BuildRequires: javapackages-local (for maven conversions)

OBS-URL: https://build.opensuse.org/request/show/496751
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-commons?expand=0&rev=28
This commit is contained in:
Tomáš Chvátal 2017-05-19 12:31:53 +00:00 committed by Git OBS Bridge
parent 7e4b5cf5cb
commit 5c46c60e31
2 changed files with 16 additions and 14 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 19 11:03:58 UTC 2017 - vsistek@suse.com
- Add BuildRequires: javapackages-local (for maven conversions)
-------------------------------------------------------------------
Mon Mar 20 15:20:21 UTC 2017 - sknorr@suse.com

View File

@ -3,7 +3,6 @@
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2008, JPackage Project
# All rights reserved.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,8 +17,6 @@
#
%define section free
Name: xmlgraphics-commons
Version: 2.1
Release: 0
@ -29,28 +26,28 @@ Group: Development/Libraries/Java
Url: http://xmlgraphics.apache.org/
Source0: http://www.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-%{version}-src.tar.gz
Patch0: xmlgraphics-commons-build_xml.patch
BuildArch: noarch
BuildRequires: ant >= 1.6.5
BuildRequires: ant-junit
BuildRequires: apache-commons-io >= 1.1
BuildRequires: apache-commons-logging
BuildRequires: gpg2
# Needed for maven conversions
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: junit
BuildRequires: xmlgraphics-batik
Requires: jakarta-commons-io >= 1.1
Requires: jakarta-commons-logging
Requires(post): javapackages-tools
Requires(postun): javapackages-tools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Apache XML Graphics Commons is a library that consists of
several reusable components used by Apache Batik and
Apache FOP. Many of these components can easily be used
separately outside the domains of SVG and XSL-FO. You will
find components such as a PDF library, an RTF library,
Graphics2D implementations that let you generate PDF &
Apache XML Graphics Commons is a library that consists of
several reusable components used by Apache Batik and
Apache FOP. Many of these components can easily be used
separately outside the domains of SVG and XSL-FO. You will
find components such as a PDF library, an RTF library,
Graphics2D implementations that let you generate PDF &
PostScript files, and much more.
%package javadoc
@ -63,7 +60,7 @@ Group: Documentation/HTML
%prep
%setup -q %{name}-%{version}
%patch0 -p0
%patch0
find . -name "*.jar" | xargs rm
%build
@ -95,7 +92,7 @@ install -dm 755 %{buildroot}%{_docdir}/%{name}
%doc LICENSE
%{_javadir}/%{name}.jar
%{_mavenpomdir}/*
%if %suse_version >= 1330
%if 0%{?suse_version} >= 1330
%{_datadir}/maven-metadata/%{name}.xml*
%else
%{_mavendepmapfragdir}/%{name}