Blame SPECS/apache-commons-dbcp.spec

ecc06e
%global base_name       dbcp
ecc06e
%global short_name      commons-%{base_name}
ecc06e
ecc06e
Name:             apache-%{short_name}
ecc06e
Version:          1.4
ecc06e
Release:          17%{?dist}
ecc06e
Summary:          Apache Commons DataBase Pooling Package
ecc06e
License:          ASL 2.0
ecc06e
URL:              http://commons.apache.org/%{base_name}/
ecc06e
Source0:          http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
ecc06e
ecc06e
Patch0:           jdbc41.patch
ecc06e
BuildArch:        noarch
ecc06e
ecc06e
BuildRequires:    java-devel
ecc06e
BuildRequires:    jpackage-utils
ecc06e
BuildRequires:    apache-commons-parent >= 26-7
ecc06e
BuildRequires:    apache-commons-pool
ecc06e
BuildRequires:    geronimo-parent-poms
ecc06e
BuildRequires:    geronimo-jta
ecc06e
BuildRequires:    maven-local
ecc06e
ecc06e
ecc06e
%description
ecc06e
Many Apache projects support interaction with a relational database. Creating a
ecc06e
new connection for each user can be time consuming (often requiring multiple
ecc06e
seconds of clock time), in order to perform a database transaction that might
ecc06e
take milliseconds. Opening a connection per user can be unfeasible in a
ecc06e
publicly-hosted Internet application where the number of simultaneous users can
ecc06e
be very large. Accordingly, developers often wish to share a "pool" of open
ecc06e
connections between all of the application's current users. The number of users
ecc06e
actually performing a request at any given time is usually a very small
ecc06e
percentage of the total number of active users, and during request processing
ecc06e
is the only time that a database connection is required. The application itself
ecc06e
logs into the DBMS, and handles any user account issues internally.
ecc06e
ecc06e
%package javadoc
ecc06e
Summary:          Javadoc for %{name}
ecc06e
ecc06e
%description javadoc
ecc06e
This package contains the API documentation for %{name}.
ecc06e
ecc06e
%prep
ecc06e
%setup -q -n %{short_name}-%{version}-src
ecc06e
iconv -f iso8859-1 -t utf-8 RELEASE-NOTES.txt > RELEASE-NOTES.txt.conv && mv -f RELEASE-NOTES.txt.conv RELEASE-NOTES.txt
ecc06e
ecc06e
%patch0
ecc06e
ecc06e
%mvn_file : %{name} %{short_name}
ecc06e
%mvn_alias : org.apache.commons:%{short_name}
ecc06e
ecc06e
%build
ecc06e
# Skip tests, tomcat:naming-java and tomcat:naming-common not available
ecc06e
%mvn_build -f
ecc06e
ecc06e
%install
ecc06e
%mvn_install
ecc06e
ecc06e
%files -f .mfiles
ecc06e
%doc LICENSE.txt NOTICE.txt README.txt RELEASE-NOTES.txt
ecc06e
ecc06e
%files javadoc -f .mfiles-javadoc
ecc06e
%doc LICENSE.txt NOTICE.txt
ecc06e
ecc06e
%changelog
ecc06e
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4-17
ecc06e
- Mass rebuild 2013-12-27
ecc06e
ecc06e
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-16
ecc06e
- Add BuildRequires on apache-commons-parent >= 26-7
ecc06e
ecc06e
* Mon Aug 19 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-15
ecc06e
- Migrate away from mvn-rpmbuild (#997452)
ecc06e
ecc06e
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-14
ecc06e
- Remove workaround for rpm bug #646523
ecc06e
ecc06e
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-13
ecc06e
- Rebuild to regenerate API documentation
ecc06e
- Resolves: CVE-2013-1571
ecc06e
ecc06e
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-12
ecc06e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ecc06e
ecc06e
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4-11
ecc06e
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
ecc06e
- Replace maven BuildRequires with maven-local
ecc06e
ecc06e
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-10
ecc06e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ecc06e
ecc06e
* Thu Feb 23 2012 Pavel Tisnovsky <ptisnovs@redhat.com> - 1.4-9
ecc06e
- Make this package independent of OpenJDK6 (it's buildable on OpenJDK7)
ecc06e
ecc06e
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-8
ecc06e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ecc06e
ecc06e
* Thu Dec  1 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-7
ecc06e
- Build with maven 3
ecc06e
- Fixes according to latest guidelines
ecc06e
ecc06e
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-6
ecc06e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ecc06e
ecc06e
* Tue Nov 9 2010 Chris Spike <chris.spike@arcor.de> 1.4-5
ecc06e
- Removed maven* BRs in favour of apache-commons-parent
ecc06e
- Added deprecated groupId to depmap for compatibility reasons
ecc06e
- Removed commons-pool from custom depmap
ecc06e
ecc06e
* Wed Oct 27 2010 Chris Spike <chris.spike@arcor.de> 1.4-4
ecc06e
- Added depmap entry to find commons-pool.jar
ecc06e
ecc06e
* Wed Oct 27 2010 Chris Spike <chris.spike@arcor.de> 1.4-3
ecc06e
- Added BR apache-commons-pool
ecc06e
ecc06e
* Mon Oct 18 2010 Chris Spike <chris.spike@arcor.de> 1.4-2
ecc06e
- Removed Epoch
ecc06e
ecc06e
* Mon Oct 4 2010 Chris Spike <chris.spike@arcor.de> 1.4-1
ecc06e
- Rename and rebase from jakarta-commons-dbcp