]>
Commit | Line | Data |
---|---|---|
24717ba3 | 1 | Summary: GNU Extension language |
2 | Name: guile | |
84437452 | 3 | Version: 1.3 |
4 | Release: 1 | |
24717ba3 | 5 | Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz |
84437452 | 6 | Copyright: GPL |
24717ba3 | 7 | Group: Development/Languages |
8 | Buildroot: /tmp/%{name}-%{version}-root | |
9 | Requires: umb-scheme | |
10 | Buildroot: /tmp/%{name}-%{version}-root | |
11 | ||
12 | Guile, a portable, embeddable Scheme implementation written in C. Guile | |
13 | Guile, a portable, embeddable Scheme implementation written in C. Guile | |
14 | provides a machine independent execution platform that can be linked in as a | |
15 | library when building extensible programs. | |
16 | %package devel | |
17 | Summary: Guile's libraries, header files, etc. | |
18 | Group: Development/Languages | |
19 | Requires: m4, %{name} = %{version} | |
20 | ||
21 | %description devel | |
22 | What's needed to develop apps linked w/ guile | |
23 | ||
24 | %package static | |
25 | Summary: Guile static libraries | |
26 | Group: Development/Languages | |
27 | Requires: %{name}-devel = %{version} | |
28 | ||
29 | %description static | |
30 | Guile static libraries. | |
31 | ||
32 | %prep | |
33 | %setup -q | |
34 | CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr --enable-dynamic-linking | |
35 | ||
36 | %build | |
37 | make | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | install -d $RPM_BUILD_ROOT/usr/share/guile/site | |
42 | make install prefix=$RPM_BUILD_ROOT/usr/ | |
43 | strip $RPM_BUILD_ROOT/usr/{lib/lib*.so.*.*,bin/guile} | |
44 | ||
45 | ln -s ../../lib/umb-scheme/slib $RPM_BUILD_ROOT/usr/share/guile/slib | |
46 | ||
47 | %post -p /sbin/ldconfig | |
48 | %postun -p /sbin/ldconfig | |
49 | ||
46512d9e | 50 | %clean |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
24717ba3 | 53 | %files |
54 | %defattr(644, root, root, 755) | |
55 | %attr(755, root, root) /usr/bin/* | |
56 | %attr(755, root, root) /usr/lib/lib*.so.*.* | |
57 | /usr/share/guile | |
58 | ||
59 | %files devel | |
60 | %defattr(644, root, root, 755) | |
61 | %doc AUTHORS ChangeLog GUILE-VERSION HACKING NEWS README TODO | |
62 | /usr/include/*.h | |
63 | /usr/include/guile | |
64 | /usr/include/libguile | |
65 | /usr/lib/lib*so | |
66 | %defattr(644,root,root,755) | |
67 | %attr(644,root,root) /usr/lib/*.a | |
68 | %attr(644, root, root) /usr/lib/lib*.a | |
69 |