chicken-vl.spec 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. %define pkg_name chicken
  2. %define pkg_version 4.10.0
  3. %define pkg_release 1%{?_dist_release}
  4. Summary: Practical and portable Scheme system - compiler
  5. Name: %{pkg_name}
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. License: BSD-style
  9. Group: Applications/Languages
  10. URL: https://www.call-cc.org/
  11. Source: http://code.call-cc.org/releases/%{version}/%{name}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. # Patch0: 1269.patch
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: ara_t
  17. %description
  18. CHICKEN is a compiler for the Scheme programming language.
  19. It produces portable and efficient C and supports the R5RS
  20. and R7RS (work in progress) standards, and many extensions.
  21. %prep
  22. %{__rm} -rf ${RPM_BUILD_ROOT}
  23. %setup -q
  24. # %patch0
  25. %build
  26. %{__make} \
  27. PLATFORM=linux \
  28. PREFIX=%{_prefix} \
  29. IDOCDIR=%{_docdir}/%{name}-%{version}
  30. %install
  31. %{__make} install \
  32. PLATFORM=linux \
  33. PREFIX=%{_prefix} \
  34. IDOCDIR=%{_docdir}/%{name}-%{version} \
  35. DESTDIR=${RPM_BUILD_ROOT}
  36. # %check
  37. # %{__make} check PLATFORM=linux
  38. %clean
  39. %{__rm} -rf ${RPM_BUILD_ROOT}
  40. %post -p %{_syssbindir}/ldconfig
  41. %postun -p %{_syssbindir}/ldconfig
  42. %files
  43. %defattr(-, root, root)
  44. %{_bindir}/
  45. %{_includedir}/
  46. /usr/lib/libchicken.so*
  47. /usr/lib//libchicken.a
  48. /usr/lib/chicken
  49. %{_datadir}/chicken
  50. %{_mandir}/man1/
  51. %{_docdir}/%{name}-%{version}
  52. %changelog
  53. * Fri May 13 2016 Toshiaki Ara <ara_t@384.jp> 4.10.0-1
  54. - new package