|
spike |
83a1a7 |
%global base_name dbcp
|
|
spike |
83a1a7 |
%global short_name commons-%{base_name}
|
|
spike |
83a1a7 |
|
|
spike |
83a1a7 |
Name: apache-%{short_name}
|
|
spike |
83a1a7 |
Version: 1.4
|
|
Mikolaj Izdebski |
0c0dda |
Release: 17%{?dist}
|
|
spike |
83a1a7 |
Summary: Apache Commons DataBase Pooling Package
|
|
spike |
83a1a7 |
Group: Development/Libraries
|
|
spike |
83a1a7 |
License: ASL 2.0
|
|
spike |
83a1a7 |
URL: http://commons.apache.org/%{base_name}/
|
|
spike |
83a1a7 |
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
|
spike |
83a1a7 |
|
|
Stanislav Ochotnicky |
a068e9 |
# Depmap needed to remove tomcat* deps (needed only for testing)
|
|
spike |
e9fe78 |
# and fix geronimo transaction
|
|
spike |
83a1a7 |
Source1: %{short_name}.depmap
|
|
Deepak Bhole |
189cf8 |
Patch0: jdbc41.patch
|
|
spike |
83a1a7 |
BuildArch: noarch
|
|
spike |
83a1a7 |
|
|
Deepak Bhole |
189cf8 |
BuildRequires: java-devel
|
|
spike |
83a1a7 |
BuildRequires: jpackage-utils
|
|
spike |
e9fe78 |
BuildRequires: apache-commons-parent
|
|
spike |
a5a165 |
BuildRequires: apache-commons-pool
|
|
spike |
83a1a7 |
BuildRequires: geronimo-parent-poms
|
|
spike |
83a1a7 |
BuildRequires: jta
|
|
spike |
83a1a7 |
BuildRequires: maven-plugin-cobertura
|
|
Stanislav Ochotnicky |
876fd9 |
BuildRequires: maven-local
|
|
spike |
83a1a7 |
|
|
spike |
83a1a7 |
%description
|
|
Stanislav Ochotnicky |
a068e9 |
Many Apache projects support interaction with a relational database. Creating a
|
|
Stanislav Ochotnicky |
a068e9 |
new connection for each user can be time consuming (often requiring multiple
|
|
Stanislav Ochotnicky |
a068e9 |
seconds of clock time), in order to perform a database transaction that might
|
|
Stanislav Ochotnicky |
a068e9 |
take milliseconds. Opening a connection per user can be unfeasible in a
|
|
Stanislav Ochotnicky |
a068e9 |
publicly-hosted Internet application where the number of simultaneous users can
|
|
Stanislav Ochotnicky |
a068e9 |
be very large. Accordingly, developers often wish to share a "pool" of open
|
|
Stanislav Ochotnicky |
a068e9 |
connections between all of the application's current users. The number of users
|
|
Stanislav Ochotnicky |
a068e9 |
actually performing a request at any given time is usually a very small
|
|
Stanislav Ochotnicky |
a068e9 |
percentage of the total number of active users, and during request processing
|
|
Stanislav Ochotnicky |
a068e9 |
is the only time that a database connection is required. The application itself
|
|
spike |
83a1a7 |
logs into the DBMS, and handles any user account issues internally.
|
|
spike |
83a1a7 |
|
|
spike |
83a1a7 |
%package javadoc
|
|
spike |
83a1a7 |
Summary: Javadoc for %{name}
|
|
spike |
83a1a7 |
|
|
spike |
83a1a7 |
%description javadoc
|
|
spike |
83a1a7 |
This package contains the API documentation for %{name}.
|
|
spike |
83a1a7 |
|
|
spike |
83a1a7 |
%prep
|
|
spike |
83a1a7 |
%setup -q -n %{short_name}-%{version}-src
|
|
spike |
83a1a7 |
iconv -f iso8859-1 -t utf-8 RELEASE-NOTES.txt > RELEASE-NOTES.txt.conv && mv -f RELEASE-NOTES.txt.conv RELEASE-NOTES.txt
|
|
spike |
83a1a7 |
|
|
Deepak Bhole |
189cf8 |
%patch0
|
|
Deepak Bhole |
189cf8 |
|
|
Stanislav Ochotnicky |
f56418 |
%mvn_alias : org.apache.commons:%{short_name}
|
|
Stanislav Ochotnicky |
f56418 |
%mvn_file : %{name} %{short_name}
|
|
Stanislav Ochotnicky |
f56418 |
|
|
spike |
83a1a7 |
%build
|
|
spike |
83a1a7 |
# Skip tests, tomcat:naming-java and tomcat:naming-common not available
|
|
Stanislav Ochotnicky |
f56418 |
%mvn_build -f
|
|
spike |
83a1a7 |
|
|
spike |
83a1a7 |
%install
|
|
Stanislav Ochotnicky |
f56418 |
%mvn_install
|
|
spike |
e9fe78 |
|
|
Stanislav Ochotnicky |
f56418 |
%files -f .mfiles
|
|
spike |
83a1a7 |
%doc LICENSE.txt NOTICE.txt README.txt RELEASE-NOTES.txt
|
|
spike |
83a1a7 |
|
|
Stanislav Ochotnicky |
f56418 |
%files javadoc -f .mfiles-javadoc
|
|
Stanislav Ochotnicky |
a068e9 |
%doc LICENSE.txt NOTICE.txt
|
|
spike |
83a1a7 |
|
|
spike |
83a1a7 |
%changelog
|
|
Mikolaj Izdebski |
0c0dda |
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-17
|
|
Mikolaj Izdebski |
0c0dda |
- Remove legacy Obsoletes/Provides for jakarta-commons
|
|
Mikolaj Izdebski |
0c0dda |
|
|
Dennis Gilmore |
948c18 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-16
|
|
Dennis Gilmore |
948c18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
Dennis Gilmore |
948c18 |
|
|
Stanislav Ochotnicky |
1e74eb |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-15
|
|
Stanislav Ochotnicky |
1e74eb |
- Use Requires: java-headless rebuild (#1067528)
|
|
Stanislav Ochotnicky |
1e74eb |
|
|
Stanislav Ochotnicky |
f56418 |
* Thu Aug 8 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-14
|
|
Stanislav Ochotnicky |
f56418 |
- Update to latest packaging guidelines
|
|
Stanislav Ochotnicky |
f56418 |
|
|
Dennis Gilmore |
b1b6b0 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-13
|
|
Dennis Gilmore |
b1b6b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
Dennis Gilmore |
b1b6b0 |
|
|
Dennis Gilmore |
fc654e |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-12
|
|
Dennis Gilmore |
fc654e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
Dennis Gilmore |
fc654e |
|
|
Stanislav Ochotnicky |
876fd9 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4-11
|
|
Stanislav Ochotnicky |
876fd9 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
Stanislav Ochotnicky |
876fd9 |
- Replace maven BuildRequires with maven-local
|
|
Stanislav Ochotnicky |
876fd9 |
|
|
Dennis Gilmore |
1bf28e |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-10
|
|
Dennis Gilmore |
1bf28e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
Dennis Gilmore |
1bf28e |
|
|
Deepak Bhole |
189cf8 |
* Thu Feb 23 2012 Pavel Tisnovsky <ptisnovs@redhat.com> - 1.4-9
|
|
Deepak Bhole |
189cf8 |
- Make this package independent of OpenJDK6 (it's buildable on OpenJDK7)
|
|
Deepak Bhole |
189cf8 |
|
|
Dennis Gilmore |
6b72d8 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-8
|
|
Dennis Gilmore |
6b72d8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
Dennis Gilmore |
6b72d8 |
|
|
Stanislav Ochotnicky |
a068e9 |
* Thu Dec 1 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-7
|
|
Stanislav Ochotnicky |
a068e9 |
- Build with maven 3
|
|
Stanislav Ochotnicky |
a068e9 |
- Fixes according to latest guidelines
|
|
Stanislav Ochotnicky |
a068e9 |
|
|
Dennis Gilmore |
4454ea |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-6
|
|
Dennis Gilmore |
4454ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
Dennis Gilmore |
4454ea |
|
|
spike |
e9fe78 |
* Tue Nov 9 2010 Chris Spike <chris.spike@arcor.de> 1.4-5
|
|
spike |
e9fe78 |
- Removed maven* BRs in favour of apache-commons-parent
|
|
spike |
e9fe78 |
- Added deprecated groupId to depmap for compatibility reasons
|
|
spike |
e9fe78 |
- Removed commons-pool from custom depmap
|
|
spike |
e9fe78 |
|
|
spike |
efc113 |
* Wed Oct 27 2010 Chris Spike <chris.spike@arcor.de> 1.4-4
|
|
spike |
efc113 |
- Added depmap entry to find commons-pool.jar
|
|
spike |
efc113 |
|
|
spike |
a5a165 |
* Wed Oct 27 2010 Chris Spike <chris.spike@arcor.de> 1.4-3
|
|
spike |
a5a165 |
- Added BR apache-commons-pool
|
|
spike |
a5a165 |
|
|
spike |
83a1a7 |
* Mon Oct 18 2010 Chris Spike <chris.spike@arcor.de> 1.4-2
|
|
spike |
83a1a7 |
- Removed Epoch
|
|
spike |
83a1a7 |
|
|
spike |
83a1a7 |
* Mon Oct 4 2010 Chris Spike <chris.spike@arcor.de> 1.4-1
|
|
spike |
83a1a7 |
- Rename and rebase from jakarta-commons-dbcp
|