1 | %define pkg_name sbcl |
---|
2 | %define pkg_version 1.3.20 |
---|
3 | %define pkg_release 1%{?_dist_release} |
---|
4 | |
---|
5 | %define sbcl 1 |
---|
6 | |
---|
7 | Summary: Steel Bank Common Lisp |
---|
8 | Name: %{pkg_name} |
---|
9 | Version: %{pkg_version} |
---|
10 | Release: %{pkg_release} |
---|
11 | |
---|
12 | License: A mixture of BSD-style and public domain |
---|
13 | Group: Development/Languages |
---|
14 | URL: http://www.sbcl.org/ |
---|
15 | SOURCE: %{name}-%{version}-source.tar.bz2 |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | |
---|
19 | %if !%{sbcl} |
---|
20 | BuildRequires: clisp |
---|
21 | %else |
---|
22 | BuildRequires: sbcl |
---|
23 | %endif |
---|
24 | |
---|
25 | BuildRequires: texinfo |
---|
26 | BuildRequires: texlive-common |
---|
27 | %if %{?_dist_release} == "vl6" |
---|
28 | BuildRequires: texlive-collection-texinfo |
---|
29 | %else |
---|
30 | BuildRequires: texlive-collection-plaingeneric |
---|
31 | BuildRequires: texlive-collection-fontsrecommended |
---|
32 | %endif |
---|
33 | |
---|
34 | Vendor: Project Vine |
---|
35 | Distribution: Vine Linux |
---|
36 | Packager: ara_t |
---|
37 | |
---|
38 | |
---|
39 | %description |
---|
40 | Steel Bank Common Lisp (SBCL) is a high performance Common Lisp compiler. |
---|
41 | It is open source / free software, with a permissive license. |
---|
42 | In addition to the compiler and runtime system for ANSI Common Lisp, |
---|
43 | it provides an interactive environment including a debugger, |
---|
44 | a statistical profiler, a code coverage tool, and many other extensions. |
---|
45 | |
---|
46 | |
---|
47 | %prep |
---|
48 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
49 | %setup -q |
---|
50 | |
---|
51 | %build |
---|
52 | %if !%{sbcl} |
---|
53 | sh make.sh "clisp" --prefix=%{_usr} |
---|
54 | %else |
---|
55 | sh make.sh --prefix=%{_usr} |
---|
56 | %endif |
---|
57 | |
---|
58 | cd doc/manual |
---|
59 | %{__make} pdf html info |
---|
60 | |
---|
61 | %install |
---|
62 | export INSTALL_ROOT=${RPM_BUILD_ROOT}%{_prefix} |
---|
63 | sh install.sh |
---|
64 | |
---|
65 | %{__rm} ${RPM_BUILD_ROOT}%{_infodir}/dir |
---|
66 | %{__mv} ${RPM_BUILD_ROOT}%{_docdir}/sbcl/*.html \ |
---|
67 | ${RPM_BUILD_ROOT}%{_docdir}/sbcl/html |
---|
68 | |
---|
69 | %{__mv} ${RPM_BUILD_ROOT}%{_docdir}/sbcl \ |
---|
70 | ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version} |
---|
71 | |
---|
72 | %post |
---|
73 | for doc in asdf sbcl; do |
---|
74 | file=%{_infodir}/${doc}.info.gz |
---|
75 | if [ -e ${file} ]; then |
---|
76 | %{_syssbindir}/install-info ${file} %{_infodir}/dir 2>/dev/null |
---|
77 | fi |
---|
78 | done |
---|
79 | |
---|
80 | %preun |
---|
81 | if [ $1 = 0 ]; then |
---|
82 | for doc in asdf sbcl; do |
---|
83 | file=%{_infodir}/${doc}.info.gz |
---|
84 | if [ -e ${file} ]; then |
---|
85 | %{_syssbindir}/install-info --delete ${file} %{_infodir}/dir \ |
---|
86 | 2>/dev/null |
---|
87 | fi |
---|
88 | done |
---|
89 | fi |
---|
90 | |
---|
91 | %clean |
---|
92 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
93 | |
---|
94 | |
---|
95 | %files |
---|
96 | %defattr(-, root, root) |
---|
97 | %{_bindir}/ |
---|
98 | /usr/lib/sbcl/ |
---|
99 | %{_docdir}/sbcl-%{version} |
---|
100 | %{_infodir}/ |
---|
101 | %{_mandir}/man1/ |
---|
102 | |
---|
103 | |
---|
104 | %changelog |
---|
105 | * Fri Aug 01 2017 Toshiaki Ara <ara_t@384.jp> 1.3.20-1 |
---|
106 | - new upstream release |
---|
107 | |
---|
108 | * Sat Jul 01 2017 Toshiaki Ara <ara_t@384.jp> 1.3.19-1 |
---|
109 | - new upstream release |
---|
110 | - change to BuildRequires: texlive-collection-plaingeneric |
---|
111 | |
---|
112 | * Sat Jun 03 2017 Toshiaki Ara <ara_t@384.jp> 1.3.18-1 |
---|
113 | - new upstream release |
---|
114 | |
---|
115 | * Wed May 03 2017 Toshiaki Ara <ara_t@384.jp> 1.3.17-1 |
---|
116 | - new upstream release |
---|
117 | |
---|
118 | * Tue Apr 11 2017 Toshiaki Ara <ara_t@384.jp> 1.3.16-1 |
---|
119 | - new upstream release |
---|
120 | |
---|
121 | * Sat Jan 28 2017 Toshiaki Ara <ara_t@384.jp> 1.3.14-1 |
---|
122 | - new upstream release |
---|
123 | |
---|
124 | * Sat Dec 31 2016 Toshiaki Ara <ara_t@384.jp> 1.3.13-1 |
---|
125 | - new upstream release |
---|
126 | |
---|
127 | * Wed Nov 30 2016 Toshiaki Ara <ara_t@384.jp> 1.3.12-1 |
---|
128 | - new upstream release |
---|
129 | |
---|
130 | * Sun Nov 06 2016 Toshiaki Ara <ara_t@384.jp> 1.3.11-2 |
---|
131 | - change Group to Development/Languages |
---|
132 | |
---|
133 | * Wed Nov 02 2016 Toshiaki Ara <ara_t@384.jp> 1.3.11-1 |
---|
134 | - update to 1.3.11 |
---|
135 | |
---|
136 | * Sun Oct 02 2016 Toshiaki Ara <ara_t@384.jp> 1.3.10-1 |
---|
137 | - update to 1.3.10 |
---|
138 | |
---|
139 | * Wed Aug 31 2016 Toshiaki Ara <ara_t@384.jp> 1.3.9-1 |
---|
140 | - update to 1.3.9 |
---|
141 | |
---|
142 | * Tue Aug 02 2016 Toshiaki Ara <ara_t@384.jp> 1.3.8-1 |
---|
143 | - update to 1.3.8 |
---|
144 | |
---|
145 | * Mon Jul 18 2016 Toshiaki Ara <ara_t@384.jp> 1.3.7-1 |
---|
146 | - update to 1.3.7 |
---|
147 | |
---|
148 | * Sun Jun 19 2016 Toshiaki Ara <ara_t@384.jp> 1.3.6-1 |
---|
149 | - update to 1.3.6 |
---|
150 | - make PDF files for VineSeed |
---|
151 | |
---|
152 | * Sun Apr 17 2016 Toshiaki Ara <ara_t@384.jp> 1.3.4-1 |
---|
153 | - new package |
---|