diff --git a/apache-ivy.spec b/apache-ivy.spec index 6583a57..2d840a1 100644 --- a/apache-ivy.spec +++ b/apache-ivy.spec @@ -1,13 +1,31 @@ +# +# spec file for package apache-ivy +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + Name: apache-ivy Version: 2.2.0 Release: 1%{?dist} Summary: Java-based dependency manager - -Group: Development/Tools/Building License: Apache-2.0 -URL: http://ant.apache.org/ivy/ +Group: Development/Tools/Building + +Url: http://ant.apache.org/ivy/ Source0: http://www.apache.org/dist/ant/ivy/2.1.0/%{name}-%{version}-src.tar.gz -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Provides: ivy = %{version}-%{release} @@ -19,11 +37,11 @@ BuildRequires: jakarta-commons-httpclient3 %else BuildRequires: commons-httpclient %endif +BuildRequires: bouncycastle +BuildRequires: java-devel >= 1.5 +BuildRequires: jpackage-utils BuildRequires: jsch BuildRequires: oro -BuildRequires: java-devel >= 1.5 -BuildRequires: bouncycastle -BuildRequires: jpackage-utils Requires: jpackage-utils %description @@ -58,7 +76,6 @@ done #TODO: return back when bouncycastle-pgp will be available rm -fr src/java/org/apache/ivy/plugins/signer/bouncycastle - %build # Remove prebuilt documentation rm -rf doc build/doc @@ -82,7 +99,6 @@ commons-httpclient # Build ant /localivy /offline jar javadoc - %install rm -rf $RPM_BUILD_ROOT @@ -95,22 +111,16 @@ ln -sf ivy-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/ivy.jar install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} cp -rp build/doc/reports/api/. $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} - %clean rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) %{_javadir}/* %doc RELEASE_NOTES CHANGES.txt LICENSE NOTICE README - %files javadoc %defattr(-,root,root,-) %{_javadocdir}/* - %changelog -* Mon Nov 09 2009 Lubomir Rintel - 2.1.0-1 -- Initial Fedora packaging