umb-scheme-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. Summary: An implementation of the Scheme programming language.
  2. Summary(ja): Scheme プログラミング言語の実装
  3. Name: umb-scheme
  4. Version: 3.2
  5. Release: 31%{?_dist_release}
  6. License: distributable
  7. Group: Development/Languages
  8. Source: ftp://ftp.cs.umb.edu/pub/scheme/umb-scheme-3.2.tar.gz
  9. Source1: http://groups.csail.mit.edu/mac/ftpdir/scm/slib-3b3.zip
  10. Source2: slibcat
  11. Patch0: umb-scheme-3.2-misc.patch
  12. Patch1: umb-scheme-3.2-texinfo.patch
  13. Patch2: umb-scheme-3.2-config.patch
  14. Patch3: umb-scheme-3.2-man.patch
  15. Patch4: umb-scheme-3.2-chapter.patch
  16. Patch5: umb-scheme-3.2-slib2c7.patch
  17. Patch6: umb-scheme-3.2-share.patch
  18. Patch7: umb-scheme-3.2-vi.patch
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. BuildRequires: texinfo
  21. Requires(post): /sbin/install-info
  22. Requires(preun): /sbin/install-info
  23. %description
  24. UMB Scheme is a public domain implementation of the Scheme programming
  25. language. Scheme is a statically scoped and properly tail-recursive
  26. dialect of the Lisp programming language, designed with clear and
  27. simple semantics and a minimal number of ways to form expressions.
  28. Install the umb-scheme package if you need an implementation of the
  29. Scheme programming language.
  30. %prep
  31. %setup -q -n scheme-3.2
  32. rm -fr slib
  33. unzip -q -o %{SOURCE1}
  34. %patch0 -p1
  35. %patch1 -p1
  36. %patch2 -p1
  37. %patch3 -p1
  38. %patch4 -p1
  39. %patch5 -p1
  40. %patch6 -p1
  41. %patch7 -p1
  42. %build
  43. make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS"
  44. makeinfo scheme.texinfo
  45. %install
  46. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  47. mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_infodir},%{_datadir}/umb-scheme,%{_mandir}/man1}
  48. install -s -m755 scheme $RPM_BUILD_ROOT%{_bindir}/umb-scheme
  49. install -m755 scheme.1 $RPM_BUILD_ROOT%{_mandir}/man1/umb-scheme.1
  50. install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/umb-scheme/slibcat
  51. find slib | cpio -pdm $RPM_BUILD_ROOT%{_datadir}/umb-scheme
  52. install -m644 prelude.scheme $RPM_BUILD_ROOT%{_datadir}/umb-scheme
  53. install -m644 scheme.info $RPM_BUILD_ROOT%{_infodir}/umb-scheme.info
  54. gzip -9nf $RPM_BUILD_ROOT%{_infodir}/umb-scheme.info
  55. chmod -x $RPM_BUILD_ROOT%{_mandir}/*/*
  56. %clean
  57. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  58. %post
  59. /sbin/install-info %{_infodir}/umb-scheme.info.gz %{_infodir}/dir \
  60. --entry="* umb-scheme: (umb-scheme). UMB Scheme Interpreter."
  61. %preun
  62. if [ "$1" = 0 ]; then
  63. /sbin/install-info --delete %{_infodir}/umb-scheme.info.gz %{_infodir}/dir \
  64. --entry="* umb-scheme: (umb-scheme). UMB Scheme Interpreter."
  65. fi
  66. %files
  67. %defattr(-,root,root)
  68. %doc slib/ANNOUNCE slib/FAQ slib/README
  69. %attr(0755,root,root) %{_bindir}/umb-scheme
  70. %attr(0755,root,root) %dir %{_datadir}/umb-scheme
  71. %attr(0644,root,root) %{_datadir}/umb-scheme/prelude.scheme
  72. %attr(0644,root,root) %{_datadir}/umb-scheme/slibcat
  73. %attr(0755,root,root) %dir %{_datadir}/umb-scheme/slib
  74. %attr(0644,root,root) %{_datadir}/umb-scheme/slib/*
  75. %{_mandir}/man1/umb-scheme.1*
  76. %{_infodir}/umb-scheme.info.gz
  77. %changelog
  78. * Sun May 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.2-31
  79. - rebuilt with current VineSeed
  80. - updated slib to 3b3
  81. - updated Patch6
  82. - s/BuildPrereq/BuildRequires/g
  83. - s/Prereq/Requires(post,preun)/g
  84. * Mon Oct 13 2008 Shu KONNO <owa@bg.wakwak.com> 3.2-30vl5
  85. - applied new versioning policy, spec in utf-8
  86. * Tue Oct 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.2-29vl2
  87. - updated slib to 3a1
  88. - added Prereq: and BuildPrereq:
  89. * Thu Feb 13 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.2-29vl1
  90. - based on 3.2-29 from Rawhide
  91. - Added new slib library (#76693).
  92. - Updated slibcat as well.
  93. - Fixed unset EDITOR vi location (#76692).
  94. - Fixed Copyright: to License:.
  95. - Fixed problem with read-only /usr pollution of
  96. /usr/share/umb-scheme/slibcat(#52742)
  97. - Fixed wrong slibcat version (#40395)
  98. * Thu Dec 28 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  99. - 3.2-17vl1
  100. - based on 3.2-17 from Rawhide
  101. - added Japanese summary
  102. * Tue Dec 19 2000 Philipp Knirsch <pknirsch@redhat.de>
  103. - rebuild
  104. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  105. - automatic rebuild
  106. * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
  107. - update to slib 2c8
  108. * Sat Jun 10 2000 Nalin Dahyabhai <nalin@redhat.com>
  109. - fix wacky permissions in slib directory (bug #11871)
  110. * Sun Jun 4 2000 Nalin Dahyabhai <nalin@redhat.com>
  111. - FHS fixes
  112. - move slib to %%{_datadir}
  113. * Tue Feb 8 2000 Nalin Dahyabhai <nalin@redhat.com>
  114. - update slib to version 2c7
  115. - generate new catalog for slib and include it
  116. * Thu Feb 3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  117. - remove executable bit from man page (Bug #9035)
  118. - deal with RPM compressing man pages
  119. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  120. - auto rebuild in the new build environment (release 9)
  121. * Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
  122. - build root
  123. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  124. - translations modified for de, fr, tr
  125. * Fri Oct 24 1997 Marc Ewing <marc@redhat.com>
  126. - install-info
  127. * Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
  128. - built against glibc