c1f1bd
Name: pentaho-reporting-flow-engine
c1f1bd
Version: 0.9.4
c1f1bd
Release: 15%{?dist}
c1f1bd
Summary: Pentaho Flow Reporting Engine
c1f1bd
License: LGPLv2+
c1f1bd
Epoch: 1
c1f1bd
Group: System Environment/Libraries
c1f1bd
Source: http://downloads.sourceforge.net/jfreereport/flow-engine-%{version}.zip
c1f1bd
URL: http://reporting.pentaho.org/
c1f1bd
BuildRequires: ant, java-devel, jpackage-utils, libbase, libserializer
c1f1bd
BuildRequires: libloader, libfonts, pentaho-libxml, xml-commons-apis
c1f1bd
BuildRequires: librepository, sac, flute, liblayout, libformula
c1f1bd
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c1f1bd
Requires: java-headless, jpackage-utils, libbase >= 1.1.3, libfonts >= 1.1.3
c1f1bd
Requires: pentaho-libxml, libformula >= 1.1.3, librepository >= 1.1.3
c1f1bd
Requires: sac, flute, liblayout >= 0.2.10, libserializer
c1f1bd
BuildArch: noarch
c1f1bd
c1f1bd
%description
c1f1bd
Pentaho Reporting Flow Engine is a free Java report library, formerly
c1f1bd
known as 'JFreeReport'
c1f1bd
c1f1bd
%package javadoc
c1f1bd
Summary: Javadoc for %{name}
c1f1bd
Group: Development/Documentation
c1f1bd
Requires: %{name} = 1:%{version}-%{release}
c1f1bd
Requires: jpackage-utils
c1f1bd
c1f1bd
%description javadoc
c1f1bd
Javadoc for %{name}.
c1f1bd
c1f1bd
%prep
c1f1bd
%setup -q -c
c1f1bd
mkdir -p lib
c1f1bd
find . -name "*.jar" -exec rm -f {} \;
c1f1bd
build-jar-repository -s -p lib commons-logging-api libbase libloader \
c1f1bd
    libfonts libxml jaxp libformula librepository sac flute liblayout \
c1f1bd
    libserializer
c1f1bd
c1f1bd
%build
c1f1bd
ant jar javadoc
c1f1bd
c1f1bd
%install
c1f1bd
rm -rf $RPM_BUILD_ROOT
c1f1bd
c1f1bd
mkdir -p $RPM_BUILD_ROOT%{_javadir}
c1f1bd
cp -p build/lib/flow-engine.jar $RPM_BUILD_ROOT%{_javadir}/flow-engine.jar
c1f1bd
c1f1bd
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
c1f1bd
cp -rp build/api $RPM_BUILD_ROOT%{_javadocdir}/%{name}
c1f1bd
c1f1bd
%clean
c1f1bd
rm -rf $RPM_BUILD_ROOT
c1f1bd
c1f1bd
%files
c1f1bd
%defattr(0644,root,root,0755)
c1f1bd
%doc licence-LGPL.txt README.txt ChangeLog.txt
c1f1bd
%{_javadir}/*.jar
c1f1bd
c1f1bd
%files javadoc
c1f1bd
%defattr(0644,root,root,0755)
c1f1bd
%{_javadocdir}/%{name}
c1f1bd
c1f1bd
%changelog
c1f1bd
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.4-15
c1f1bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c1f1bd
c1f1bd
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.4-14
c1f1bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c1f1bd
c1f1bd
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.4-13
c1f1bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c1f1bd
c1f1bd
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.4-12
c1f1bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c1f1bd
c1f1bd
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.4-11
c1f1bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c1f1bd
c1f1bd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.4-10
c1f1bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c1f1bd
c1f1bd
* Tue Feb 25 2014 Caolán McNamara <caolanm@redhat.com> 1:0.9.4-9
c1f1bd
- Resolves: rhbz#1068477 Switch to java-headless (build)requires
c1f1bd
c1f1bd
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.4-8
c1f1bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c1f1bd
c1f1bd
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.4-7
c1f1bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c1f1bd
c1f1bd
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.4-6
c1f1bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c1f1bd
c1f1bd
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.4-5
c1f1bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c1f1bd
c1f1bd
* Fri Oct 28 2011 Caolán McNamara <caolanm@redhat.com> 1:0.9.4-4
c1f1bd
- Related: rhbz#749103 drop gcj aot
c1f1bd
c1f1bd
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.4-3
c1f1bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c1f1bd
c1f1bd
* Fri Jul 02 2010 Caolán McNamara <caolanm@redhat.com> 0.9.4-2
c1f1bd
- rebuild against libserializer
c1f1bd
c1f1bd
* Thu Dec 03 2009 Caolán McNamara <caolanm@redhat.com> 0.9.4-1
c1f1bd
- latest version
c1f1bd
c1f1bd
* Fri Jul 24 2009 Caolán McNamara <caolanm@redhat.com> 0.9.2-5.OOo31
c1f1bd
- make javadoc no-arch when building as arch-dependant aot
c1f1bd
c1f1bd
* Sun Mar 29 2009 Caolán McNamara <caolanm@redhat.com> 0.9.2-4.OOo31
c1f1bd
- wrong num
c1f1bd
c1f1bd
* Sat Mar 28 2009 Caolán McNamara <caolanm@redhat.com> 0.9.2-3.OOo31
c1f1bd
- tweak version
c1f1bd
c1f1bd
* Mon Mar 16 2009 Caolán McNamara <caolanm@redhat.com> 0.9.2-1
c1f1bd
- OOo tuned version
c1f1bd
c1f1bd
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-3
c1f1bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c1f1bd
c1f1bd
* Fri Sep 05 2008 Caolán McNamara <caolanm@redhat.com> 0.9.3-2
c1f1bd
- wrong liblayout version required
c1f1bd
c1f1bd
* Wed May 07 2008 Caolán McNamara <caolanm@redhat.com> 0.9.3-1
c1f1bd
- initial fedora import