source: projects/specs/branches/6/p/pmake/pmake-vl.spec @ 521

Revision 521, 2.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary:     The BSD 4.4 version of make.
2Summary(ja): make (BSD 4.4 バージョン)
3Name:        pmake
4Version:     1.45
5Release:     5%{?_dist_release}
6Epoch:       1
7License:     BSD
8Group:       Development/Tools
9Source0:     http://ftp.debian.org/debian/dists/potato/main/source/devel/%{name}_%{version}-3.2.tar.gz
10Patch0:      pmake-1.45-gcc4.patch
11Patch1:      pmake-1.45-mktemp.patch
12Patch2:      pmake-1.45-zeroinit.patch
13Patch3:      pmake-1.45-dotdirs.patch
14Patch4:      pmake-1.45-groffpath.patch
15Obsoletes:   pmake-customs
16BuildRoot:   %{_tmppath}/%{name}-%{version}-root
17Requires:    /bin/mktemp
18
19
20%description
21Make is a GNU tool which allows users to build and install programs
22without any significant knowledge of the build process. Details about
23how the program should be built are included in the program's
24Makefile. Pmake is a particular version (BSD 4.4) of make. Pmake
25supports some additional syntax which is not in the standard make
26program. 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
38make -f Makefile.boot CFLAGS="${RPM_OPT_FLAGS} -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= \
39    -I. -DMACHINE=\\\"redhat\\\" -DMACHINE_ARCH=\\\"`arch`\\\"" CC=gcc
40touch build
41
42%install
43rm -rf %{buildroot}
44
45mkdir -p %{buildroot}
46mkdir -p %{buildroot}/{%{_bindir},%{_mandir}/man1}
47install bmake %{buildroot}/%{_bindir}/pmake
48install -m 755 mkdep %{buildroot}/%{_bindir}
49install make.1 %{buildroot}/%{_mandir}/man1/pmake.1
50install mkdep.1 %{buildroot}/%{_mandir}/man1
51
52mkdir -p %{buildroot}/%{_datadir}/mk
53rm mk/*~
54for file in mk/*; do
55    install -m 644 $file %{buildroot}/%{_datadir}/mk
56done
57
58
59%clean
60rm -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
Note: See TracBrowser for help on using the repository browser.