jam-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. Summary: Program construction tool, similar to make
  2. Name: jam
  3. Version: 2.5
  4. Release: 2%{?_dist_release}
  5. Source0: ftp://ftp.perforce.com/pub/jam/%{name}-%{version}.zip
  6. # Submitted upstream by e-mail
  7. Patch0: jam-2.5-overflow.patch
  8. License: Distributable
  9. Group: Development/Tools
  10. URL: http://public.perforce.com/public/jam/index.html
  11. #Requires: byacc
  12. BuildRequires: byacc
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. %description
  15. Jam is a program construction tool, like make.
  16. Jam recursively builds target files from source files,
  17. using dependency information and updating actions expressed in
  18. the Jambase file, which is written in jam's own interpreted
  19. language. The default Jambase is compiled into jam and
  20. provides a boilerplate for common use, relying on a user-provide
  21. file "Jamfile" to enumerate actual targets and sources.
  22. The Jambase is described in the Jambase
  23. Reference and the document Using Jamfiles and Jambase.
  24. # '
  25. %prep
  26. %setup -q -c
  27. %patch0 -p1 -b .overflows
  28. %build
  29. export CFLAGS="$RPM_OPT_FLAGS" CCFLAGS="$RPM_OPT_FLAGS"
  30. %__make %{?_smp_mflags}
  31. %install
  32. %{__rm} -rf ${RPM_BUILD_ROOT}
  33. %__mkdir_p ${RPM_BUILD_ROOT}/%{_bindir}
  34. %__install -m0755 bin.linux*/jam ${RPM_BUILD_ROOT}/%{_bindir}
  35. %__install -m0755 bin.linux*/mkjambase ${RPM_BUILD_ROOT}/%{_bindir}
  36. %clean
  37. %__rm -rf ${RPM_BUILD_ROOT}
  38. %files
  39. %defattr(-,root,root)
  40. %doc README RELNOTES *.html
  41. %{_bindir}/jam
  42. %{_bindir}/mkjambase
  43. %changelog
  44. * Tue Feb 7 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2.5-2
  45. - use upstream zip instead of uncompressed tarball
  46. - add the stack overflow fix patch
  47. * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 2.5-1vl5
  48. - applied new versioning policy
  49. * Mon Sep 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 2.5-0vl2
  50. - rebuild for VineSeed
  51. * Mon Sep 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 2.5-0vl1
  52. - initial build for Vine Linux 4.1
  53. * Fri Jun 24 2005 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 2.5-0vlmp1
  54. - initial build for Vine Linux 3.2
  55. # end of file