Name: apache-ivy Version: 2.4.0 Release: 2%{?dist} Summary: Java-based dependency manager License: ASL 2.0 URL: http://ant.apache.org/ivy Source0: http://www.apache.org/dist/ant/ivy/%{version}/%{name}-%{version}-src.tar.gz BuildArch: noarch # Non-upstreamable. Add /etc/ivy/ivysettings.xml at the end list of # settings files Ivy tries to load. This file will be used only as # last resort, when no other setting files exist. Patch0: %{name}-global-settings.patch # probably upstreamable, missing test case Patch1: port-to-bc-1.52.patch Provides: ivy = %{version}-%{release} BuildRequires: ant BuildRequires: ant-contrib BuildRequires: ant-testutil BuildRequires: apache-commons-vfs BuildRequires: apache-commons-lang BuildRequires: bouncycastle BuildRequires: bouncycastle-pg BuildRequires: jakarta-commons-httpclient BuildRequires: jsch BuildRequires: jakarta-oro BuildRequires: apache-commons-parent BuildRequires: sonatype-oss-parent BuildRequires: apache-parent BuildRequires: ivy-local >= 4 BuildRequires: jsch-agent-proxy-connector-factory BuildRequires: jsch-agent-proxy-core BuildRequires: jsch-agent-proxy-jsch %description Apache Ivy is a tool for managing (recording, tracking, resolving and reporting) project dependencies. It is designed as process agnostic and is not tied to any methodology or structure. while available as a standalone tool, Apache Ivy works particularly well with Apache Ant providing a number of powerful Ant tasks ranging from dependency resolution to dependency reporting and publication. %package javadoc Summary: API Documentation for ivy Group: Development/Tools %description javadoc JavaDoc documentation for %{name} %prep %setup -q %patch0 %patch1 -p1 %mvn_alias : jayasoft:ivy %mvn_file : %{name}/ivy ivy # Fix messed-up encodings for F in README LICENSE NOTICE do sed 's/\r//' $F |iconv -f iso8859-1 -t utf8 >$F.utf8 touch -r $F $F.utf8 mv $F.utf8 $F done # ant-trax has been obsoleted, use main ant package sed -i s/ant-trax/ant/ ivy.xml # Fedora bouncycastle packages provide -jdk16 artifacts only sed -i /bouncycastle/s/jdk14/jdk16/ ivy.xml # Port from commons-vfs 1.x to 2.x sed -i "s/commons.vfs/&2/" src/java/org/apache/ivy/plugins/repository/vfs/* # Remove prebuilt documentation rm -rf doc build/doc # Publish artifacts through XMvn sed -i /ivy:publish/s/local/xmvn/ build.xml %build %ant -Divy.mode=local -Dtarget.ivy.bundle.version=%{version} -Dtarget.ivy.bundle.version.qualifier= -Dtarget.ivy.version=%{version} jar javadoc publish-local %install %mvn_install -J build/doc/reports/api mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ant.d echo "apache-ivy/ivy" > $RPM_BUILD_ROOT%{_sysconfdir}/ant.d/%{name} %files -f .mfiles %{_sysconfdir}/ant.d/%{name} %doc README %license LICENSE NOTICE %files javadoc -f .mfiles-javadoc %license LICENSE NOTICE %changelog * Mon May 04 2015 Michal Srb - 2.4.0-2 - Port to bouncycastle 1.52 * Wed Apr 1 2015 Mikolaj Izdebski - 2.4.0-1 - Update to upstream version 2.4.0 * Fri Sep 19 2014 Mikolaj Izdebski - 2.3.0-17 - Add compat symlink for ivy.jar * Mon Aug 11 2014 Mikolaj Izdebski - 2.3.0-16 - Add alias for jayasoft:ivy * Thu Jun 26 2014 Michal Srb - 2.3.0-15 - Drop workaround for broken apache-ivy * Thu Jun 26 2014 Michal Srb - 2.3.0-14 - Fix /etc/ant.d/apache-ivy (Resolves: rhbz#1113275) * Mon Jun 23 2014 Michal Srb - 2.3.0-13 - Add BR on missing parent POMs * Mon Jun 09 2014 Michal Srb - 2.3.0-12 - Add missing BR: apache-commons-lang * Sat Jun 07 2014 Fedora Release Engineering - 2.3.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu May 29 2014 Mikolaj Izdebski - 2.3.0-10 - Use features of XMvn 2.0.0 * Thu Jan 16 2014 Mikolaj Izdebski - 2.3.0-9 - BuildRequire ivy-local >= 3.5.0-2 * Thu Jan 16 2014 Mikolaj Izdebski - 2.3.0-8 - Build with ivy-local - Add patch for global settings * Thu Jan 02 2014 Michal Srb - 2.3.0-7 - Remove prebuilt documentation in %%prep - Install NOTICE file with javadoc subpackage * Thu Jan 02 2014 Michal Srb - 2.3.0-6 - Restore PGP signing ability - Remove unneeded R * Thu Dec 12 2013 Mikolaj Izdebski - 2.3.0-5 - Enable VFS resolver * Wed Dec 4 2013 Mikolaj Izdebski - 2.3.0-4 - Install POM files, resolves: rhbz#1032258 - Remove explicit requires; auto-requires are in effect now * Fri Nov 1 2013 Mikolaj Izdebski - 2.3.0-3 - Add Maven depmap * Sat Aug 03 2013 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Mar 1 2013 Alexander Kurtakov 2.3.0-1 - Update to latest upstream. * Wed Feb 13 2013 Fedora Release Engineering - 2.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Jul 31 2012 Alexander Kurtakov 2.2.0-5 - Fix osgi metadata. * Wed Jul 18 2012 Fedora Release Engineering - 2.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 2.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jul 6 2011 Alexander Kurtakov 2.2.0-2 - Fix ant integration. * Fri Feb 25 2011 Alexander Kurtakov 2.2.0-1 - Update to 2.2.0. * Mon Feb 07 2011 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Nov 09 2009 Lubomir Rintel - 2.1.0-1 - Initial Fedora packaging