Fridrich Strba 2018-12-21 20:43:48 +00:00 committed by Git OBS Bridge
commit 1300606229
6 changed files with 242 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,46 @@
--- commons-digester-1.8-src/build.xml 2006-11-29 20:57:04.000000000 +0100
+++ commons-digester-1.8-src/build.xml 2018-12-21 21:10:27.168434135 +0100
@@ -53,6 +53,7 @@
<property name="commons.home" value=".."/>
<property name="beanutils.home" value="${commons.home}/beanutils"/>
<property name="logging.home" value="${commons.home}/logging"/>
+ <property name="collections.home" value="${commons.home}/collections"/>
<!-- ========== Derived Values ============================================ -->
@@ -66,6 +67,8 @@
<property name="commons-beanutils.jar" value="${beanutils.home}/dist/commons-beanutils.jar"/>
<property name="commons-logging.api" value="${logging.home}/dist/docs/api"/>
<property name="commons-logging.jar" value="${logging.home}/dist/commons-logging.jar"/>
+ <property name="commons-collections.api" value="${collections.home}/dist/docs/api"/>
+ <property name="commons-collections.jar" value="${collections.home}/dist/commons-collections.jar"/>
<!-- ========== Component Declarations ==================================== -->
@@ -118,6 +121,7 @@
<pathelement location="${jaxp.parser.jar}"/>
<pathelement location="${commons-beanutils.jar}"/>
<pathelement location="${commons-logging.jar}"/>
+ <pathelement location="${commons-collections.jar}"/>
<pathelement location="${junit.jar}"/>
</path>
@@ -142,6 +146,7 @@
<pathelement location="${jaxp.parser.jar}"/>
<pathelement location="${commons-beanutils.jar}"/>
<pathelement location="${commons-logging.jar}"/>
+ <pathelement location="${commons-collections.jar}"/>
</path>
<!-- Should all tests fail if one does? -->
@@ -248,10 +253,6 @@
doctitle="&lt;h1&gt;${component.title} (Version ${component.version})&lt;/h1&gt;"
windowtitle="${component.title} (Version ${component.version})"
bottom='Copyright 2001-2005 The Apache Software Foundation.'>
- <link offline="true" packagelistLoc="${commons-beanutils.api}"
- href="http://jakarta.apache.org/commons/beanutils/api/"/>
- <link offline="true" packagelistLoc="${commons-logging.api}"
- href="http://jakarta.apache.org/commons/logging/api/"/>
<classpath refid="compile.classpath"/>
</javadoc>
</target>

View File

@ -0,0 +1,70 @@
-------------------------------------------------------------------
Fri Dec 21 20:40:38 UTC 2018 - Fridrich Strba <fstrba@suse.com>
- Renamed package to apache-commons-digester
- Removed patch:
* jakarta-commons-digester-java16compat.patch
+ no need to patch build.xml to build with source/target 1.6
- Added patch:
* apache-commons-digester-build.patch
+ add commons-collections to the build classpath
-------------------------------------------------------------------
Mon Sep 18 11:07:35 UTC 2017 - fstrba@suse.com
- Removed patch:
* jakarta-commons-digester-java14compat.patch
- Added patch:
* jakarta-commons-digester-java16compat.patch
- Build with java source and target 1.6
- Fixes build with jdk9
- Align the spec file to the way the ant build gets its
dependencies and fix the javadoc build
-------------------------------------------------------------------
Tue Jul 8 10:25:21 UTC 2014 - tchvatal@suse.com
- Cleanup with spec cleaner and fix build again.
-------------------------------------------------------------------
Mon Sep 25 12:08:46 CEST 2006 - skh@suse.de
- don't use icecream
- use source="1.4" and target="1.4" for build with java 1.5
-------------------------------------------------------------------
Wed Jan 25 21:46:37 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Jul 27 16:33:37 CEST 2005 - jsmeix@suse.de
- Current version 1.7 from JPackage.org
-------------------------------------------------------------------
Mon Jul 18 16:11:45 CEST 2005 - jsmeix@suse.de
- Current version 1.6 from JPackage.org
-------------------------------------------------------------------
Tue Feb 22 13:16:09 CET 2005 - skh@suse.de
- enable build of rss package (needed by struts)
-------------------------------------------------------------------
Mon Feb 21 17:24:34 CET 2005 - skh@suse.de
- update to version 1.6
- don't use icecream
-------------------------------------------------------------------
Thu Sep 16 16:16:40 CEST 2004 - skh@suse.de
- Fix prerequires of javadoc subpackage
-------------------------------------------------------------------
Sun Sep 5 23:30:19 CEST 2004 - skh@suse.de
- Initial package created with version 1.5 (JPackage version 1.5)

View File

@ -0,0 +1,99 @@
#
# spec file for package apache-commons-digester
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define base_name digester
%define short_name commons-%{base_name}
Name: apache-commons-digester
Version: 1.8
Release: 0
Summary: Jakarta Commons Digester Package
License: Apache-2.0
Group: Development/Libraries/Java
URL: http://apache.apache.org/commons/digester/
Source0: https://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
Patch0: %{name}-build.patch
BuildRequires: ant
BuildRequires: commons-beanutils
BuildRequires: commons-collections
BuildRequires: fdupes
BuildRequires: java-devel
BuildRequires: javapackages-local
BuildRequires: xml-commons-apis
Requires: apache-commons-parent
Requires: commons-beanutils >= 1.7
Requires: commons-logging >= 1.0
Provides: %{short_name} = %{version}-%{release}
Obsoletes: %{short_name} < %{version}-%{release}
Provides: jakarta-%{short_name} = %{version}-%{release}
Obsoletes: jakarta-%{short_name} < %{version}-%{release}
BuildArch: noarch
%description
The goal of the Jakarta Commons Digester project is to create and
maintain an XML to Java object mapping package written in the Java
language to be distributed under the ASF license.
%package javadoc
Summary: Javadoc for apache-commons-digester
Group: Development/Libraries/Java
%description javadoc
The goal of the Jakarta Commons Digester project is to create and
maintain a XML -> Java object mapping package written in the Java
language to be distributed under the ASF license.
This package contains the javadoc documentation for the Jakarta Commons
Digester Package.
%prep
%setup -q -n %{short_name}-%{version}-src
%patch0 -p1
%build
#cp LICENSE.txt ../LICENSE
ant -v \
-Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \
-Djunit.jar=$(build-classpath junit) \
-Dcommons-beanutils.jar=$(build-classpath commons-beanutils) \
-Dcommons-collections.jar=$(build-classpath commons-collections) \
-Dcommons-logging.jar=$(build-classpath commons-logging) \
dist
%install
# jars
install -d -m 0755 %{buildroot}%{_javadir}
install -pm 644 dist/%{short_name}.jar %{buildroot}%{_javadir}/%{name}.jar
ln -s %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
# pom
install -d -m 0755 %{buildroot}%{_mavenpomdir}
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}.pom %{name}.jar -a org.apache.commons:%{short_name}
# javadoc
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
cp -pr dist/docs/api*/* %{buildroot}%{_javadocdir}/%{name}/
%fdupes -s %{buildroot}%{_javadocdir}/%{name}/
%files -f .mfiles
%license LICENSE.txt
%doc NOTICE.txt RELEASE-NOTES.txt
%{_javadir}/*
%files javadoc
%{_javadocdir}/%{name}
%changelog

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9a965c82828a881d2ab6256fba7076f62815a9545b3af9d553dc5271577182b
size 279771