parent
ca702677e8
commit
727b747041
@ -0,0 +1 @@
|
|||||||
|
pentaho-reporting-flow-engine-0.9.3.tar.gz
|
@ -0,0 +1 @@
|
|||||||
|
pentaho-reporting-flow-engine-0_9_3-2_fc9:HEAD:pentaho-reporting-flow-engine-0.9.3-2.fc9.src.rpm:1220647135
|
@ -0,0 +1,40 @@
|
|||||||
|
--- pentaho-reporting-flow-engine-0.9.3.orig/build.properties 2008-05-07 17:15:09.000000000 +0100
|
||||||
|
+++ pentaho-reporting-flow-engine-0.9.3/build.properties 2008-05-07 17:15:02.000000000 +0100
|
||||||
|
@@ -40,17 +40,17 @@
|
||||||
|
# Used libraries ...
|
||||||
|
|
||||||
|
# Used by: core libraries
|
||||||
|
-jcommon-jar-file=jcommon-1.0.10.jar
|
||||||
|
-jcommon-serializer-jar-file=jcommon-serializer-0.1.0.jar
|
||||||
|
-libfonts-jar-file=libfonts-0.3.3.jar
|
||||||
|
-libfonts-core-jar-file=libfonts-0.3.3.jar
|
||||||
|
-libfonts-itext-jar-file=libfonts-0.3.3.jar
|
||||||
|
-liblayout-jar-file=liblayout-0.2.9.jar
|
||||||
|
-libloader-jar-file=libloader-0.3.6.jar
|
||||||
|
-libxml-jar-file=libxml-0.9.9.jar
|
||||||
|
-libformula-jar-file=libformula-0.1.14.jar
|
||||||
|
-librepository-jar-file=librepository-0.1.4.jar
|
||||||
|
-flute-jar-file=flute-1.3-jfree-20061107.jar
|
||||||
|
+jcommon-jar-file=jcommon.jar
|
||||||
|
+jcommon-serializer-jar-file=jcommon-serializer.jar
|
||||||
|
+libfonts-jar-file=libfonts.jar
|
||||||
|
+libfonts-core-jar-file=libfonts.jar
|
||||||
|
+libfonts-itext-jar-file=libfonts.jar
|
||||||
|
+liblayout-jar-file=liblayout.jar
|
||||||
|
+libloader-jar-file=libloader.jar
|
||||||
|
+libxml-jar-file=libxml.jar
|
||||||
|
+libformula-jar-file=libformula.jar
|
||||||
|
+librepository-jar-file=librepository.jar
|
||||||
|
+flute-jar-file=flute.jar
|
||||||
|
|
||||||
|
#
|
||||||
|
# Optional libraries
|
||||||
|
@@ -59,7 +59,7 @@
|
||||||
|
oscache-jar-file=optional/oscache-2.3-compat.jar
|
||||||
|
|
||||||
|
# Used by: module-parser
|
||||||
|
-jaxp-jar-file=gnujaxp.jar
|
||||||
|
+jaxp-jar-file=jaxp.jar
|
||||||
|
sac-jar-file=sac.jar
|
||||||
|
|
||||||
|
# Used by: output-pdf
|
@ -0,0 +1,99 @@
|
|||||||
|
# Use rpmbuild --without gcj to disable native bits
|
||||||
|
%define with_gcj %{!?_without_gcj:1}%{?_without_gcj:0}
|
||||||
|
|
||||||
|
Name: pentaho-reporting-flow-engine
|
||||||
|
Version: 0.9.3
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Pentaho Flow Reporting Engine
|
||||||
|
License: LGPLv2+
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Source: http://downloads.sourceforge.net/jfreereport/%{name}-%{version}.tar.gz
|
||||||
|
URL: http://reporting.pentaho.org/
|
||||||
|
BuildRequires: ant, java-devel, jpackage-utils, jcommon, jcommon-serializer
|
||||||
|
BuildRequires: libloader, libfonts, pentaho-libxml, xml-commons-apis
|
||||||
|
BuildRequires: librepository, sac, flute, liblayout, libformula
|
||||||
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
Requires: java, jpackage-utils, jcommon, jcommon-serializer, libfonts >= 0.3.4
|
||||||
|
Requires: pentaho-libxml, libformula >= 0.1.18, librepository >= 0.1.6
|
||||||
|
Requires: sac, flute, liblayout >= 0.2.9
|
||||||
|
%if %{with_gcj}
|
||||||
|
BuildRequires: java-gcj-compat-devel >= 1.0.31
|
||||||
|
Requires(post): java-gcj-compat >= 1.0.31
|
||||||
|
Requires(postun): java-gcj-compat >= 1.0.31
|
||||||
|
%else
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
Patch1: pentaho-reporting-flow-engine-0.9.3-depends.patch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Pentaho Reporting Flow Engine is a free Java report library, formerly
|
||||||
|
known as 'JFreeReport'
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
Group: Development/Documentation
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: jpackage-utils
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
Javadoc for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch1 -p1 -b .depends
|
||||||
|
find . -name "*.jar" -exec rm -f {} \;
|
||||||
|
build-jar-repository -s -p lib jcommon jcommon-serializer libloader libfonts \
|
||||||
|
libxml jaxp libformula librepository sac flute liblayout
|
||||||
|
|
||||||
|
%build
|
||||||
|
ant compile javadoc
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
||||||
|
cp -p %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||||
|
cp -rp javadoc $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||||
|
%if %{with_gcj}
|
||||||
|
%{_bindir}/aot-compile-rpm
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post
|
||||||
|
%if %{with_gcj}
|
||||||
|
if [ -x %{_bindir}/rebuild-gcj-db ]
|
||||||
|
then
|
||||||
|
%{_bindir}/rebuild-gcj-db
|
||||||
|
fi
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%if %{with_gcj}
|
||||||
|
if [ -x %{_bindir}/rebuild-gcj-db ]
|
||||||
|
then
|
||||||
|
%{_bindir}/rebuild-gcj-db
|
||||||
|
fi
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%doc licence-LGPL.txt README.txt ChangeLog.txt
|
||||||
|
%{_javadir}/*.jar
|
||||||
|
%if %{with_gcj}
|
||||||
|
%attr(-,root,root) %{_libdir}/gcj/%{name}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files javadoc
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Sep 05 2008 Caolan McNamara <caolanm@redhat.com> 0.9.3-2
|
||||||
|
- wrong liblayout version required
|
||||||
|
|
||||||
|
* Wed May 07 2008 Caolan McNamara <caolanm@redhat.com> 0.9.3-1
|
||||||
|
- initial fedora import
|
Loading…
Reference in new issue