Blame SPECS/apache-commons-dbcp.spec

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