Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:davechen
c3po
c3p0.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File c3p0.spec of Package c3po
Name: c3p0 Version: 0.9.2.1 Release: 2%{?dist} Summary: JDBC DataSources/Resource Pools License: LGPLv2 or EPL URL: https://github.com/swaldman/c3p0 Group: Development/Libraries BuildRequires: java-1_5_0-gcj-compat-devel BuildRequires: java-1_7_0-openjdk-javadoc BuildRequires: jpackage-utils BuildRequires: ant BuildRequires: mchange-commons >= 0.2.3.4 Requires: java Requires: mchange-commons >= 0.2.3.4 Requires: jpackage-utils Source0: https://github.com/swaldman/%{name}/archive/%{name}-%{version}-final.tar.gz # Patch to build on java 1.6 Patch0: %{name}-build-on-1.6.patch # Patch to build on java 1.7 (intentionally kept separate from above) Patch1: %{name}-build-on-1.7.patch BuildArch: noarch %description c3p0 is an easy-to-use library for augmenting traditional JDBC drivers with JNDI-bindable DataSources, including DataSources that implement Connection and Statement Pooling, as described by the jdbc3 spec and jdbc2 standard extension. %package javadoc Summary: API documentation for %{name} Group: Documentation Requires: jpackage-utils %description javadoc %{summary}. %prep %setup -q -n %{name}-%{name}-%{version}-final %patch0 -p1 -b .java6 %patch1 -p1 -b .java7 # remove all binary bits find -name '*.class' -exec rm -f '{}' \; find -name '*.jar' -exec rm -f '{}' \; # remove manifest classpath sed -i.bak -e "s/<attribute\ name=\"Class-Path\"\ value=\"\${mchange-commons-java\.jar\.file\.name}\"\ \/>//" build.xml %build ant \ -Dbuild.sysclasspath=first \ -Dmchange-commons-java.jar.file=`build-classpath mchange-commons-java` \ jar javadoc sed -i -e "s|@c3p0.version.maven@|%{version}|g" \ -e "s|@mchange-commons-java.version.maven@|0.2.3.4|g" \ src/maven/pom.xml %install # jar install -d -m 755 %{buildroot}%{_javadir} install -p -m 644 build/%{name}-%{version}.jar \ %{buildroot}%{_javadir}/%{name}.jar # javadocs install -d -m 755 %{buildroot}%{_javadocdir}/%{name} cp -pr build/apidocs/* %{buildroot}%{_javadocdir}/%{name} # pom install -d -m 755 %{buildroot}%{_mavenpomdir} install -p -m 644 src/maven/pom.xml \ %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom %add_maven_depmap JPP-%{name}.pom %{name}.jar %files %doc src/dist-static/CHANGELOG %doc src/dist-static/LICENSE* %doc src/dist-static/RELEASE* %doc src/doc/index.html %{_javadir}/%{name}.jar %{_mavenpomdir}/JPP-* %{_mavendepmapfragdir}/%{name} %files javadoc %doc src/dist-static/LICENSE* %{_javadocdir}/%{name} %changelog * Tue Apr 02 2013 Mat Booth <fedora@matbooth.co.uk> - 0.9.2.1-2 - Use included pom file - Update project URL * Thu Mar 28 2013 Mat Booth <fedora@matbooth.co.uk> - 0.9.2.1-1 - Update to latest upstream release - License change to "LGPLv2 or EPL" * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-0.10.pre1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Aug 7 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.9.2-0.9.pre1 - Fix file permissions * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-0.8.pre1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jan 24 2012 Deepak Bhole <dbhole@redhat.com> 0.9.2-0.7.pre1 - Added patch for building with JDBC 4.1/Java 7 * Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-0.6.pre1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Jul 28 2011 Mat Booth <fedora@matbooth.co.uk> 0.9.2-0.5.pre1 - Update for latest guidelines. * Sat Jun 11 2011 Mat Booth <fedora@matbooth.co.uk> 0.9.2-0.4.pre1 - Drop redundant clean steps. - Req(post/postun) jpackage-utils * Mon Apr 25 2011 Mat Booth <fedora@matbooth.co.uk> 0.9.2-0.3.pre1 - Add a POM and Maven depmap. * Thu Feb 3 2011 Mat Booth <fedora@matbooth.co.uk> 0.9.2-0.2.pre1 - Patch to build with Java 1.6 (thanks to mcrawford for contributing a chunk of this.) - Other guideline mis-compliances fixed. * Fri Oct 8 2010 Tom "spot" Callaway <tcallawa@redhat.com> 0.9.2-0.1.pre1 - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor