SPECS: xmlgraphics-commons.spec (NEW) - new, source from svn branc...

radek radek at pld-linux.org
Wed May 24 21:24:18 CEST 2006


Author: radek                        Date: Wed May 24 19:24:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, source from svn branch 1.0

---- Files affected:
SPECS:
   xmlgraphics-commons.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/xmlgraphics-commons.spec
diff -u /dev/null SPECS/xmlgraphics-commons.spec:1.1
--- /dev/null	Wed May 24 21:24:18 2006
+++ SPECS/xmlgraphics-commons.spec	Wed May 24 21:24:11 2006
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+Summary:	Apache XML Graphics Commons
+Summary(pl):	Apache XML Graphics Commons
+Name:		xmlgraphics-commons
+Version:	1.0
+Release:	1
+License:	Apache v2.0
+Group:		Libraries
+# http://svn.apache.org/repos/asf/xmlgraphics/commons/branches/commons-1_0/
+Source0:	%{name}-%{version}-svn.tar.bz2
+# Source0-md5:	c9b1e2a23cb164a4255ecff1941dc0aa
+URL:		http://xmlgraphics.apache.org/commons/
+BuildRequires:	ant >= 1.5
+BuildRequires:	jpackage-utils
+#BuildRequires:	junit
+BuildRequires:	rpmbuild(macros) >= 1.300
+# disable internal-codecs in build.properities for compatibility with other jre's
+Requires:	java-sun-jre
+BuildArch:	noarch
+ExclusiveArch:	i586 i686 pentium3 pentium4 athlon %{x8664} noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+#%description -l pl
+
+%prep
+%setup -q -n %{name}
+
+%build
+#required_jars='junit'
+#export CLASSPATH="$CLASSPATH:`/usr/bin/build-classpath $required_jars`"
+export JAVAC=%{javac}
+export JAVA=%{java}
+
+%{ant}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_javadir}
+
+install lib/commons-io-1.1.jar $RPM_BUILD_ROOT%{_javadir}
+ln -s       commons-io-1.1.jar $RPM_BUILD_ROOT%{_javadir}/commons-io.jar
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README lib/README* examples
+%{_javadir}/*.jar
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/05/24 19:24:11  radek
+- new, source from svn branch 1.0
+
================================================================


More information about the pld-cvs-commit mailing list