packages java-pack200-ant-task.spec
      Pages: < 1 >  DOWNLOAD      
Name:          java-pack200-ant-task
Version:       0.1
Release:       2mamba
Summary:       Java™ Pack200 External Task for Ant
Group:         Development/Tools
Vendor:        openmamba
Distribution:  openmamba
Packager:      gil <puntogil@...>
# + /usr/bin/unzip -qq /usr/src/RPM/SOURCES/
# warning:  stripped absolute path spec from /
# mapname:  conversion of  failed
# warning:  stripped absolute path spec from /README
# warning:  stripped absolute path spec from /Pack200Task.jar
Source:        ant-task-0.1-repackage.tar.gz
License:       Sun Public License
BuildRequires: apache-ant
BuildRequires: jpackage-utils
Requires:      jpackage-utils
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

These task provide an interface to the Java Pack200 API. The implementation
follows the pack200(1) command line interface. All the functionality of the
pack200(1) can be accomplished by this task. The primary advantage of
using this task over calling the CLI from ANT is performance. The user
is encourage to familiarize themselves with java.util.jar.pack.Pack200,
before using these Tasks.


%setup -q -n ant-task

for j in $(find . -name "*.jar"); do
   	mv $j $

sed -i "s|src/share|src|" make/build.xml


export CLASSPATH=$(build-classpath ant)
ant -buildfile make/build.xml all

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

mkdir -p %{buildroot}%{_javadir}
install -pm 644 dist/Pack200Task.jar \

	cd %{buildroot}%{_javadir}
	for jar in *-%{version}.jar; do
		ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
	ln -sf pack200task-%{version}.jar %{buildroot}%{_javadir}/Pack200Task-%{version}.jar

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%doc README doc/*

* Thu Nov 25 2010 gil <puntogil@...> 0.1-2mamba
- rebuilt devel

* Sat Sep 04 2010 gil <puntogil@...> 0.1-1mamba
- package created by autospec