%global short_name commons-dbutils Name: apache-%{short_name} Version: 1.5 Release: %mkrel 8 Summary: Apache Commons DbUtils Package Group: Development/Java License: ASL 2.0 URL: http://commons.apache.org/dbutils/ Source0: http://www.apache.org/dist/commons/dbutils/source/%{short_name}-%{version}-src.tar.gz BuildArch: noarch BuildRequires: java-devel >= 1:1.6.0 BuildRequires: jpackage-utils BuildRequires: maven-local BuildRequires: hamcrest BuildRequires: maven-surefire-provider-junit4 BuildRequires: mockito Requires: java-headless >= 1:1.6.0 Requires: jpackage-utils %description DbUtils is a small set of classes designed to make working with JDBC easier. JDBC resource cleanup code is mundane, error prone work so these classes abstract out all of the cleanup tasks from your code leaving you with what you really wanted to do with JDBC in the first place: query and update data. %package javadoc Summary: Javadoc for %{name} Group: Documentation Requires: jpackage-utils %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n %{short_name}-%{version}-src sed -i 's/\r//' *.txt # Compatibility links %mvn_alias "%{short_name}:%{short_name}" "org.apache.commons:%{short_name}" %mvn_file :commons-dbutils %{short_name} %{name} %build %mvn_build %install %mvn_install %files -f .mfiles %doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt %files javadoc -f .mfiles-javadoc %doc LICENSE.txt NOTICE.txt %changelog * Wed Oct 15 2014 umeabot <umeabot> 1.5-8.mga5 + Revision: 748985 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.5-7.mga5 + Revision: 677800 - Mageia 5 Mass Rebuild * Sun Jun 01 2014 dmorgan <dmorgan> 1.5-6.mga5 + Revision: 630534 - Build with xmvn * Sat Oct 19 2013 umeabot <umeabot> 1.5-4.mga4 + Revision: 534538 - Mageia 4 Mass Rebuild * Thu Sep 12 2013 dmorgan <dmorgan> 1.5-3.mga4 + Revision: 478220 - Add missing maven-local BR * Fri Jan 11 2013 umeabot <umeabot> 1.5-2.mga3 + Revision: 345697 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Dec 04 2012 dmorgan <dmorgan> 1.5-1.mga3 + Revision: 326373 - New version * Thu Jul 05 2012 dmorgan <dmorgan> 1.4-1.mga3 + Revision: 267896 - New version * Tue Jul 19 2011 dmorgan <dmorgan> 1.3-2.mga2 + Revision: 126866 - imported package apache-commons-dbutils * Thu May 12 2011 Chris Spike <spike@fedoraproject.org> 1.3-2 - Removed defattr macros - Fixed groupId * Fri Apr 22 2011 Chris Spike <spike@fedoraproject.org> 1.3-1 - Initial version of the package