|
@@ -1,15 +1,13 @@
|
|
-%define name jam
|
|
|
|
-%define version 2.5
|
|
|
|
-%define release 1%{?_dist_release}
|
|
|
|
-
|
|
|
|
Summary: Program construction tool, similar to make
|
|
Summary: Program construction tool, similar to make
|
|
-Name: %{name}
|
|
+Name: jam
|
|
-Version: %{version}
|
|
+Version: 2.5
|
|
-Release: %{release}
|
|
+Release: 2%{?_dist_release}
|
|
-Source0: ftp://ftp.perforce.com/pub/jam/%{name}-%{version}.tar
|
|
+Source0: ftp://ftp.perforce.com/pub/jam/%{name}-%{version}.zip
|
|
|
|
+# Submitted upstream by e-mail
|
|
|
|
+Patch0: jam-2.5-overflow.patch
|
|
License: Distributable
|
|
License: Distributable
|
|
Group: Development/Tools
|
|
Group: Development/Tools
|
|
-URL: http://www.perforce.com/jam/jam.html
|
|
+URL: http://public.perforce.com/public/jam/index.html
|
|
|
|
|
|
#Requires: byacc
|
|
#Requires: byacc
|
|
BuildRequires: byacc
|
|
BuildRequires: byacc
|
|
@@ -27,24 +25,24 @@ file "Jamfile" to enumerate actual targets and sources.
|
|
|
|
|
|
The Jambase is described in the Jambase
|
|
The Jambase is described in the Jambase
|
|
Reference and the document Using Jamfiles and Jambase.
|
|
Reference and the document Using Jamfiles and Jambase.
|
|
-
|
|
|
|
# '
|
|
# '
|
|
|
|
|
|
%prep
|
|
%prep
|
|
-%setup -q
|
|
+%setup -q -c
|
|
|
|
+%patch0 -p1 -b .overflows
|
|
|
|
|
|
%build
|
|
%build
|
|
export CFLAGS="$RPM_OPT_FLAGS" CCFLAGS="$RPM_OPT_FLAGS"
|
|
export CFLAGS="$RPM_OPT_FLAGS" CCFLAGS="$RPM_OPT_FLAGS"
|
|
-make %{?_smp_mflags}
|
|
+%__make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
-mkdir -p ${RPM_BUILD_ROOT}/%{_bindir}
|
|
+%__mkdir_p ${RPM_BUILD_ROOT}/%{_bindir}
|
|
-install -m0755 bin.linux*/jam ${RPM_BUILD_ROOT}/%{_bindir}
|
|
+%__install -m0755 bin.linux*/jam ${RPM_BUILD_ROOT}/%{_bindir}
|
|
-install -m0755 bin.linux*/mkjambase ${RPM_BUILD_ROOT}/%{_bindir}
|
|
+%__install -m0755 bin.linux*/mkjambase ${RPM_BUILD_ROOT}/%{_bindir}
|
|
|
|
|
|
%clean
|
|
%clean
|
|
-%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
+%__rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
@@ -53,6 +51,10 @@ install -m0755 bin.linux*/mkjambase ${RPM_BUILD_ROOT}/%{_bindir}
|
|
%{_bindir}/mkjambase
|
|
%{_bindir}/mkjambase
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Feb 7 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2.5-2
|
|
|
|
+- use upstream zip instead of uncompressed tarball
|
|
|
|
+- add the stack overflow fix patch
|
|
|
|
+
|
|
* Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 2.5-1vl5
|
|
* Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 2.5-1vl5
|
|
- applied new versioning policy
|
|
- applied new versioning policy
|
|
|
|
|