[10186] | 1 | %define pkg_name sbcl |
---|
[11220] | 2 | %define pkg_version 1.4.1 |
---|
[10835] | 3 | %define pkg_release 1%{?_dist_release} |
---|
[10186] | 4 | |
---|
[10382] | 5 | %define sbcl 1 |
---|
| 6 | |
---|
[10186] | 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 |
---|
[10806] | 13 | Group: Development/Languages |
---|
[10186] | 14 | URL: http://www.sbcl.org/ |
---|
[10865] | 15 | SOURCE: %{name}-%{version}-source.tar.bz2 |
---|
[10186] | 16 | |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[10382] | 18 | |
---|
| 19 | %if !%{sbcl} |
---|
[10186] | 20 | BuildRequires: clisp |
---|
[10382] | 21 | %else |
---|
| 22 | BuildRequires: sbcl |
---|
| 23 | %endif |
---|
| 24 | |
---|
[10186] | 25 | BuildRequires: texinfo |
---|
[10382] | 26 | BuildRequires: texlive-common |
---|
[10186] | 27 | %if %{?_dist_release} == "vl6" |
---|
| 28 | BuildRequires: texlive-collection-texinfo |
---|
[10382] | 29 | %else |
---|
[11122] | 30 | BuildRequires: texlive-collection-plaingeneric |
---|
[10382] | 31 | BuildRequires: texlive-collection-fontsrecommended |
---|
[10186] | 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 |
---|
[10382] | 52 | %if !%{sbcl} |
---|
[10186] | 53 | sh make.sh "clisp" --prefix=%{_usr} |
---|
[10382] | 54 | %else |
---|
| 55 | sh make.sh --prefix=%{_usr} |
---|
| 56 | %endif |
---|
[10186] | 57 | |
---|
| 58 | cd doc/manual |
---|
[10382] | 59 | %{__make} pdf html info |
---|
[10186] | 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 |
---|
[10744] | 76 | %{_syssbindir}/install-info ${file} %{_infodir}/dir 2>/dev/null |
---|
[10186] | 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 |
---|
[10744] | 85 | %{_syssbindir}/install-info --delete ${file} %{_infodir}/dir \ |
---|
| 86 | 2>/dev/null |
---|
[10186] | 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 |
---|
[11220] | 105 | * Wed Nov 01 2017 Toshiaki Ara <ara_t@384.jp> 1.4.1-1 |
---|
| 106 | - new upstream release |
---|
| 107 | |
---|
[11194] | 108 | * Sun Oct 01 2017 Toshiaki Ara <ara_t@384.jp> 1.4.0-1 |
---|
| 109 | - new upstream release |
---|
| 110 | |
---|
[11154] | 111 | * Sat Sep 02 2017 Toshiaki Ara <ara_t@384.jp> 1.3.21-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
[11141] | 114 | * Fri Aug 01 2017 Toshiaki Ara <ara_t@384.jp> 1.3.20-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[11122] | 117 | * Sat Jul 01 2017 Toshiaki Ara <ara_t@384.jp> 1.3.19-1 |
---|
| 118 | - new upstream release |
---|
| 119 | - change to BuildRequires: texlive-collection-plaingeneric |
---|
| 120 | |
---|
[11089] | 121 | * Sat Jun 03 2017 Toshiaki Ara <ara_t@384.jp> 1.3.18-1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
[11057] | 124 | * Wed May 03 2017 Toshiaki Ara <ara_t@384.jp> 1.3.17-1 |
---|
| 125 | - new upstream release |
---|
| 126 | |
---|
[11025] | 127 | * Tue Apr 11 2017 Toshiaki Ara <ara_t@384.jp> 1.3.16-1 |
---|
| 128 | - new upstream release |
---|
| 129 | |
---|
[10870] | 130 | * Sat Jan 28 2017 Toshiaki Ara <ara_t@384.jp> 1.3.14-1 |
---|
| 131 | - new upstream release |
---|
| 132 | |
---|
[10865] | 133 | * Sat Dec 31 2016 Toshiaki Ara <ara_t@384.jp> 1.3.13-1 |
---|
| 134 | - new upstream release |
---|
| 135 | |
---|
[10835] | 136 | * Wed Nov 30 2016 Toshiaki Ara <ara_t@384.jp> 1.3.12-1 |
---|
| 137 | - new upstream release |
---|
| 138 | |
---|
[10806] | 139 | * Sun Nov 06 2016 Toshiaki Ara <ara_t@384.jp> 1.3.11-2 |
---|
| 140 | - change Group to Development/Languages |
---|
| 141 | |
---|
[10802] | 142 | * Wed Nov 02 2016 Toshiaki Ara <ara_t@384.jp> 1.3.11-1 |
---|
| 143 | - update to 1.3.11 |
---|
| 144 | |
---|
[10798] | 145 | * Sun Oct 02 2016 Toshiaki Ara <ara_t@384.jp> 1.3.10-1 |
---|
| 146 | - update to 1.3.10 |
---|
| 147 | |
---|
[10756] | 148 | * Wed Aug 31 2016 Toshiaki Ara <ara_t@384.jp> 1.3.9-1 |
---|
| 149 | - update to 1.3.9 |
---|
| 150 | |
---|
[10744] | 151 | * Tue Aug 02 2016 Toshiaki Ara <ara_t@384.jp> 1.3.8-1 |
---|
| 152 | - update to 1.3.8 |
---|
| 153 | |
---|
[10638] | 154 | * Mon Jul 18 2016 Toshiaki Ara <ara_t@384.jp> 1.3.7-1 |
---|
| 155 | - update to 1.3.7 |
---|
| 156 | |
---|
[10382] | 157 | * Sun Jun 19 2016 Toshiaki Ara <ara_t@384.jp> 1.3.6-1 |
---|
| 158 | - update to 1.3.6 |
---|
| 159 | - make PDF files for VineSeed |
---|
| 160 | |
---|
[10186] | 161 | * Sun Apr 17 2016 Toshiaki Ara <ara_t@384.jp> 1.3.4-1 |
---|
| 162 | - new package |
---|