]> git.pld-linux.org Git - packages/java-avalon-framework.git/blob - java-avalon-framework.spec
- fix url
[packages/java-avalon-framework.git] / java-avalon-framework.spec
1 Summary:        The Avalon Framework
2 #Summary(pl):   
3 Name:           avalon-framework
4 Version:        4.3
5 Release:        0.1
6 License:        Apache v2.0
7 Group:          Libraries
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
16 BuildArch:      noarch
17 ExclusiveArch:  i586 i686 pentium3 pentium4 athlon %{x8664} noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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.
25
26 #%description -l pl
27
28 %prep
29 %setup -q -c -T
30 # double gzip... sigh.
31 zcat %{SOURCE0} | tar xz
32 zcat %{SOURCE1} | tar xz
33
34 %build
35 required_jars='junit'
36 export CLASSPATH="`/usr/bin/build-classpath $required_jars`"
37 export JAVA_HOME=%{java_home}
38 export JAVAC=%{javac}
39 export JAVA=%{java}
40
41 # nope.  doesn't work.  nooo-way.
42 cd %{name}-api-%{version}
43 %{ant}
44 cd ..
45
46 cd %{name}-impl-%{version}
47 %{ant}
48 cd ..
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_javadir}
53
54 # XXX
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %{_javadir}/*.jar
This page took 0.118449 seconds and 4 git commands to generate.