version 1.1, 2000/03/10 10:25:21 |
version 1.5, 2000/08/29 06:48:48 |
|
|
# $OpenXM$ |
# $OpenXM: OpenXM/misc/packages/Linux/RPM/openxm-binary.spec.in,v 1.4 2000/03/16 06:35:14 takayama Exp $ |
# openxm-binary.spec.in |
# openxm-binary.spec.in |
# |
# |
%define ver 1.1.2 |
%define ver 1.1.3 |
%define prefix /usr/local |
%define prefix /usr/local |
%define work /var/tmp |
%define work /var/tmp |
|
|
Summary: The OpenXM package is a collection of mathematical softwares integrated by the OpenXM protocol. This package contains the binary files of it. |
Summary: The OpenXM package is a collection of mathematical software systems integrated by the OpenXM protocol. This package contains the binary files of it. |
Name: openxm-binary |
Name: openxm-binary |
Version: %ver |
Version: %ver |
Release: test |
Release: test |
Copyright: See OpenXM/Copyright |
Copyright: See OpenXM/Copyright |
Group: Mathematical Software |
Group: Mathematical Software |
Source: ftp://ftp.math.sci.kobe-u.ac.jp/pub/OpenXM/openxm-1.1.2.tar.gz |
Source: ftp://ftp.math.sci.kobe-u.ac.jp/pub/OpenXM/openxm-1.1.3.tar.gz |
URL: http://www.math.sci.kobe-u.ac.jp/OpenXM |
URL: http://www.openxm.org, http://www.math.sci.kobe-u.ac.jp/OpenXM |
BuildRoot: %{work}/%{name}-root |
BuildRoot: %{work}/%{name}-root |
## BuildRoot should be removed in the real package building. |
## BuildRoot should be removed in the real package building. |
|
|
|
|
%description |
%description |
The OpenXM package is a collection of mathematical softwares that |
The OpenXM package is a collection of mathematical software systems that |
support the OpenXM protocol. |
support the OpenXM protocol. |
Main clients are asir and mathematica (math). |
Main clients are asir and mathematica (math). |
Servers are ox_asir, ox_sm1, ox_gnuplot, ox_math, ox_phc, ox_tigers. |
Servers are ox_asir, ox_sm1, ox_gnuplot, ox_math, ox_phc, ox_tigers. |
|
|
%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) |
|
|
|
|