packages java-fit.spec
      Pages: < 1 >  DOWNLOAD      
Name:          java-fit
Version:       1.1
Release:       2mamba
Summary:       Framework for Integrated Test (Java implementation)
Group:         Development/Libraries/Java
Vendor:        openmamba
Distribution:  openmamba
Packager:      gil <puntogil@...>
Patch0:        java-fit-1.1-javadoc.patch
License:       GPL
BuildRequires: apache-ant
BuildRequires: apache-ant-nodeps
BuildRequires: java-junit3
BuildRequires: jpackage-utils
BuildRequires: xerces-j2
BuildRequires: xml-commons-apis
Requires:      jpackage-utils
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

Great software requires collaboration and communication.
Fit is a tool for enhancing collaboration in software
development. It's an invaluable way to collaborate on
complicated problems--and get them right--early in

Fit allows customers, testers, and programmers to learn
what their software should do and what it does do. It
automatically compares customers' expectations to actual

%package javadoc
Group:          Documentation
Summary:        Javadoc for %{name}

%description javadoc
Fit is a framework for writing acceptance tests as
used in extreme programming (Java implementation).

This package contains javadoc for %{name}.


%setup -q -c %{name}-%{version}


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

for c in $(find . -name "*.class"); do
	rm -rf $c


cd source/imp/java
export CLASSPATH=$(build-classpath ant ant/ant-nodeps xercesImpl xml-commons-apis junit-3.8.2):output/classes
ant jars javadoc

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

mkdir -p %{buildroot}%{_javadir}

cd source/imp/java
install -pm 644 output/jars/fit.jar \

	cd %{buildroot}%{_javadir}/
	for jar in *-%{version}*; do
		ln -sf ${jar} ${jar/-%{version}/}

mkdir -p %{buildroot}%{_javadocdir}/fit-%{version}
cp -pr output/apidocs/* %{buildroot}%{_javadocdir}/fit-%{version}/
ln -sf fit-%{version} %{buildroot}%{_javadocdir}/fit

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

%doc license.txt readme.html

%files javadoc

* Sun Dec 05 2010 gil <puntogil@...> 1.1-2mamba
- rebuilt devel

* Sat Aug 14 2010 gil <puntogil@...> 1.1-1mamba
- package created by autospec