|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%global base_name pool
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%global short_name commons-%{base_name}
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Name: apache-%{short_name}
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
04cea68 |
Version: 1.5.6
|
|
![](https://seccdn.libravatar.org/avatar/0c6e9e514c88ccbca155e733902412a80831318f713070d1dc699d09361db751?s=16&d=retro) |
0a852ed |
Release: 2%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Summary: Apache Commons Pool Package
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Group: Development/Libraries
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
License: ASL 2.0
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
URL: http://commons.apache.org/%{base_name}/
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
BuildArch: noarch
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
BuildRequires: java-devel >= 1:1.6.0
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
BuildRequires: jpackage-utils
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
ef1396b |
BuildRequires: apache-commons-parent
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Requires: java >= 1:1.6.0
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Requires: jpackage-utils
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Requires(post): jpackage-utils
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Requires(postun): jpackage-utils
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
# This should go away with F-17
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Provides: jakarta-%{short_name} = 0:%{version}-%{release}
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Obsoletes: jakarta-%{short_name} < 0:1.3-14
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Obsoletes: jakarta-%{short_name}-tomcat5 < 0:1.3-14
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Obsoletes: jakarta-%{short_name}-manual < 0:1.3-14
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%description
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
The goal of Pool package is it to create and maintain an object (instance)
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
pooling package to be distributed under the ASF license. The package should
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
support a variety of pool implementations, but encourage support of an
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
interface that makes these implementations interchangeable.
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%package javadoc
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Summary: Javadoc for %{name}
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Group: Documentation
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Requires: jpackage-utils
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
# This should go away with F-17
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
Obsoletes: jakarta-%{short_name}-javadoc < 0:1.3-14
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%description javadoc
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
This package contains the API documentation for %{name}.
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%prep
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%setup -q -n %{short_name}-%{version}-src
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%build
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
04cea68 |
mvn-rpmbuild install javadoc:javadoc
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%install
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
# jars
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
install -d -m 0755 %{buildroot}%{_javadir}
|
|
![](https://seccdn.libravatar.org/avatar/0c6e9e514c88ccbca155e733902412a80831318f713070d1dc699d09361db751?s=16&d=retro) |
0a852ed |
install -pm 644 target/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
|
![](https://seccdn.libravatar.org/avatar/0c6e9e514c88ccbca155e733902412a80831318f713070d1dc699d09361db751?s=16&d=retro) |
0a852ed |
(cd %{buildroot}%{_javadir} && for jar in *%{name}*; do ln -sf ${jar} `echo $jar| sed "s|apache-||g"`; done)
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
# pom
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
![](https://seccdn.libravatar.org/avatar/0c6e9e514c88ccbca155e733902412a80831318f713070d1dc699d09361db751?s=16&d=retro) |
0a852ed |
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
|
![](https://seccdn.libravatar.org/avatar/0c6e9e514c88ccbca155e733902412a80831318f713070d1dc699d09361db751?s=16&d=retro) |
0a852ed |
%add_maven_depmap JPP-%{name}.pom %{name}.jar -a "%{short_name}:%{short_name}"
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
ef1396b |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
# javadoc
|
|
![](https://seccdn.libravatar.org/avatar/0c6e9e514c88ccbca155e733902412a80831318f713070d1dc699d09361db751?s=16&d=retro) |
0a852ed |
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
|
![](https://seccdn.libravatar.org/avatar/0c6e9e514c88ccbca155e733902412a80831318f713070d1dc699d09361db751?s=16&d=retro) |
0a852ed |
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%files
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%doc README.txt LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%{_javadir}/*
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%{_mavenpomdir}/*
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%{_mavendepmapfragdir}/*
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%files javadoc
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%doc LICENSE.txt
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%{_javadocdir}/%{name}
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/0c6e9e514c88ccbca155e733902412a80831318f713070d1dc699d09361db751?s=16&d=retro) |
0a852ed |
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.5.6-2
|
|
![](https://seccdn.libravatar.org/avatar/0c6e9e514c88ccbca155e733902412a80831318f713070d1dc699d09361db751?s=16&d=retro) |
0a852ed |
- Adapt to current guidelines.
|
|
![](https://seccdn.libravatar.org/avatar/0c6e9e514c88ccbca155e733902412a80831318f713070d1dc699d09361db751?s=16&d=retro) |
0a852ed |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
04cea68 |
* Fri Apr 15 2011 Chris Spike <spike@fedoraproject.org> 1.5.6-1
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
04cea68 |
- Updated to 1.5.6
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
04cea68 |
- Fixed build for maven 3
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
04cea68 |
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
55d69be |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.5-5
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
55d69be |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
55d69be |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
04cea68 |
* Tue Nov 9 2010 Chris Spike <spike@fedoraproject.org> 1.5.5-4
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
ef1396b |
- Removed maven* BRs in favour of apache-commons-parent
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
ef1396b |
- Added deprecated groupId to depmap for compatibility reasons
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
ef1396b |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
04cea68 |
* Mon Oct 18 2010 Chris Spike <spike@fedoraproject.org> 1.5.5-3
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
- Removed Epoch
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
04cea68 |
* Tue Oct 5 2010 Chris Spike <spike@fedoraproject.org> 1.5.5-2
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
- Consistently using 'buildroot' macro instead of 'RPM_BUILD_ROOT' now
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
04cea68 |
* Fri Oct 1 2010 Chris Spike <spike@fedoraproject.org> 1.5.5-1
|
|
![](https://seccdn.libravatar.org/avatar/9e2b6866c97f0e5a74f0c80c0394bfe311bf9cafcd817f415b10dc45acc84b47?s=16&d=retro) |
8da4ab4 |
- Rename and rebase from jakarta-commons-pool
|