OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [classpath/] [scripts/] [classpath.spec.in] - Blame information for rev 791

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 777 jeremybenn
# $Id: classpath.spec.in,v 1.3 2006/12/10 20:25:50 gnu_andrew Exp $
2
 
3
%define version_num @PACKAGE_VERSION@
4
%define release_num 1
5
 
6
Summary: GNU Classpath Java class libraries
7
Name: classpath
8
Version: %{version_num}
9
Release: %{release_num}
10
Group: Development/Tools
11
Copyright: GPL+exception
12
URL: http://www.classpath.org/
13
BuildRoot: %{_tmppath}/%{name}-root
14
BuildRequires: jikes, zip
15
Packager: GNU Classpath 
16
Source: ftp://ftp.gnu.org/pub/gnu/classpath/classpath-%{version_num}.tar.gz
17
 
18
%description
19
GNU Classpath, Essential Libraries for Java, is a GNU project to create
20
free core class libraries for use with virtual machines and compilers
21
for the Java programming language.
22
 
23
%prep
24
%setup -n classpath-%{version_num}
25
 
26
%build
27
pushd ${RPM_BUILD_DIR}/classpath-%{version_num}
28
# Determine if we can build the GTK stuff
29
GTKPEER='disable'
30
if pkg-config --exists 'gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0'; then
31
    GTKPEER='enable'
32
fi
33
%configure --with-jikes --enable-jni --${GTKPEER}-gtk-peer
34
make
35
popd
36
 
37
%install
38
pushd ${RPM_BUILD_DIR}/classpath-%{version_num}
39
%{makeinstall}
40
popd
41
 
42
pushd ${RPM_BUILD_ROOT}/%{_infodir}
43
rm -f dir
44
for i in *; do
45
    mv $i classpath-$i
46
done
47
popd
48
 
49
%post -p /sbin/ldconfig
50
 
51
%postun -p /sbin/ldconfig
52
 
53
%clean
54
rm -rf ${RPM_BUILD_ROOT}
55
 
56
%files
57
%defattr(-,root,root)
58
%doc AUTHORS COPYING LICENSE README THANKYOU
59
%{_libdir}/classpath
60
%dir %{_datadir}/classpath
61
%{_libdir}/security/classpath.security
62
%{_datadir}/classpath/glibj.zip
63
%doc %{_datadir}/classpath/api
64
%doc %{_datadir}/classpath/examples
65
%doc %{_infodir}/*
66
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.