]>
Commit | Line | Data |
---|---|---|
8f3d38d4 JB |
1 | Summary: CACAO Java Virtual Machine |
2 | Summary(pl.UTF-8): CACAO JVM - wirtualna maszyna Javy | |
3 | Name: cacao | |
4 | Version: 0.98 | |
5 | Release: 0.1 | |
6 | License: GPL v2+ | |
7 | Group: Development/Languages/Java | |
8 | Source0: http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-%{version}/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 8b8907c8b925761c9410bcadb9705346 | |
10 | URL: http://www.cacaojvm.org/ | |
11 | BuildRequires: classpath-devel | |
12 | Requires: classpath | |
560daebf | 13 | ExclusiveArch: %{ix86} %{x8664} alpha arm hppa m68k mips mipsel ppc ppc64 s390 sparc64 |
8f3d38d4 JB |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
17 | CACAO is a Java Virtual Machine with a JIT compiler for various | |
18 | architectures. It includes the Boehm garbage collector and uses GNU | |
19 | Classpath as core Java library. | |
20 | ||
21 | %description -l pl.UTF-8 | |
22 | CACAO to maszyna wirtualna Javy (JVM) z kompilatorem JIT dla różnych | |
23 | architektur. Zawiera odśmiecacz (garbage collector) Boehma, a jako | |
24 | podstawową bibliotekę Javy wykorzystuje GNU Classpath. | |
25 | ||
26 | %prep | |
27 | %setup -q | |
28 | ||
29 | %build | |
30 | %configure \ | |
31 | --with-classpath-prefix=%{_libdir}/classpath \ | |
32 | --with-classpath-classes=%{_datadir}/glibj.zip \ | |
33 | --with-classpath-includedir=%{_includedir} | |
34 | %{__make} | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %{__make} install \ | |
40 | DESTDIR=$RPM_BUILD_ROOT | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %post -p /sbin/ldconfig | |
46 | %postun -p /sbin/ldconfig | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc AUTHORS ChangeLog* NEWS README THIRDPARTY | |
51 | %attr(755,root,root) %{_bindir}/cacao | |
52 | %attr(755,root,root) %{_bindir}/cacaodbgserver | |
53 | %attr(755,root,root) %{_bindir}/java | |
54 | %attr(755,root,root) %{_libdir}/libjdwp.so.*.*.* | |
55 | %attr(755,root,root) %{_libdir}/libjvm-*.so | |
56 | %dir %{_datadir}/cacao | |
57 | %{_datadir}/cacao/vm.zip | |
58 | %{_mandir}/man1/cacao.1* |