Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

43 commits

Author SHA1 Message Date
Miro Hrončok
6f10df48b9 Orphaned for 6+ weeks 2019-09-20 00:42:22 +02:00
Fedora Release Engineering
8742a2e372 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 18:09:49 +00:00
Fedora Release Engineering
6a6c67cfd6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 13:32:27 +00:00
Zbigniew Jędrzejewski-Szmek
586ac1b624 Use C.UTF-8 locale 2018-11-18 23:50:05 +01:00
Fedora Release Engineering
7886457892 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 20:22:13 +00:00
Mat Booth
550c0e720f Update to latest upstream release
Includes fix for CVE-2017-12626
2018-04-18 22:53:54 +01:00
Fedora Release Engineering
db73abc9aa - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 02:33:32 +00:00
Mat Booth
2b5a4017ae Rename OOXML zips for fedpkg 2017-08-19 13:50:30 +01:00
Mat Booth
34f1f0e014 Update to 3.15 2017-08-18 18:00:33 +01:00
Fedora Release Engineering
eab8a013d5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 03:03:14 +00:00
Fedora Release Engineering
d21c03ce9c - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 06:06:37 +00:00
gil
0305b35478 removed some test failures 2016-06-29 13:51:49 +02:00
gil
91e43ceac4 removed some test failures on arm builder 2016-06-26 13:36:02 +02:00
gil
bf73dea4d1 Remove old patch1 2016-04-08 14:47:32 +02:00
gil
71276e54e5 Update patch1 2016-04-08 14:46:44 +02:00
gil
5b7d243d2d Update to 3.14 2016-04-08 14:43:21 +02:00
Dennis Gilmore
986cdf2a67 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 16:20:15 +00:00
gil
7981aa4546 update to 3.13 2015-11-30 10:21:40 +01:00
Mat Booth
9a1aa08ca8 Correct for silly look-aside cache url encoding problem during real builds 2015-09-02 11:11:10 +01:00
Mat Booth
1e89f43862 Re-upload sources 1 and 2 2015-09-02 10:56:05 +01:00
gil
5e6d49c6a7 build fix 2015-09-02 10:08:52 +01:00
Zbigniew Jędrzejewski-Szmek
c7436817a8 Update to version 3.12
CVE was fixed in 3.11-beta3.
2015-07-07 09:36:32 -04:00
Dennis Gilmore
346ab53ddd - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 00:06:33 +00:00
gil
ea8c70f326 add hamcrest BR 2015-02-14 17:26:26 +01:00
gil
ad3ddf5cd3 fix for RHBZ#1138135 (CVE-2014-3574) 2015-02-14 16:51:19 +01:00
Orion Poplawski
4c8dc31a41 Ignore test failures for now; Use UTF-8 locale for tests 2014-09-04 14:17:46 -06:00
Orion Poplawski
1c28ba5c23 Update to 3.10.1 (Bug 1138135: CVE-2014-3574 CVE-2014-3529) 2014-09-04 10:19:40 -06:00
Dennis Gilmore
188b3d36c5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-06 20:03:29 -05:00
Orion Poplawski
85645018b0 Update to 3.10 2014-02-24 14:07:28 -07:00
Dennis Gilmore
3de655219f - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-02 20:25:10 -05:00
Orion Poplawski
b43f09f150 - Update to 3.9 final
- Install all jars and add poms for each
- Cleanup and update spec
2013-06-12 10:33:17 -06:00
Karsten Hopp
4aae4670b1 drop excludearch ppc64 2013-04-05 18:22:32 +02:00
Dennis Gilmore
8ae6c59210 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 10:49:18 -06:00
Dennis Gilmore
0ae060f44f - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 11:20:49 -05:00
Orion Poplawski
a764730b8a Add patch to fix compilation with JDK 1.7 2012-07-13 17:05:21 -06:00
Orion Poplawski
e589137a17 Add %changelog entry for CVE-2012-0213 fix 2012-05-10 22:13:15 -06:00
Orion Poplawski
d6c118d2e4 Rebase CVE-2012-0213 patch for 3.8 2012-05-10 22:11:39 -06:00
Orion Poplawski
71b779afaf Add CVE-2012-0213 patch to spec 2012-05-10 21:58:35 -06:00
Orion Poplawski
2e7badfcb0 Update to 3.8 final 2012-05-10 21:53:20 -06:00
Orion Poplawski
61875bd3f9 Update to 3.8-beta5 2012-01-05 20:05:57 -07:00
Orion Poplawski
da28f30980 Update to 3.8-beta3
Add commons-codec to the build jar repository
2011-07-22 09:47:36 -06:00
Orion Poplawski
53b6c24ebd Update to 3.8-beta2
Add BR fontconfig needed for tests to find fonts
Fix javadoc link
2011-04-20 16:41:31 -06:00
Dennis Gilmore
0c56388ed9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 19:39:33 -06:00
6 changed files with 1 additions and 304 deletions

