umb-scheme-vl.spec 4.6 KB

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