00f54a
Name: librepository
00f54a
Version: 1.1.3
00f54a
Release: 31%{?dist}
00f54a
Summary: Hierarchical repository abstraction layer
00f54a
License: LGPLv2
00f54a
#Original source: http://downloads.sourceforge.net/jfreereport/%%name}-%%{version}.zip
00f54a
#unzip, find . -name "*.jar" -exec rm {} \;
00f54a
#to simplify the licensing
00f54a
Source: %{name}-%{version}-jarsdeleted.zip
00f54a
URL: http://reporting.pentaho.org/
00f54a
BuildRequires: ant, java-devel, jpackage-utils, libbase >= 1.1.3
00f54a
Requires: java-headless, jpackage-utils, libbase >= 1.1.3
00f54a
BuildArch: noarch
00f54a
Patch0: librepository-1.1.2.build.patch
00f54a
Patch1: librepository-1.1.2.java11.patch
00f54a
Patch2: librepository-1.1.3-remove-ant-contrib-support.patch
00f54a
Patch3: librepository-1.1.3-remove-commons-logging.patch
00f54a
00f54a
%description
00f54a
LibRepository provides a simple abstraction layer to access bulk content that
00f54a
is organized in a hierarchical layer.
00f54a
00f54a
%package javadoc
00f54a
Summary: Javadoc for %{name}
00f54a
Requires: %{name} = %{version}-%{release}
00f54a
Requires: jpackage-utils
00f54a
00f54a
%description javadoc
00f54a
Javadoc for %{name}.
00f54a
00f54a
%prep
00f54a
%setup -q -c
00f54a
%patch0 -p1 -b .build
00f54a
%patch1 -p1 -b .java11
00f54a
%patch2 -p1 -b .no_antcontrib
00f54a
%patch3 -p1 -b .no_commons_logging
00f54a
00f54a
find . -name "*.jar" -exec rm -f {} \;
00f54a
mkdir -p lib
00f54a
build-jar-repository -s -p lib libbase
00f54a
00f54a
%build
00f54a
ant jar javadoc
00f54a
for file in README.txt licence-LGPL.txt ChangeLog.txt; do
00f54a
    tr -d '\r' < $file > $file.new
00f54a
    mv $file.new $file
00f54a
done
00f54a
00f54a
%install
00f54a
mkdir -p $RPM_BUILD_ROOT%{_javadir}
00f54a
cp -p ./dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
00f54a
00f54a
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
00f54a
cp -rp bin/javadoc/docs/api $RPM_BUILD_ROOT%{_javadocdir}/%{name}
00f54a
00f54a
%files
00f54a
%doc licence-LGPL.txt README.txt ChangeLog.txt
00f54a
%{_javadir}/%{name}.jar
00f54a
00f54a
%files javadoc
00f54a
%{_javadocdir}/%{name}
00f54a
00f54a
%changelog
00f54a
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.3-31
00f54a
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
00f54a
  Related: rhbz#1991688
00f54a
00f54a
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.3-30
00f54a
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
00f54a
- Related: rhbz#1951282 replace apache-commons-logging with java.util.logging
00f54a
00f54a
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-29
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
00f54a
00f54a
* Fri Jan 15 2021 Nicolas Lécureuil <neoclust@mageia.org> - 1.1.3-28
00f54a
- Remove ant-contrib support
00f54a
00f54a
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-27
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
00f54a
00f54a
* Fri Jul 17 2020 Caolán McNamara <caolanm@redhat.com> - 1.1.3-26
00f54a
- Resolves: rhbz#1858037 disable failing javadoc parts
00f54a
00f54a
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 1.1.3-25
00f54a
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
00f54a
00f54a
* Wed Jun 10 2020 Caolán McNamara <caolanm@redhat.com> - 1.1.3-24
00f54a
- allow rebuild with java 11
00f54a
00f54a
* Tue May 05 2020 Caolán McNamara <caolanm@redhat.com> - 1.1.3-23
00f54a
- allow rebuild with java 11
00f54a
00f54a
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-22
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
00f54a
00f54a
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-21
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
00f54a
00f54a
* Fri Apr 05 2019 Stephan Bergmann <sbergman@redhat.com> - 1.1.3-20
00f54a
- Use /usr/share/java instead of _javadir macro for build dependencies
00f54a
00f54a
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-19
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
00f54a
00f54a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-18
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
00f54a
00f54a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-17
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
00f54a
00f54a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-16
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
00f54a
00f54a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-15
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
00f54a
00f54a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-14
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
00f54a
00f54a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-13
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
00f54a
00f54a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-12
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
00f54a
00f54a
* Tue Feb 25 2014 Caolán McNamara <caolanm@redhat.com> - 1.1.3-11
00f54a
- Resolves: rhbz#1068365 Switch to java-headless (build)requires
00f54a
00f54a
* Wed Oct 23 2013 Caolán McNamara <caolanm@redhat.com> - 1.1.3-10
00f54a
- Resolves: rhbz#1022137 remove versioned jars
00f54a
00f54a
* Tue Aug 06 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1.1.3-9
00f54a
- Fix bogus date in %%changelog
00f54a
- ant-nodeps is dropped from ant-1.9.0-2 build in rawhide
00f54a
- Drop buildroot, %%clean, %%defattr and removal of buildroot in %%install
00f54a
00f54a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-8
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
00f54a
00f54a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-7
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
00f54a
00f54a
* Sat Nov 03 2012 Caolán McNamara <caolanm@redhat.com> - 1.1.3-6
00f54a
- repack source to remove bundled multi-license .jars
00f54a
00f54a
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-5
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
00f54a
00f54a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-4
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
00f54a
00f54a
* Fri Oct 28 2011 Caolán McNamara <caolanm@redhat.com> - 1.1.3-3
00f54a
- Related: rhbz#749103 drop gcj aot
00f54a
00f54a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
00f54a
00f54a
* Wed Dec 02 2009 Caolan McNamara <caolanm@redhat.com> 1.1.3-1
00f54a
- latest version
00f54a
00f54a
* Tue Nov 17 2009 Caolan McNamara <caolanm@redhat.com> 1.1.2-1
00f54a
- latest version
00f54a
00f54a
* Fri Jul 24 2009 Caolan McNamara <caolanm@redhat.com> 1.0.0-2.OOo31
00f54a
- make javadoc no-arch when building as arch-dependant aot
00f54a
00f54a
* Mon Mar 16 2009 Caolan McNamara <caolanm@redhat.com> 1.0.0-1.OOo31
00f54a
- Post-release tuned for OpenOffice.org
00f54a
00f54a
* Mon Mar 09 2009 Caolan McNamara <caolanm@redhat.com> 0.2.0-1
00f54a
- latest version
00f54a
00f54a
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-2
00f54a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
00f54a
00f54a
* Wed May 07 2008 Caolan McNamara <caolanm@redhat.com> 0.1.6-1
00f54a
- initial fedora import