%global oname jxl Name: jexcelapi Version: 2.6.12 Release: 18%{?dist} Summary: A Java API to read, write and modify Excel spreadsheets License: LGPLv3 URL: http://www.andykhan.com/jexcelapi Source0: http://www.andykhan.com/jexcelapi/jexcelapi_2_6_12.tar.gz Source1: http://repo1.maven.org/maven2/net/sourceforge/jexcelapi/jxl/2.6.12/jxl-2.6.12.pom Patch0: jexcelapi-build.patch Requires: log4j12 Requires: jpackage-utils BuildRequires: jpackage-utils >= 0:1.7.3 BuildRequires: java-devel >= 0:1.5.0 BuildRequires: javapackages-local BuildRequires: ant BuildRequires: jflex BuildRequires: findutils BuildRequires: sed BuildRequires: log4j12 BuildArch: noarch %description Jexcelapi allows Java developers to read Excel spreadsheets and generate Excel spreadsheets dynamically. In addition, it contains a mechanism which allows Java applications to read a spreadsheet, modify some cells and write the modified spreadsheet. Thanks to jexcelapi non Windows operating systems can run pure Java applications which process and deliver Excel spreadsheets. Because it is Java, this API may be invoked from within a servlet, thus giving access to Excel functionality over internet and intranet web applications. Features: - Reads data from Excel 95, 97, 2000 workbooks - Reads and writes formulas (Excel 97 and later only) - Generates spreadsheets in Excel 97 format - Supports font, number and date formatting - Supports shading and coloring of cells - Modifies existing worksheets %package javadoc Summary: API documentation for %{name} %description javadoc API documentation for %{name}. %prep %setup -n %{name} -q # Clean up binary leftovers find . -name "*.jar" -exec rm -f {} \; find . -name "*.class" -exec rm -f {} \; # Clean up temp files (confuses javadoc 1.3.1) find . -name ".#*" -exec rm -f {} \; %patch0 -p1 -b .build sed -i "s|%{_javadir}/jflex.jar|%{_javadir}/jflex/jflex.jar|" build/build.xml %build pushd build cat > build.properties < - 2.6.12-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 2.6.12-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.6.12-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 2.6.12-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 29 2018 Merlin Mathesius - 2.6.12-14 - Add missing BuildRequires to fix FTBFS * Wed Jul 26 2017 Fedora Release Engineering - 2.6.12-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.6.12-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 2.6.12-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 2.6.12-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 2.6.12-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 28 2014 Michael Simacek - 2.6.12-8 - Use Requires: java-headless rebuild (#1067528) * Sat Aug 03 2013 Fedora Release Engineering - 2.6.12-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 2.6.12-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Oct 21 2012 Mat Booth - 2.6.12-5 - Remove unneeded build requirement on jlex. * Thu Jul 19 2012 Fedora Release Engineering - 2.6.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Mar 1 2012 Andy Grimm - 2.6.12-3 - add jpackage-utils requirement for javadoc subpackage * Thu Feb 16 2012 Andy Grimm - 2.6.12-2 - bug fixes * Thu Feb 16 2012 Andy Grimm - 2.6.12-1 - Initial package