1 Summary: The Avalon Framework
8 Source0: http://www.apache.org/dist/excalibur/%{name}/source/%{name}-api-%{version}-src.tar.gz
9 # Source0-md5: 9dd92ffe60d3375eb386cde18039acf1
10 Source1: http://www.apache.org/dist/excalibur/%{name}/source/%{name}-impl-%{version}-src.tar.gz
11 # Source1-md5: 8b792355d6719ab4f02dc6a59fc21dcc
12 URL: http://excalibur.apache.org/framework/
13 BuildRequires: ant >= 1.5
14 BuildRequires: jpackage-utils
15 BuildRequires: rpmbuild(macros) >= 1.300
17 ExclusiveArch: i586 i686 pentium3 pentium4 athlon %{x8664} noarch
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 The Avalon Framework consists of interfaces that define relationships
22 between commonly used application components, best-of-practice pattern
23 enforcements, and several lightweight convenience implementations of
24 the generic components.
30 # double gzip... sigh.
31 zcat %{SOURCE0} | tar xz
32 zcat %{SOURCE1} | tar xz
36 export CLASSPATH="`/usr/bin/build-classpath $required_jars`"
37 export JAVA_HOME=%{java_home}
41 # nope. doesn't work. nooo-way.
42 cd %{name}-api-%{version}
46 cd %{name}-impl-%{version}
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_javadir}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)