/[packages]/cauldron/sbcl/current/SPECS/sbcl.spec
ViewVC logotype

Contents of /cauldron/sbcl/current/SPECS/sbcl.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 195336 - (show annotations) (download)
Thu Jan 12 16:35:39 2012 UTC (12 years, 3 months ago) by kamil
File size: 3411 byte(s)
SILENT : remove note that this file is to be reedited
1 %define bootstrap 1
2 %define threads 1
3
4 Name: sbcl
5 Version: 1.0.55
6 Release: %mkrel 1
7 Summary: Steel Bank Common Lisp compiler and runtime system
8 License: BSD
9 Group: Development/Other
10 URL: http://sbcl.sourceforge.net/
11 Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}-source.tar.bz2
12 Source10: customize-target-features.lisp
13 Patch1: %{name}-1.0.45-default-%{name}-home.patch
14 Patch2: %{name}-0.9.5-personality.patch
15 Patch3: %{name}-1.0.28-optflags.patch
16 Patch4: %{name}-0.9.17-LIB_DIR.patch
17 Patch5: %{name}-1.0.16-GNU_SOURCE.patch
18 # Allow override of contrib test failure(s)
19 Patch7: %{name}-1.0.2-permissive.patch
20
21 Requires(post): /sbin/install-info
22 Requires(preun):/sbin/install-info
23 # doc generation
24 BuildRequires: ghostscript
25 BuildRequires: texinfo
26 BuildRequires: texlive
27 BuildRequires: time
28 %if %{bootstrap}
29 BuildRequires: clisp
30 %else
31 BuildRequires: %{name}
32 %endif
33
34 %description
35 Steel Bank Common Lisp (SBCL) is a Open Source development environment for
36 Common Lisp. It includes an integrated native compiler, interpreter, and
37 debugger.
38
39
40 %prep
41 %setup -q
42 %patch1 -p0
43 %patch2 -p0
44 %patch3 -p0
45 %patch4 -p0
46 %patch5 -p0
47 %patch7 -p0
48
49 %if %{threads}
50 install -m644 -p %{_sourcedir}/customize-target-features.lisp ./customize-target-features.lisp
51 %endif
52
53 %build
54 #setup SBCL_HOME, DEFAULT_SBCL_HOME and RPM_OPT_FLAGS
55 #these variables are available thanks to patching
56 export SBCL_HOME=%{_libdir}/%{name}
57 export DEFAULT_SBCL_HOME=%{_libdir}/%{name}
58 export RPM_OPT_FLAGS=$(echo %optflags | sed -e "s/-fomit-frame-pointer//")
59
60 %if %{bootstrap}
61 sh make.sh "clisp"
62 %else
63 sh make.sh "%{name}"
64 %endif
65
66 make -C doc/manual
67
68 %install
69 unset SBCL_HOME
70 export INSTALL_ROOT=%{buildroot}%{_prefix}
71 export LIB_DIR=%{buildroot}%{_libdir}
72 sh install.sh
73
74 if test %{_docdir} != %{_prefix}/share/doc ;then
75 mkdir -p %{buildroot}%{_docdir}
76 mv %{buildroot}%{_prefix}/share/doc/%{name} %{buildroot}%{_docdir}/
77 fi
78
79 ## Unpackaged files
80 rm -f %{buildroot}%{_infodir}/dir
81 # CVS crud
82 find %{buildroot} -name CVS -type d | xargs rm -rf
83 find %{buildroot} -name .cvsignore | xargs rm -f
84 # 'test-passed' files from %%check
85 find %{buildroot} -name 'test-passed' | xargs rm -vf
86
87 %post
88 for info in %{name}.info.* %{name}.info-1.* %{name}.info-2.* asdf.info.*
89 do
90 %_install_info $info
91 done
92
93 %postun
94 for info in %{name}.info.* %{name}.info-1.* %{name}.info-2.* asdf.info.*
95 do
96 %_remove_install_info $info
97 done
98
99 %files
100 %doc %{_docdir}/%{name}
101 %{_bindir}/*
102 %{_libdir}/%{name}/asdf-install/*
103 %{_libdir}/%{name}/asdf/*
104 %{_libdir}/%{name}/sb-aclrepl/*
105 %{_libdir}/%{name}/sb-bsd-sockets/*
106 %{_libdir}/%{name}/sb-cltl2/*
107 %{_libdir}/%{name}/sb-concurrency/*.fasl
108 %{_libdir}/%{name}/sb-concurrency/*.lisp
109 %{_libdir}/%{name}/sb-concurrency/*.texinfo
110 %{_libdir}/%{name}/sb-concurrency/*.asd
111 %{_libdir}/%{name}/sb-concurrency/tests/*
112 %{_libdir}/%{name}/sb-concurrency/Makefile
113 %{_libdir}/%{name}/sb-cover/*
114 %{_libdir}/%{name}/sb-executable/*
115 %{_libdir}/%{name}/sb-grovel/*
116 %{_libdir}/%{name}/sb-introspect/*
117 %{_libdir}/%{name}/sb-md5/*
118 %{_libdir}/%{name}/sb-posix/*
119 %{_libdir}/%{name}/sb-queue/*
120 %{_libdir}/%{name}/sb-rotate-byte/*
121 %{_libdir}/%{name}/sb-rt/*
122 %{_libdir}/%{name}/sb-simple-streams/*
123 %{_libdir}/%{name}/sb-sprof/*
124 %{_libdir}/%{name}/%{name}.*
125 %{_infodir}/*
126 %{_mandir}/man?/*

  ViewVC Help
Powered by ViewVC 1.1.30