chicken-vl.spec 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. %define pkg_name chicken
  2. %define pkg_version 4.13.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: Development/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. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: ara_t
  16. %description
  17. CHICKEN is a compiler for the Scheme programming language.
  18. It produces portable and efficient C and supports the R5RS
  19. and R7RS (work in progress) standards, and many extensions.
  20. %prep
  21. %{__rm} -rf ${RPM_BUILD_ROOT}
  22. %setup -q
  23. %build
  24. %{__make} \
  25. PLATFORM=linux \
  26. PREFIX=%{_prefix} \
  27. LIBDIR=%{_libdir} \
  28. IDOCDIR=%{_docdir}/%{name}-%{version}
  29. %install
  30. %{__make} install \
  31. PLATFORM=linux \
  32. PREFIX=%{_prefix} \
  33. LIBDIR=%{_libdir} \
  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. %{_libdir}/chicken
  47. %{_libdir}/libchicken.so*
  48. %{_libdir}/libchicken.a
  49. %{_datadir}/chicken
  50. %{_mandir}/man1/
  51. %{_docdir}/%{name}-%{version}
  52. %changelog
  53. * Sun Nov 06 2016 Toshiaki Ara <ara_t@384.jp> 4.11.0-2
  54. - change Group to Development/Languages
  55. * Sun Jun 19 2016 Toshiaki Ara <ara_t@384.jp> 4.11.0-1
  56. - update to 4.11.0
  57. - add %{__make} check for VineSeed
  58. * Fri May 13 2016 Toshiaki Ara <ara_t@384.jp> 4.10.0-1
  59. - new package