pmake-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Summary: The BSD 4.4 version of make.
  2. Summary(ja): make (BSD 4.4 バージョン)
  3. Name: pmake
  4. Version: 1.45
  5. Release: 5%{?_dist_release}
  6. Epoch: 1
  7. License: BSD
  8. Group: Development/Tools
  9. Source0: http://ftp.debian.org/debian/dists/potato/main/source/devel/%{name}_%{version}-3.2.tar.gz
  10. Patch0: pmake-1.45-gcc4.patch
  11. Patch1: pmake-1.45-mktemp.patch
  12. Patch2: pmake-1.45-zeroinit.patch
  13. Patch3: pmake-1.45-dotdirs.patch
  14. Patch4: pmake-1.45-groffpath.patch
  15. Obsoletes: pmake-customs
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Requires: /bin/mktemp
  18. %description
  19. Make is a GNU tool which allows users to build and install programs
  20. without any significant knowledge of the build process. Details about
  21. how the program should be built are included in the program's
  22. Makefile. Pmake is a particular version (BSD 4.4) of make. Pmake
  23. supports some additional syntax which is not in the standard make
  24. program. Some Berkeley programs have Makefiles written for pmake.
  25. %prep
  26. %setup -q
  27. %patch0 -p1 -b .gcc4
  28. %patch1 -p1 -b .mktemp
  29. %patch2 -p1 -b .zeroinit
  30. %patch3 -p1 -b .dotdirs
  31. %patch4 -p1 -b .groff-1.18.1
  32. %build
  33. make -f Makefile.boot CFLAGS="${RPM_OPT_FLAGS} -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= \
  34. -I. -DMACHINE=\\\"redhat\\\" -DMACHINE_ARCH=\\\"`arch`\\\"" CC=gcc
  35. touch build
  36. %install
  37. rm -rf %{buildroot}
  38. mkdir -p %{buildroot}
  39. mkdir -p %{buildroot}/{%{_bindir},%{_mandir}/man1}
  40. install bmake %{buildroot}/%{_bindir}/pmake
  41. install -m 755 mkdep %{buildroot}/%{_bindir}
  42. install make.1 %{buildroot}/%{_mandir}/man1/pmake.1
  43. install mkdep.1 %{buildroot}/%{_mandir}/man1
  44. mkdir -p %{buildroot}/%{_datadir}/mk
  45. rm mk/*~
  46. for file in mk/*; do
  47. install -m 644 $file %{buildroot}/%{_datadir}/mk
  48. done
  49. %clean
  50. rm -rf %{buildroot}
  51. %files
  52. %defattr(-,root,root)
  53. %doc PSD.doc/tutorial.ms
  54. %{_bindir}/*
  55. %{_datadir}/mk
  56. %{_mandir}/man1/*
  57. %changelog
  58. * Tue Sep 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.45-5
  59. - applied new versioning policy
  60. - spec in UTF-8
  61. - added Patch0 from Mandriva
  62. - added Patch2, 3 from RHEL4
  63. - updated Patch4 (Patch1 in previous version)
  64. * Sun Oct 08 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.45-4vl4
  65. - replaced Serial directive with Epoch
  66. * Wed Oct 04 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.45-4vl3
  67. - removed obsolete Serial
  68. * Sat Jun 14 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.45-4vl2
  69. - rebuild with new toolchains
  70. * Sun Dec 23 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.45-4vl1
  71. - based on 1.45-4 from Rawhide and built for Vine Linux
  72. * Tue Aug 21 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  73. - bad. Hardcoded path including a version number for groff.
  74. * Fri May 11 2001 Preston Brown <pbrown@redhat.com>
  75. - use mktemp in mkdep script
  76. * Mon Jan 08 2001 Preston Brown <pbrown@redhat.com>
  77. - report newer pmake from Debian who got it from 4.4BSD