Name: libserializer Version: 1.1.2 Release: 42%{?dist} Summary: JFreeReport General Serialization Framework License: LGPL-2.1-or-later #Original source: http://downloads.sourceforge.net/jfreereport/libserializer-%%{version}.zip #unzip, find . -name "*.jar" -exec rm {} \; #to simplify the licensing Source: libserializer-%{version}-jarsdeleted.zip URL: http://reporting.pentaho.org BuildRequires: ant, java-devel, jpackage-utils, libbase >= 1.1.2 Requires: java-headless, jpackage-utils, libbase >= 1.1.2 BuildArch: noarch ExclusiveArch: %{java_arches} noarch Patch0: libserializer-1.1.2.build.patch Patch1: libserializer-1.1.2.java11.patch Patch2: libserializer-1.1.2-remove-antcontrib-support.patch Patch3: libserializer-1.1.2-remove-commons-logging.patch %description Libserializer contains a general serialization framework that simplifies the task of writing custom java serialization handlers. %package javadoc Summary: Javadoc for %{name} Requires: %{name} = %{version}-%{release} Requires: jpackage-utils %description javadoc Javadoc for %{name}. %prep %setup -q -c %patch0 -p1 -b .build %patch1 -p1 -b .java11 %patch2 -p1 -b .no_antcontrib %patch3 -p1 -b .no_commons_logging export JAVA_HOME=/usr/lib/jvm/java-21-openjdk find . -name "*.jar" -exec rm -f {} \; mkdir -p lib build-jar-repository -s -p lib libbase %build export JAVA_HOME=/usr/lib/jvm/java-21-openjdk ant jar javadoc %install mkdir -p $RPM_BUILD_ROOT%{_javadir} cp -p dist/libserializer-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name} cp -rp bin/javadoc/docs/api $RPM_BUILD_ROOT%{_javadocdir}/%{name} %files %doc ChangeLog.txt licence-LGPL.txt README.txt %{_javadir}/%{name}.jar %files javadoc %{_javadocdir}/%{name} %changelog * Sat Mar 02 2024 Jiri Vanek - 1.1.2-42 - Rebuilt for java-21-openjdk as system jdk * Thu Jan 25 2024 Fedora Release Engineering - 1.1.2-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.1.2-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.1.2-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Gwyn Ciesla - 1.1.2-38 - Bump EVR * Thu Feb 23 2023 Caolán McNamara - 1.1.3-37 - migrated to SPDX licensemigrated to SPDX license * Thu Jan 19 2023 Fedora Release Engineering - 1.1.2-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.1.2-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 08 2022 Jiri Vanek - 1.1.2-34 - Rebuilt for Drop i686 JDKs * Sat Feb 05 2022 Jiri Vanek - 1.1.2-33 - Rebuilt for java-17-openjdk as system jdk * Thu Jan 20 2022 Fedora Release Engineering - 1.1.2-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 02 2021 Caolán McNamara - 1.1.3-31 - prep for f36 mass rebuild for java-17-openjdk * Thu Jul 22 2021 Fedora Release Engineering - 1.1.2-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Apr 07 2021 Caolán McNamara - 1.1.2-29 - Related: rhbz#1895921 replace apache-commons-logging with java.util.logging * Tue Jan 26 2021 Fedora Release Engineering - 1.1.2-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 15 2021 Nicolas Lécureuil - 1.1.2-27 - Remove ant-contrib support * Tue Jul 28 2020 Fedora Release Engineering - 1.1.2-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jul 11 2020 Jiri Vanek - 1.1.2-25 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 * Tue May 05 2020 Caolán McNamara - 1.1.2-24 - allow rebuild with java 11 * Wed Jan 29 2020 Fedora Release Engineering - 1.1.2-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.1.2-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Apr 04 2019 Stephan Bergmann - 1.1.3-21 - Use /usr/share/java instead of _javadir macro for build dependencies * Fri Feb 01 2019 Fedora Release Engineering - 1.1.2-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.1.2-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.1.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.1.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.1.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.1.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.1.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.1.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Feb 25 2014 Caolán McNamara - 1.1.2-12 - Resolves: rhbz#1068367 Switch to java-headless (build)requires * Wed Oct 23 2013 Caolán McNamara - 1.1.2-11 - Resolves: rhbz#1022138 remove versioned jars * Tue Aug 06 2013 Parag Nemade - 1.1.2-10 - ant-nodeps is dropped from ant-1.9.0-2 build in rawhide - Drop buildroot, %%clean, %%defattr and removal of buildroot in %%install * Sat Aug 03 2013 Fedora Release Engineering - 1.1.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.1.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Nov 02 2012 Caolán McNamara - 1.1.2-7 - repack source to remove bundled multi-license .jars * Thu Jul 19 2012 Fedora Release Engineering - 1.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Oct 28 2011 Caolán McNamara - 1.1.2-4 - Related: rhbz#749103 drop gcj aot * Tue Feb 08 2011 Fedora Release Engineering - 1.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Jul 01 2010 Caolán McNamara 1.1.2-2 - fix up source-code download foo * Fri Nov 20 2009 Caolán McNamara 1.1.2-1 - initial fedora import