Name: jcommon-serializer Version: 0.3.0 Release: 29%{?dist} Summary: JFree Java General Serialization Framework License: LGPLv2+ Source0: http://downloads.sourceforge.net/jfreereport/%{name}-%{version}.tar.gz URL: http://www.jfree.org/jfreereport/jcommon-serializer BuildRequires: ant, java-devel, jpackage-utils, libbase >= 1.0.0 Requires: java-headless, jpackage-utils, libbase >= 1.0.0 BuildArch: noarch Patch1: jcommon-serializer-0.3.0-depends.patch Patch2: jcommon-serializer-0.3.0-java11.patch Patch3: jcommon-serializer-0.3.0-remove-commons-logging.patch %description Jcommon-serializer is a general serialization framework used by JFreeChart, JFreeReport and other projects. %package javadoc Summary: Javadoc for %{name} Requires: %{name} = %{version}-%{release} Requires: jpackage-utils %description javadoc Javadoc for %{name}. %prep %setup -q %patch1 -p1 -b .depends %patch2 -p1 -b .java11 %patch3 -p1 -b .remove-commons-logging find . -name "*.jar" -exec rm -f {} \; build-jar-repository -s -p lib libbase %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} %files %doc ChangeLog.txt licence-LGPL.txt README.txt %{_javadir}/%{name}.jar %files javadoc %{_javadocdir}/%{name} %changelog * Thu Jan 20 2022 Fedora Release Engineering - 0.3.0-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 02 2021 Caolán McNamara - 0.3.0-28 - prep for f36 mass rebuild for java-17-openjdk * Thu Jul 29 2021 Caolán McNamara - 0.3.0-27 - Resolves: rhbz#1987597 FTBFS (Related: rhbz#1895921 replace apache-commons-logging with java.util.logging) * Thu Jul 22 2021 Fedora Release Engineering - 0.3.0-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.3.0-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.3.0-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Jiri Vanek - 0.3.0-23 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 * Tue May 05 2020 Caolán McNamara - 0.3.0-22 - allow rebuild with java 11 * Wed Jan 29 2020 Fedora Release Engineering - 0.3.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.3.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.3.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.3.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.3.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.3.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.3.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.3.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.3.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.3.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Feb 25 2014 Caolán McNamara 0.3.0-11 - Related: rhbz#1068258 Switch to java-headless (build)requires * Sat Aug 03 2013 Fedora Release Engineering - 0.3.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.3.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.3.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Oct 28 2011 Caolán McNamara 0.3.0-6 - Related: rhbz#749103 drop gcj aot * Wed Feb 09 2011 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 02 2010 Caolán McNamara 0.3.0-4 - re-build post-libserializer * Fri Jul 24 2009 Caolán McNamara 0.3.0-3 - make javadoc no-arch when building as arch-dependant aot * Mon Mar 16 2009 Caolán McNamara 0.3.0-2 - OOo tuned serializer * Mon Mar 09 2009 Caolán McNamara 0.3.0-1 - latest version * Wed Feb 25 2009 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed May 07 2008 Caolán McNamara 0.2.0-3 - reshuffle * Tue May 06 2008 Caolán McNamara 0.2.0-2 - take review notes * Sat May 03 2008 Caolán McNamara 0.2.0-1 - initial fedora import