Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12:Update
xmlgraphics-commons
xmlgraphics-commons.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xmlgraphics-commons.spec of Package xmlgraphics-commons
# # spec file for package xmlgraphics-commons # # Copyright (c) 2013 SUSE LINUX Products 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define section free Name: xmlgraphics-commons Version: 1.5 Release: 0 Summary: XML Graphics Commons License: Apache-2.0 Group: Development/Libraries/Java Url: http://xmlgraphics.apache.org/ Source0: http://www.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-%{version}-src.tar.gz Source1: http://www.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-%{version}-src.tar.gz.asc Source2: xmlgraphics-commons.keyring 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: gpg-offline BuildRequires: gpg2 BuildRequires: java-devel >= 1.5.0 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 %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 & PostScript files, and much more. %package javadoc Summary: Javadoc for %{name} Group: Documentation/HTML %description javadoc %{summary}. %prep %gpg_verify %{SOURCE1} %setup -q %{name}-%{version} %patch0 -p0 find . -name "*.jar" | xargs rm %build export CLASSPATH= export OPT_JAR_LIST="ant/ant-junit junit" pushd lib ln -sf $(build-classpath commons-io) . ln -sf $(build-classpath commons-logging) . popd ant package javadocs maven-artifacts %install install -Dpm 644 build/%{name}-%{version}.jar \ %{buildroot}%{_javadir}/%{name}.jar # # pom install -d -m 755 %{buildroot}%{_mavenpomdir} install -pm 644 build/maven/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom %add_maven_depmap install -dm 755 %{buildroot}%{_javadocdir}/%{name} cp -pr build/javadocs/* %{buildroot}%{_javadocdir}/%{name} # install -dm 755 %{buildroot}%{_docdir}/%{name} %files %defattr(0644,root,root,0755) %doc LICENSE %{_javadir}/%{name}.jar %{_mavenpomdir}/* %{_mavendepmapfragdir}/* %files javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor