#
# spec file for package CBEant
#
# Copyright 2008 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%include CBE.inc
Name: CBEant
Version: 1.7.0
License: Apache, Public Domain, W3C
Distribution: JDS CBE
Vendor: Sun Microsystems, Inc.
Summary: JDS CBE: Apache Ant
Source: http://www.apache.org/dist/ant/binaries/apache-ant-%{version}-bin.tar.bz2
URL: http://ant.apache.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
SUNW_BaseDir: %{_prefix}
SUNW_Category: JDS,CBE,application
SUNW_Rev: @CBE_VERSION@
%include default-depend.inc
Requires: SUNWperl584core
%description
Apache Ant, a Java-based build tool, for the JDS build environment
%prep
%setup -q -n apache-ant-%{version}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_prefix}
cp -r bin lib $RPM_BUILD_ROOT%{_prefix}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, bin)
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/*
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/*
%changelog
* Mon Apr 14 2008 - [email protected]
- update deps
- use CBE.inc
* Tue Aug 22 2006 <[email protected]>
- fix %files attributes
- move to /opt/jdsbld by default
* Wed Aug 16 2006 <[email protected]>
- add missing deps
- bump to 1.6.5
* Mon May 24 2004 <[email protected]>
- install bin and lib only
* Fri May 07 2004 <[email protected]>
- initial version