3
.gitignore vendored
View file

@ -1,3 +0,0 @@
/Office Open XML 1st edition Part 4 (PDF).zip
/poi-src-3.7-20101029.tar.gz
/Office%20Open%20XML%201st%20edition%20Part%204%20(PDF).zip

View file

@ -1,18 +0,0 @@
--- poi-3.7-beta1/build.xml.compile-xsds 2010-06-15 05:44:36.000000000 -0600
+++ poi-3.7-beta1/build.xml 2010-06-25 15:15:51.240179517 -0600
@@ -370,12 +370,9 @@
</target>
<target name="check-compiled-ooxml-xsds" depends="fetch-ooxml-xsds">
<condition property="ooxml-compiled-xsds.present">
- <or>
- <and>
- <available file="${ooxml.xsds.jar}"/>
- </and>
- <isset property="disconnected"/>
- </or>
+ <and>
+ <available file="${ooxml.xsds.jar}"/>
+ </and>
</condition>
</target>
<target name="compile-ooxml-xsds" unless="ooxml-compiled-xsds.present"

View file

@ -1,203 +0,0 @@
%global reldate 20101029
Name: apache-poi
Version: 3.7
Release: 4%{?dist}
Summary: The Java API for Microsoft Documents
Group: Development/Libraries
License: ASL 2.0
URL: http://poi.apache.org/
Source0: http://www.apache.org/dist/poi/release/src/poi-src-%{version}-%{reldate}.tar.gz
Source1: http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%204%20(PDF).zip
Source2: http://repo2.maven.org/maven2/org/apache/poi/poi/3.7/poi-3.7.pom.xml
#Force compile of xsds if disconnected
Patch1: %{name}-3.7-compile-xsds.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
ExcludeArch: ppc64
BuildRequires: jpackage-utils
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: ant-junit
BuildRequires: dom4j
BuildRequires: apache-commons-logging
BuildRequires: junit
#Fonts for testing
BuildRequires: liberation-sans-fonts liberation-serif-fonts
BuildRequires: log4j
BuildRequires: xmlbeans
Requires: jpackage-utils
Requires: java >= 1:1.6.0
Requires: dom4j
Requires: apache-commons-logging
Requires: log4j
Requires: xmlbeans
%description
The Apache POI Project's mission is to create and maintain Java APIs for
manipulating various file formats based upon the Office Open XML standards
(OOXML) and Microsoft's OLE 2 Compound Document format (OLE2). In short, you
can read and write MS Excel files using Java. In addition, you can read and
write MS Word and MS PowerPoint files using Java. Apache POI is your Java
Excel solution (for Excel 97-2008). We have a complete API for porting other
OOXML and OLE2 formats and welcome others to participate.
OLE2 files include most Microsoft Office files such as XLS, DOC, and PPT as
well as MFC serialization API based file formats. The project provides APIs
for the OLE2 Filesystem (POIFS) and OLE2 Document Properties (HPSF).
Office OpenXML Format is the new standards based XML file format found in
Microsoft Office 2007 and 2008. This includes XLSX, DOCX and PPTX. The
project provides a low level API to support the Open Packaging Conventions
using openxml4j.
For each MS Office application there exists a component module that attempts
to provide a common high level Java API to both OLE2 and OOXML document
formats. This is most developed for Excel workbooks (SS=HSSF+XSSF). Work is
progressing for Word documents (HWPF+XWPF) and PowerPoint presentations
(HSLF+XSLF).
The project has recently added support for Outlook (HSMF). Microsoft opened
the specifications to this format in October 2007. We would welcome
contributions.
There are also projects for Visio (HDGF) and Publisher (HPBF).
%package javadoc
Summary: Javadocs for %{name}
Group: Documentation
Requires: jpackage-utils
%description javadoc
This package contains the API documentation for %{name}.
%package manual
Summary: Manual for %{name}
Group: Documentation
Requires: jpackage-utils
Requires: %{name}-javadoc = %{version}-%{release}
%description manual
The manual for %{name}.
%prep
%setup -q -n poi-%{version}
%patch1 -p1 -b .compile-xsds
find -name '*.class' -exec rm -f '{}' \;
find -name '*.jar' -exec rm -f '{}' \;
mkdir lib ooxml-lib
build-jar-repository -s -p lib commons-logging junit log4j
build-jar-repository -s -p ooxml-lib dom4j xmlbeans/xbean
#Unpack the XMLSchema
pushd ooxml-lib
unzip "%SOURCE1" OfficeOpenXML-XMLSchema.zip
popd
%build
cat > build.properties <<'EOF'
main.commons-logging.jar=lib/commons-logging.jar
main.log4j.jar=lib/log4j.jar
main.junit.jar=lib/junit.jar
ooxml.dom4j.jar=ooxml-lib/dom4j.jar
ooxml.xmlbeans.jar=ooxml-lib/xmlbeans_xbean.jar
disconnected=1
DSTAMP=%{reldate}
EOF
export ANT_OPTS="-Xmx768m"
ant -propertyfile build.properties compile-ooxml-xsds jar
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_javadir}/poi
for jar in poi poi-examples poi-ooxml poi-ooxml-schemas poi-scratchpad
do
cp -p build/dist/${jar}-%{version}-%{reldate}.jar \
$RPM_BUILD_ROOT%{_javadir}/poi/apache-${jar}.jar
ln -s apache-${jar}.jar $RPM_BUILD_ROOT%{_javadir}/poi/${jar}.jar
done
#pom
mkdir -p $RPM_BUILD_ROOT%{_datadir}/maven2/poms
cp -p %SOURCE2 $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-poi.pom
%add_to_maven_depmap org.apache.poi poi %{version} JPP/poi poi
#javadoc
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}
cp -pr docs/apidocs $RPM_BUILD_ROOT%{_javadocdir}/%{name}
#Don't copy for manual
rm -rf docs/apidocs
#manual - Link to javadoc location
ln -s ../../javadoc/%{name}-%{version} docs/apidocs
%check
ant -propertyfile build.properties test
%clean
rm -rf $RPM_BUILD_ROOT
%post
%update_maven_depmap
%postun
%update_maven_depmap
%files
%defattr(-,root,root,-)
%doc KEYS LICENSE NOTICE
%{_javadir}/poi/
%{_mavendepmapfragdir}/*
%{_datadir}/maven2/poms/JPP-poi.pom
%files javadoc
%defattr(-,root,root,-)
%doc LICENSE
%{_javadocdir}/%{name}
%files manual
%defattr(-,root,root,-)
%doc LICENSE docs/*
%changelog
* Tue Dec 21 2010 Orion Poplawski <orion@cora.nwra.com> - 3.7-4
- No java >= 1:1.6.0 on ppc64
* Tue Dec 21 2010 Alexander Kurtakov <akurtako@redhat.com> 3.7-3
- No poi-contrib.jar.
* Tue Dec 21 2010 Alexander Kurtakov <akurtako@redhat.com> 3.7-2
- Url encode the source.
* Mon Dec 6 2010 Orion Poplawski <orion@cora.nwra.com> - 3.7-1
- Update to 3.7 final
* Mon Nov 8 2010 Orion Poplawski <orion@cora.nwra.com> - 3.7-0.5.beta3
- Add pom
* Mon Nov 1 2010 Orion Poplawski <orion@cora.nwra.com> - 3.7-0.4.beta3
- Fix manual package
* Wed Oct 27 2010 Orion Poplawski <orion@cora.nwra.com> - 3.7-0.3.beta3
- Update to 3.7 beta3
- Add more Requires
* Wed Sep 1 2010 Orion Poplawski <orion@cora.nwra.com> - 3.7-0.2.beta2
- Update to 3.7 beta2
* Fri Jun 25 2010 Orion Poplawski <orion@cora.nwra.com> - 3.7-0.1.beta1
- Update to 3.7 beta1
- Rebase compile-xsds patch
* Fri Jun 25 2010 Orion Poplawski <orion@cora.nwra.com> - 3.6-1
- Initial Fedora package

1
dead.package Normal file
View file

@ -0,0 +1 @@
Orphaned for 6+ weeks

View file

@ -1,78 +0,0 @@
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.7</version>
<packaging>jar</packaging>
<name>Apache POI</name>
<url>http://poi.apache.org/</url>
<description>Apache POI - Java API To Access Microsoft Format Files</description>
<mailingLists>
<mailingList>
<name>POI Users List</name>
<subscribe>user-subscribe@poi.apache.org</subscribe>
<unsubscribe>user-unsubscribe@poi.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/poi-user/</archive>
</mailingList>
<mailingList>
<name>POI Developer List</name>
<subscribe>dev-subscribe@poi.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@poi.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/poi-dev/</archive>
</mailingList>
</mailingLists>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<organization>
<name>Apache Software Foundation</name>
<url>http://www.apache.org/</url>
</organization>
<dependencies>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1</version>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.13</version>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
</dependencies>
</project>

View file

@ -1,2 +0,0 @@
2b93b3254bae7fbebb86fdf95cbd06f2 poi-src-3.7-20101029.tar.gz
abe6bb6e7799e854934b3c634e8bcf7b Office%20Open%20XML%201st%20edition%20Part%204%20(PDF).zip