version 1.1, 2000/03/10 10:25:21 |
version 1.4, 2000/03/16 06:35:14 |
|
|
# $OpenXM$ |
# $OpenXM: OpenXM/misc/packages/Linux/RPM/openxm-binary.spec.in,v 1.3 2000/03/10 14:57:52 takayama Exp $ |
# openxm-binary.spec.in |
# openxm-binary.spec.in |
# |
# |
%define ver 1.1.2 |
%define ver 1.1.2 |
|
|
%install |
%install |
/bin/rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM |
/bin/rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM |
make install-binary-files PREFIX=$RPM_BUILD_ROOT%{prefix} |
make install-binary-files PREFIX=$RPM_BUILD_ROOT%{prefix} |
|
make install-shell-scripts PREFIX=$RPM_BUILD_ROOT%{prefix} |
|
|
%clean |
%clean |
rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM |
rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM |
Line 51 rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxgp |
|
Line 52 rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxgp |
|
%{prefix}/OpenXM/bin/* |
%{prefix}/OpenXM/bin/* |
%{prefix}/OpenXM/lib/*.a |
%{prefix}/OpenXM/lib/*.a |
%{prefix}/OpenXM/lib/*.so* |
%{prefix}/OpenXM/lib/*.so* |
%doc %{prefix}/OpenXM/doc/* |
%{prefix}/OpenXM/rc/* |
%{prefix}/bin/asir |
%{prefix}/bin/asir |
%{prefix}/bin/sm1 |
%{prefix}/bin/sm1 |
%{prefix}/bin/oxmath |
%{prefix}/bin/oxmath |
Line 59 rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxgp |
|
Line 60 rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxgp |
|
%{prefix}/bin/openxm |
%{prefix}/bin/openxm |
%{prefix}/bin/oxgp |
%{prefix}/bin/oxgp |
|
|
|
%post |
|
(cd %{prefix}/OpenXM/rc ; make clean ; make install) |
|
|
|
|