[521] | 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 | |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | Make is a GNU tool which allows users to build and install programs |
---|
| 22 | without any significant knowledge of the build process. Details about |
---|
| 23 | how the program should be built are included in the program's |
---|
| 24 | Makefile. Pmake is a particular version (BSD 4.4) of make. Pmake |
---|
| 25 | supports some additional syntax which is not in the standard make |
---|
| 26 | program. Some Berkeley programs have Makefiles written for pmake. |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %prep |
---|
| 30 | %setup -q |
---|
| 31 | %patch0 -p1 -b .gcc4 |
---|
| 32 | %patch1 -p1 -b .mktemp |
---|
| 33 | %patch2 -p1 -b .zeroinit |
---|
| 34 | %patch3 -p1 -b .dotdirs |
---|
| 35 | %patch4 -p1 -b .groff-1.18.1 |
---|
| 36 | |
---|
| 37 | %build |
---|
| 38 | make -f Makefile.boot CFLAGS="${RPM_OPT_FLAGS} -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= \ |
---|
| 39 | -I. -DMACHINE=\\\"redhat\\\" -DMACHINE_ARCH=\\\"`arch`\\\"" CC=gcc |
---|
| 40 | touch build |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | rm -rf %{buildroot} |
---|
| 44 | |
---|
| 45 | mkdir -p %{buildroot} |
---|
| 46 | mkdir -p %{buildroot}/{%{_bindir},%{_mandir}/man1} |
---|
| 47 | install bmake %{buildroot}/%{_bindir}/pmake |
---|
| 48 | install -m 755 mkdep %{buildroot}/%{_bindir} |
---|
| 49 | install make.1 %{buildroot}/%{_mandir}/man1/pmake.1 |
---|
| 50 | install mkdep.1 %{buildroot}/%{_mandir}/man1 |
---|
| 51 | |
---|
| 52 | mkdir -p %{buildroot}/%{_datadir}/mk |
---|
| 53 | rm mk/*~ |
---|
| 54 | for file in mk/*; do |
---|
| 55 | install -m 644 $file %{buildroot}/%{_datadir}/mk |
---|
| 56 | done |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %clean |
---|
| 60 | rm -rf %{buildroot} |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %files |
---|
| 64 | %defattr(-,root,root) |
---|
| 65 | %doc PSD.doc/tutorial.ms |
---|
| 66 | %{_bindir}/* |
---|
| 67 | %{_datadir}/mk |
---|
| 68 | %{_mandir}/man1/* |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | %changelog |
---|
| 72 | * Tue Sep 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.45-5 |
---|
| 73 | - applied new versioning policy |
---|
| 74 | - spec in UTF-8 |
---|
| 75 | - added Patch0 from Mandriva |
---|
| 76 | - added Patch2, 3 from RHEL4 |
---|
| 77 | - updated Patch4 (Patch1 in previous version) |
---|
| 78 | |
---|
| 79 | * Sun Oct 08 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.45-4vl4 |
---|
| 80 | - replaced Serial directive with Epoch |
---|
| 81 | |
---|
| 82 | * Wed Oct 04 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.45-4vl3 |
---|
| 83 | - removed obsolete Serial |
---|
| 84 | |
---|
| 85 | * Sat Jun 14 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.45-4vl2 |
---|
| 86 | - rebuild with new toolchains |
---|
| 87 | |
---|
| 88 | * Sun Dec 23 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.45-4vl1 |
---|
| 89 | - based on 1.45-4 from Rawhide and built for Vine Linux |
---|
| 90 | |
---|
| 91 | * Tue Aug 21 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 92 | - bad. Hardcoded path including a version number for groff. |
---|
| 93 | |
---|
| 94 | * Fri May 11 2001 Preston Brown <pbrown@redhat.com> |
---|
| 95 | - use mktemp in mkdep script |
---|
| 96 | |
---|
| 97 | * Mon Jan 08 2001 Preston Brown <pbrown@redhat.com> |
---|
| 98 | - report newer pmake from Debian who got it from 4.4BSD |
---|
| 99 | |
---|