[521] | 1 | %define year 2002 |
---|
| 2 | %define month 07 |
---|
| 3 | %define day 25 |
---|
| 4 | %define name clisp |
---|
[4049] | 5 | %define version 2.49 |
---|
[5972] | 6 | %define release 2%{?_dist_release} |
---|
[521] | 7 | %define clisp_build vine |
---|
| 8 | |
---|
| 9 | Summary: Common Lisp (ANSI CL) implementation |
---|
| 10 | Summary(ja): 関数型言語 Common Lisp (ANSI CL) の実装 |
---|
| 11 | Name: clisp |
---|
| 12 | Version: %{version} |
---|
| 13 | Release: %{release} |
---|
| 14 | Icon: clisp.gif |
---|
| 15 | License: GPL |
---|
| 16 | Group: Development/Languages |
---|
[4049] | 17 | Source: ftp://ftp.gnu.org/pub/gnu/clisp/release/%{version}/%{name}-%{version}.tar.bz2 |
---|
[521] | 18 | Patch0: clisp-2.47-cpp.patch |
---|
| 19 | #Patch: %{name}-2.32-hfs.patch |
---|
| 20 | #Patch1: %{name}-2.27-dvi.patch |
---|
| 21 | |
---|
[4049] | 22 | URL: http://www.clisp.org/ |
---|
[521] | 23 | Provides: clisp, ansi-cl |
---|
| 24 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 25 | BuildRequires: imake |
---|
| 26 | BuildRequires: libsigsegv-devel |
---|
| 27 | BuildRequires: readline-devel |
---|
| 28 | BuildRequires: dbus-devel |
---|
| 29 | BuildRequires: diffutils |
---|
| 30 | BuildRequires: fcgi-devel |
---|
| 31 | BuildRequires: ffcall |
---|
| 32 | BuildRequires: gdbm-devel |
---|
| 33 | BuildRequires: gettext |
---|
| 34 | BuildRequires: gtk2-devel |
---|
| 35 | BuildRequires: libICE-devel |
---|
| 36 | BuildRequires: libSM-devel |
---|
| 37 | BuildRequires: libX11-devel |
---|
| 38 | BuildRequires: libXaw-devel |
---|
| 39 | BuildRequires: libXext-devel |
---|
| 40 | BuildRequires: libXft-devel |
---|
| 41 | BuildRequires: libXmu-devel |
---|
| 42 | BuildRequires: libXrender-devel |
---|
| 43 | BuildRequires: libXt-devel |
---|
| 44 | BuildRequires: libglade2-devel |
---|
| 45 | BuildRequires: pcre-devel |
---|
| 46 | BuildRequires: postgresql-devel |
---|
| 47 | BuildRequires: zlib-devel |
---|
| 48 | |
---|
| 49 | %description |
---|
| 50 | Common Lisp is a high-level, general-purpose, object-oriented, dynamic, |
---|
| 51 | functional programming language. |
---|
| 52 | |
---|
| 53 | CLISP is a Common Lisp implementation by Bruno Haible, then of Karlsruhe |
---|
| 54 | University, and Michael Stoll, then of Munich University, both in Germany. |
---|
| 55 | It supports the Lisp described in the ANSI Common Lisp standard plus many |
---|
| 56 | extensions. |
---|
| 57 | |
---|
| 58 | CLISP includes an interpreter, a compiler, a debugger, CLOS, MOP, a foreign |
---|
| 59 | language interface, i18n, regular expressions, a socket interface, and more. |
---|
| 60 | An X11 interface is available through CLX, Garnet and CLUE/CLIO. Command line |
---|
| 61 | editing is provided by readline. CLISP runs Maxima, ACL2 and many other |
---|
| 62 | Common Lisp packages. |
---|
| 63 | |
---|
| 64 | CLISP runs on most GNU and Unix systems (Linux, FreeBSD, NetBSD, OpenBSD, |
---|
| 65 | Solaris, Tru64, HP-UX, BeOS, NeXTstep, IRIX, AIX and others) and on other |
---|
| 66 | systems (Windows NT/2000/XP, Windows 95/98/ME) and needs only 4 MB of RAM. |
---|
| 67 | |
---|
| 68 | CLISP is Free Software and may be distributed under the terms of GNU GPL. |
---|
| 69 | You may distribute commercial proprietary applications compiled with CLISP, |
---|
| 70 | see file COPYRIGHT in the CLISP distribution. |
---|
| 71 | |
---|
| 72 | The user interface comes in English, German, French, Spanish, Dutch, Russian |
---|
| 73 | and Danish, and can be changed at run time. |
---|
| 74 | |
---|
| 75 | %prep |
---|
| 76 | %setup -q |
---|
| 77 | sed -i 's|http://www.lisp.org/HyperSpec/|http://www.lispworks.com/documentation/HyperSpec/|g' \ |
---|
| 78 | doc/* src/*.d src/*.lisp |
---|
| 79 | |
---|
| 80 | %build |
---|
| 81 | %ifarch ppc ppc64 |
---|
[5972] | 82 | %define opt_flags "%{optflags} -DNO_GENERATIONAL_GC -DNO_MULTIMAP_FILE -DNO_SINGLEMAP" |
---|
[521] | 83 | ulimit -s unlimited |
---|
| 84 | %else |
---|
[5972] | 85 | %define opt_flags "%{optflags}" |
---|
[521] | 86 | %endif |
---|
| 87 | |
---|
| 88 | ./configure --prefix=%{_prefix} \ |
---|
| 89 | --libdir=%{_libdir} \ |
---|
| 90 | --mandir=%{_mandir} \ |
---|
| 91 | --docdir=%{_docdir}/clisp-%{version} \ |
---|
| 92 | --fsstnd=redhat \ |
---|
| 93 | --hyperspec=http://www.lispworks.com/documentation/HyperSpec/ \ |
---|
| 94 | --with-module=bindings/glibc \ |
---|
| 95 | --with-module=clx/new-clx \ |
---|
| 96 | --with-module=dbus \ |
---|
| 97 | --with-module=fastcgi \ |
---|
| 98 | --with-module=gdbm \ |
---|
| 99 | --with-module=gtk2 \ |
---|
| 100 | --with-module=i18n \ |
---|
| 101 | --with-module=pcre \ |
---|
| 102 | --with-module=postgresql \ |
---|
| 103 | --with-module=rawsock \ |
---|
| 104 | --with-module=regexp \ |
---|
| 105 | --with-module=syscalls \ |
---|
| 106 | --with-module=wildcard \ |
---|
| 107 | --with-module=zlib \ |
---|
| 108 | --with-readline \ |
---|
| 109 | --cbc \ |
---|
| 110 | build CFLAGS=%opt_flags |
---|
| 111 | |
---|
| 112 | %install |
---|
[5972] | 113 | rm -rf %{buildroot} |
---|
| 114 | make -C build DESTDIR=%{buildroot} install |
---|
| 115 | rm -f %{buildroot}%{_docdir}/clisp-%{version}/doc/clisp.{dvi,1,ps} |
---|
| 116 | cp -p doc/mop-spec.pdf %{buildroot}%{_docdir}/clisp-%{version}/doc |
---|
| 117 | cp -p doc/*.png %{buildroot}%{_docdir}/clisp-%{version}/doc |
---|
| 118 | cp -p doc/Why-CLISP* %{buildroot}%{_docdir}/clisp-%{version}/doc |
---|
| 119 | cp -p doc/regexp.html %{buildroot}%{_docdir}/clisp-%{version}/doc |
---|
| 120 | find %{buildroot}%{_libdir} -name '*.dvi' | xargs rm -f |
---|
[521] | 121 | %find_lang %{name} |
---|
| 122 | %find_lang %{name}low |
---|
| 123 | cat %{name}low.lang >> %{name}.lang |
---|
| 124 | |
---|
[4049] | 125 | ## ad-hoc fix <BTS:VineLinux:825>: '--vimdir' option is broken... |
---|
[5972] | 126 | %__mkdir_p %{buildroot}%{_sysconfdir}/vim |
---|
| 127 | %__mv %{buildroot}%{_datadir}/vim/vimfiles/after %{buildroot}%{_sysconfdir}/vim |
---|
[521] | 128 | |
---|
| 129 | %clean |
---|
| 130 | rm -rf %{buildroot} |
---|
| 131 | |
---|
| 132 | |
---|
| 133 | %files -f %{name}.lang |
---|
| 134 | %defattr(-,root,root,-) |
---|
| 135 | %{_bindir}/%{name} |
---|
| 136 | %{_mandir}/man1/* |
---|
| 137 | %{_libdir}/%{name}-%{version} |
---|
| 138 | %{_datadir}/aclocal/*.m4 |
---|
| 139 | %{_datadir}/emacs/site-lisp/* |
---|
[4049] | 140 | %{_sysconfdir}/vim |
---|
[521] | 141 | %doc %{_docdir}/clisp-%{version} |
---|
| 142 | |
---|
| 143 | %changelog |
---|
[5972] | 144 | * Fri Mar 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.49-2 |
---|
| 145 | - rebuild with current ffcall |
---|
| 146 | |
---|
[4049] | 147 | * Tue Apr 19 2011 IWAI, Masaharu <iwai@alib.jp> 2.49-1 |
---|
| 148 | - new upstream release |
---|
| 149 | - ad-hoc fix <BTS:VineLinux:825>: but '--vimdir' option is broken... |
---|
| 150 | |
---|
[3418] | 151 | * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 2.48-2 |
---|
| 152 | - rebuilt with postgresql-9.0.3 |
---|
| 153 | |
---|
[521] | 154 | * Sat Mar 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.48-1 |
---|
| 155 | - new upstream release |
---|
| 156 | - built with new toolchain, libsigsegv-2.8 |
---|
| 157 | - updated build dependencies |
---|
| 158 | |
---|
| 159 | * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 2.43-1vl5 |
---|
| 160 | - applied new versioning policy, spec in utf-8 |
---|
| 161 | |
---|
| 162 | * Mon Nov 26 2007 Shu KONNO <owa@bg.wakwak.ne.jp> 2.43-0vl1 |
---|
| 163 | - version up to 2.43 |
---|
| 164 | - updated source url |
---|
| 165 | - changed %%{_libdir}/clisp to %%{_libdir}/clisp-%%{version} |
---|
| 166 | - added option "--libdir=%%{_libdir}" to configure for lib64 |
---|
| 167 | |
---|
| 168 | * Sun Mar 18 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> 2.41-0vl1 |
---|
| 169 | - version up to 2.41 |
---|
| 170 | - add BuildRequires : readline-devel, gettext, libsigsegv-devel |
---|
| 171 | - update %%description, %%files, configure options |
---|
| 172 | - drop hfs patch |
---|
| 173 | |
---|
| 174 | * Tue Jan 6 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.32-0vl1 |
---|
| 175 | - version up to 2.32 |
---|
| 176 | - rebuild with new toolchains |
---|
| 177 | - updated hfs patch |
---|
| 178 | |
---|
| 179 | * Sat Aug 25 2002 Yoshihiro Ota <ota@j.email.ne.jp> |
---|
| 180 | - version up to 2.29 |
---|
| 181 | |
---|
| 182 | * Sat Mar 9 2002 Yoshihiro Ota <ota@j.email.ne.jp> |
---|
| 183 | - version up to 2.28 |
---|
| 184 | - added BuildRequires : ncurses-devel and removed groff patch |
---|
| 185 | |
---|
| 186 | * Fri Jan 18 2002 Yoshihiro Ota <ota@j.email.ne.jp> |
---|
| 187 | - create rpm for release 2.27 |
---|