diff --git a/jexcelapi-build.patch b/jexcelapi-build.patch new file mode 100644 index 0000000000000000000000000000000000000000..1f06cea9451aa9223444a4662a7e588c6a5d7412 --- /dev/null +++ b/jexcelapi-build.patch @@ -0,0 +1,36 @@ +--- jexcelapi.orig/build/build.xml 2009-05-26 10:50:16.000000000 -0400 ++++ jexcelapi/build/build.xml 2012-02-16 04:48:00.912442786 -0500 +@@ -29,7 +29,7 @@ + + + +- ++ + + + +@@ -39,7 +39,7 @@ + + + +- ++ + + + +@@ -54,6 +54,7 @@ + + +@@ -84,6 +85,7 @@ + + + diff --git a/jexcelapi.spec b/jexcelapi.spec new file mode 100644 index 0000000000000000000000000000000000000000..63305f7e463bc4b4a284babaaaa31d8e1e7ee633 --- /dev/null +++ b/jexcelapi.spec @@ -0,0 +1,78 @@ +%global oname jxl +Name: jexcelapi +Version: 2.6.12 +Release: 1 +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 jpackage-utils +BuildRequires: jpackage-utils >= 0:1.7.3 java-devel >= 0:1.5.0 javapackages-local ant jflex +BuildRequires: findutils sed 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 +find . -name "*.jar" -exec rm -f {} \; +find . -name "*.class" -exec rm -f {} \; +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-1 +- Package init diff --git a/jexcelapi.yaml b/jexcelapi.yaml new file mode 100644 index 0000000000000000000000000000000000000000..00bbaf050db91e87f0ad529e5c29027a1bf150ae --- /dev/null +++ b/jexcelapi.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/jexcelapi_2_6_12.tar.gz b/jexcelapi_2_6_12.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..fa99fd919b6dae0195cfc75f31e540a2746fe71a Binary files /dev/null and b/jexcelapi_2_6_12.tar.gz differ diff --git a/jxl-2.6.12.pom b/jxl-2.6.12.pom new file mode 100644 index 0000000000000000000000000000000000000000..b5abd3ec2241f646c9bdd7881b371bdc26026970 --- /dev/null +++ b/jxl-2.6.12.pom @@ -0,0 +1,43 @@ + + 4.0.0 + net.sourceforge.jexcelapi + jxl + jar + 2.6.12 + jxl + http://www.jexcelapi.org + JExcelApi is a java library which provides the ability to read, write, and modify Microsoft Excel spreadsheets. + + + GNU Lesser General Public License + http://www.opensource.org/licenses/lgpl-license.php + repo + + + + scm:cvs:pserver:anonymous@jexcelapi.cvs.sourceforge.net:/cvsroot/jexcelapi:jexcelapi + scm:cvs:ext:developername@jexcelapi.cvs.sourceforge.net:/cvsroot/jexcelapi:jexcelapi + http://jexcelapi.cvs.sourceforge.net/jexcelapi/ + + + + andyk + Andy Khan + http://www.andykhan.com/ + + + + + junit + junit + 3.8.1 + test + + + log4j + log4j + 1.2.14 + + +