48864c
Name: libbase
48864c
Version: 1.1.3
48864c
Release: 18%{?dist}
48864c
Summary: JFree Base Services
48864c
License: LGPLv2
48864c
Group: System Environment/Libraries
48864c
#Original source: http://downloads.sourceforge.net/jfreereport/%%{name}-%%{version}.zip
48864c
#unzip, find . -name "*.jar" -exec rm {} \;
48864c
#to simplify the licensing
48864c
Source: %{name}-%{version}-jarsdeleted.zip
48864c
URL: http://reporting.pentaho.org/
48864c
BuildRequires: ant, ant-contrib, java-devel, jpackage-utils, apache-commons-logging
48864c
Requires: java-headless, jpackage-utils, apache-commons-logging
48864c
BuildArch: noarch
48864c
48864c
Patch0: libbase-1.1.2.build.patch
48864c
48864c
%description
48864c
LibBase is a library developed to provide base services like logging,
48864c
configuration and initialization to other libraries and applications. The
48864c
library is the root library for all Pentaho-Reporting projects.
48864c
48864c
%package javadoc
48864c
Summary: Javadoc for %{name}
48864c
Group: Documentation
48864c
Requires: %{name} = %{version}-%{release}
48864c
Requires: jpackage-utils
48864c
48864c
%description javadoc
48864c
Javadoc for %{name}.
48864c
48864c
%prep
48864c
%setup -q -c
48864c
%patch0 -p1 -b .build
48864c
mkdir -p lib
48864c
find . -name "*.jar" -exec rm -f {} \;
48864c
build-jar-repository -s -p lib commons-logging-api
48864c
cd lib
48864c
ln -s %{_javadir}/ant ant-contrib 
48864c
48864c
%build
48864c
ant jar javadoc
48864c
48864c
%install
48864c
mkdir -p $RPM_BUILD_ROOT%{_javadir}
48864c
cp -p ./dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
48864c
48864c
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
48864c
cp -rp bin/javadoc/docs/api $RPM_BUILD_ROOT%{_javadocdir}/%{name}
48864c
48864c
%files
48864c
%doc ChangeLog.txt licence-LGPL.txt README.txt
48864c
%{_javadir}/%{name}.jar
48864c
48864c
%files javadoc
48864c
%{_javadocdir}/%{name}
48864c
48864c
%changelog
48864c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-18
48864c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
48864c
48864c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-17
48864c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
48864c
48864c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-16
48864c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
48864c
48864c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-15
48864c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
48864c
48864c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-14
48864c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
48864c
48864c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-13
48864c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
48864c
48864c
* Tue Feb 25 2014 Caolán McNamara <caolanm@redhat.com> - 1.1.3-12
48864c
- Resolves: rhbz#1068349 Switch to java-headless (build)requires
48864c
48864c
* Wed Oct 23 2013 Caolán McNamara <caolanm@redhat.com> - 1.1.3-11
48864c
- Resolves: rhbz#1022130 remove versioned jars
48864c
48864c
* Tue Aug 06 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1.1.3-10
48864c
- Fix bogus date in %%changelog
48864c
- ant-nodeps is dropped from ant-1.9.0-2 build in rawhide
48864c
- Drop buildroot, %%clean, %%defattr and removal of buildroot in %%install
48864c
48864c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-9
48864c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
48864c
48864c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-8
48864c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
48864c
48864c
* Sat Nov 03 2012 Caolán McNamara <caolanm@redhat.com> - 1.1.3-7
48864c
- repack source to remove bundled multi-license .jars
48864c
48864c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-6
48864c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
48864c
48864c
* Thu May 03 2012 Caolán McNamara <caolanm@redhat.com> - 1.1.3-5
48864c
- Resolves: rhbz#818487 adapt to jakarta->apache
48864c
48864c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-4
48864c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
48864c
48864c
* Fri Oct 28 2011 Caolán McNamara <caolanm@redhat.com> - 1.1.3-3
48864c
- Related: rhbz#749103 drop gcj aot
48864c
48864c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
48864c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
48864c
48864c
* Thu Dec 03 2009 Caolan McNamara <caolanm@redhat.com> 1.1.3-1
48864c
- latest version
48864c
48864c
* Tue Nov 17 2009 Caolan McNamara <caolanm@redhat.com> 1.1.2-1
48864c
- latest version
48864c
48864c
* Fri Jul 24 2009 Caolan McNamara <caolanm@redhat.com> 1.0.0-3.OOo31
48864c
- make javadoc no-arch when building as arch-dependant aot
48864c
48864c
* Mon Mar 16 2009 Caolan McNamara <caolanm@redhat.com> 1.0.0-2.OOo31
48864c
- Post released tuned for OpenOffice.org reportbuilder
48864c
48864c
* Wed Dec 03 2008 Caolan McNamara <caolanm@redhat.com> 1.0.0-1
48864c
- initial fedora import