Accepting request 431234 from Java:packages
OBS-URL: https://build.opensuse.org/request/show/431234 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-pool2?expand=0&rev=1
This commit is contained in:
commit
befc4b968f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
61
apache-commons-pool.changes
Normal file
61
apache-commons-pool.changes
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 29 10:59:24 UTC 2016 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Rename from jakarta-commons-pool to apache-commons-pool
|
||||||
|
- Version update to 1.6:
|
||||||
|
* drop the tomcat5 package, we need pool2 to work with new tomcat
|
||||||
|
* Last and final from the pool1 series, new pool2 was introduced
|
||||||
|
for future developement.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 9 11:05:48 UTC 2013 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Move from jpackage-utils to javapackage-tools
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 13 17:07:19 CET 2008 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
- merged with jpackage 1.7
|
||||||
|
- update to 1.3
|
||||||
|
- changes in BuildRequires:
|
||||||
|
- java2-deve-packages was substituded by java-devel
|
||||||
|
- added a junit
|
||||||
|
- added a maven build support and maven related BuildRequires
|
||||||
|
- xml-commons-apis was moved to the maven build branch
|
||||||
|
- added a gcj build support
|
||||||
|
- included a maven depmap files
|
||||||
|
- remove a source=1.4 from build and a java14compat patch
|
||||||
|
- provides and obsoletes of main package contains the version
|
||||||
|
- new tomcat5 subpackage
|
||||||
|
- new manual subpackage (build only with maven)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 15 15:05:27 CEST 2006 - ro@suse.de
|
||||||
|
|
||||||
|
- set source=1.4 for java
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:46:38 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 28 13:53:21 CEST 2005 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Adjustments in the spec file.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 18 16:28:18 CEST 2005 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Current version 1.2 from JPackage.org
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 16 15:49:57 CEST 2004 - skh@suse.de
|
||||||
|
|
||||||
|
- Fix prerequires of javadoc subpackage
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 2 18:58:54 CEST 2004 - skh@suse.de
|
||||||
|
|
||||||
|
- Initial package created with version 1.2 (JPackage 1.5)
|
||||||
|
|
92
apache-commons-pool.spec
Normal file
92
apache-commons-pool.spec
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
#
|
||||||
|
# spec file for package apache-commons-pool
|
||||||
|
#
|
||||||
|
# Copyright (c) 2016 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 http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define base_name pool
|
||||||
|
%define short_name commons-%{base_name}
|
||||||
|
Name: apache-commons-pool
|
||||||
|
Version: 1.6
|
||||||
|
Release: 0
|
||||||
|
Summary: Apache Commons Pool
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
Url: https://commons.apache.org/proper/commons-pool/
|
||||||
|
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
||||||
|
Patch0: jakarta-commons-pool-build.patch
|
||||||
|
BuildRequires: ant
|
||||||
|
BuildRequires: java-devel
|
||||||
|
BuildRequires: javapackages-tools
|
||||||
|
BuildRequires: junit
|
||||||
|
Provides: jakarta-commons-pool = %{version}
|
||||||
|
Obsoletes: jakarta-commons-pool < %{version}
|
||||||
|
Provides: %{short_name} = %{version}
|
||||||
|
Obsoletes: %{short_name} < %{version}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
The goal of the Pool package is to create and maintain an object
|
||||||
|
(instance) pooling package to be distributed under the ASF license. The
|
||||||
|
package supports a variety of pool implementations, but encourages
|
||||||
|
support of an interface that makes these implementations
|
||||||
|
interchangeable.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for jakarta-commons-pool
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
The goal of Pool package it to create and maintain an object (instance)
|
||||||
|
pooling package to be distributed under the ASF license. The package
|
||||||
|
should support a variety of pool implementations, but encourage support
|
||||||
|
of an interface that makes these implementations interchangeable.
|
||||||
|
|
||||||
|
This package contains the javadoc documentation for the Jakarta Commons
|
||||||
|
Pool Package.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{short_name}-%{version}-src
|
||||||
|
# remove all binary libs
|
||||||
|
find . -name "*.jar" -exec rm -f {} \;
|
||||||
|
%patch0
|
||||||
|
|
||||||
|
%build
|
||||||
|
ant -Djava.io.tmpdir=. clean dist
|
||||||
|
|
||||||
|
%install
|
||||||
|
# jars
|
||||||
|
install -d -m 755 %{buildroot}%{_javadir}
|
||||||
|
install -m 644 dist/%{short_name}-%{version}-SNAPSHOT.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
|
||||||
|
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|apache-||g"`; done)
|
||||||
|
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
||||||
|
# javadoc
|
||||||
|
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%doc README.txt LICENSE.txt
|
||||||
|
%{_javadir}/%{name}.jar
|
||||||
|
%{_javadir}/%{name}-%{version}.jar
|
||||||
|
%{_javadir}/%{short_name}.jar
|
||||||
|
%{_javadir}/%{short_name}-%{version}.jar
|
||||||
|
|
||||||
|
%files javadoc
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
3
commons-pool-1.6-src.tar.gz
Normal file
3
commons-pool-1.6-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:31d182e5dc857666dba640caf9529158c679075f4f137deceff128e268d9195a
|
||||||
|
size 321409
|
13
jakarta-commons-pool-build.patch
Normal file
13
jakarta-commons-pool-build.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: build.xml
|
||||||
|
===================================================================
|
||||||
|
--- build.xml.orig
|
||||||
|
+++ build.xml
|
||||||
|
@@ -94,7 +94,7 @@
|
||||||
|
nonavbar="false"
|
||||||
|
serialwarn="false"
|
||||||
|
source="${javac.src.version}">
|
||||||
|
- <link href="http://java.sun.com/j2se/1.4.2/docs/api"/>
|
||||||
|
+ <link href="file://usr/share/javadoc/java"/>
|
||||||
|
</javadoc>
|
||||||
|
</target>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user