110 lines
3.3 KiB
RPMSpec
110 lines
3.3 KiB
RPMSpec
|
Name: umb-scheme
|
||
|
Version: 3.2
|
||
|
Release: 5mamba
|
||
|
Summary: An implementation of the Scheme programming language.
|
||
|
Group: Development/Applications
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.cs.umb.edu/~wrc/scheme/
|
||
|
Source: http://www.cs.umb.edu/~wrc/scheme/umb-scheme-%{version}.tar.gz
|
||
|
#Source1: http://swissnet.ai.mit.edu/ftpdir/scm/slib2d5.zip
|
||
|
Source2: slibcat
|
||
|
Patch0: %{name}-3.2-misc.patch
|
||
|
Patch1: %{name}-3.2-texinfo.patch
|
||
|
Patch2: %{name}-3.2-config.patch
|
||
|
Patch3: %{name}-3.2-man.patch
|
||
|
Patch4: %{name}-3.2-chapter.patch
|
||
|
Patch5: %{name}-3.2-slib2c7.patch
|
||
|
Patch6: %{name}-3.2-share.patch
|
||
|
Patch7: %{name}-3.2-vi.patch
|
||
|
License: GPL
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
Requires(post):%{__install_info}
|
||
|
Requires: slib
|
||
|
|
||
|
%description
|
||
|
UMB Scheme is a public domain implementation of the Scheme programming language.
|
||
|
Scheme is a statically scoped and properly tail-recursive dialect of the Lisp programming language, designed with clear and simple semantics and a minimal number of ways to form expressions.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n scheme-3.2
|
||
|
rm -fr slib
|
||
|
#unzip -q -o %{SOURCE1}
|
||
|
%patch0 -p1
|
||
|
%patch1 -p1
|
||
|
%patch2 -p1
|
||
|
%patch3 -p1
|
||
|
%patch4 -p1
|
||
|
%patch5 -p1
|
||
|
#%patch6 -p1
|
||
|
%patch7 -p1
|
||
|
|
||
|
%build
|
||
|
%make
|
||
|
#makeinfo scheme.texinfo
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
|
||
|
mkdir -p %{buildroot}%{_infodir}
|
||
|
|
||
|
install -D -m755 scheme %{buildroot}%{_bindir}/%{name}
|
||
|
install -D -m755 scheme.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||
|
install -D -m644 %{SOURCE2} %{buildroot}%{_datadir}/%{name}/slibcat
|
||
|
|
||
|
find slib | cpio -pdm %{buildroot}%{_datadir}/%{name}
|
||
|
install -D -m644 prelude.scheme %{buildroot}%{_datadir}/%{name}
|
||
|
|
||
|
#install -m644 scheme.info %{buildroot}%{_infodir}/%{name}.info
|
||
|
#gzip -9nf %{buildroot}%{_infodir}/%{name}.info
|
||
|
|
||
|
chmod -x %{buildroot}%{_mandir}/*/*
|
||
|
|
||
|
# add symlink to slib
|
||
|
ln -s ../slib %{buildroot}%{_datadir}/umb-scheme/slib
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%pre
|
||
|
[ -d %{_datadir}/%{name}/slib ] && rm -rf %{_datadir}/%{name}/slib
|
||
|
exit 0
|
||
|
|
||
|
#% post
|
||
|
#% install_info %{name}.info
|
||
|
#exit 0
|
||
|
|
||
|
#% preun
|
||
|
#% uninstall_info %{name}.info
|
||
|
#:
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%attr(0755,root,root) %{_bindir}/%{name}
|
||
|
%attr(0755,root,root) %dir %{_datadir}/%{name}
|
||
|
%attr(0644,root,root) %{_datadir}/%{name}/prelude.scheme
|
||
|
%attr(0644,root,root) %{_datadir}/%{name}/slibcat
|
||
|
%attr(0644,root,root) %{_datadir}/%{name}/slib
|
||
|
#%attr(0755,root,root) %dir %{_datadir}/%{name}/slib
|
||
|
#%attr(0644,root,root) %{_datadir}/%{name}/slib/*
|
||
|
%{_mandir}/man1/%{name}.1*
|
||
|
#%{_infodir}/%{name}.*
|
||
|
#%doc slib/ANNOUNCE slib/FAQ slib/README
|
||
|
|
||
|
%changelog
|
||
|
* Tue Oct 15 2013 Automatic Build System <autodist@mambasoft.it> 3.2-5mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Tue Nov 06 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2-4mamba
|
||
|
- require external slib and remove from package
|
||
|
|
||
|
* Mon Mar 27 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 3.2-3qilnx
|
||
|
- specfile fixed and updated
|
||
|
- added info file patch
|
||
|
|
||
|
* Mon Nov 15 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it>3.2-2qilnx
|
||
|
- rebuilt and moved from devel-contrib repository to devel repository
|
||
|
|
||
|
* Sun Oct 24 2004 Matteo Bernasconi <voyagernm@virgilio.it>3.2-1qilnx
|
||
|
- first build
|