version 1.2, 2000/03/09 08:35:43 |
version 1.4, 2000/03/09 09:30:18 |
|
|
# $OpenXM: OpenXM/misc/packages/Linux/RPM/openxm.spec.in,v 1.1 2000/03/09 03:09:21 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Linux/RPM/openxm.spec.in,v 1.3 2000/03/09 09:26:26 takayama Exp $ |
# openxm.spec.in |
# openxm.spec.in |
# |
# |
%define ver 1.1.2 |
%define ver 1.1.2 |
Line 14 Group: Mathematical Software |
|
Line 14 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.2.tar.gz |
URL: http://www.math.sci.kobe-u.ac.jp/OpenXM |
URL: 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. |
|
|
|
|
%description |
%description |
The OpenXM package is a collection of mathematical softwares that |
The OpenXM package is a collection of mathematical softwares 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. |
|
[Note on installation] |
|
This package is not relocatable as it is. But if you change directory |
|
to OpenXM/rc after the installation and type in |
|
make clean ; make install PREFIX=(Your favorite directory to put shell scripts to start OpenXM clients) |
|
then everything works fine. |
%prep |
%prep |
%setup |
%setup |
|
|
|
|
make install PREFIX=$RPM_BUILD_ROOT%{prefix} |
make install PREFIX=$RPM_BUILD_ROOT%{prefix} |
|
|
%clean |
%clean |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM |
|
rm -rf $RPM_BUILD_ROOT%{prefix}/bin/asir |
|
rm -rf $RPM_BUILD_ROOT%{prefix}/bin/sm1 |
|
rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxmath |
|
rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxMathematica |
|
rm -rf $RPM_BUILD_ROOT%{prefix}/bin/openxm |
|
rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxgp |
|
|
%files |
%files |
# %defattr(-, root, root) |
%defattr(-, root, root) |
%{prefix}/OpenXM/bin/* |
%{prefix}/OpenXM/bin/* |
%{prefix}/OpenXM/lib/* |
%{prefix}/OpenXM/lib/* |
%{prefix}/OpenXM/man/* |
%{prefix}/OpenXM/man/* |
Line 44 rm -rf $RPM_BUILD_ROOT |
|
Line 56 rm -rf $RPM_BUILD_ROOT |
|
%{prefix}/OpenXM/rc/* |
%{prefix}/OpenXM/rc/* |
%{prefix}/OpenXM/Copyright/* |
%{prefix}/OpenXM/Copyright/* |
%doc %{prefix}/OpenXM/doc/* |
%doc %{prefix}/OpenXM/doc/* |
## Comment out the following for the test. |
|
%{prefix}/bin/asir |
%{prefix}/bin/asir |
%{prefix}/bin/sm1 |
%{prefix}/bin/sm1 |
%{prefix}/bin/oxmath |
%{prefix}/bin/oxmath |
%{prefix}/bin/oxMathematica |
%{prefix}/bin/oxMathematica |
%{prefix}/bin/openxm |
%{prefix}/bin/openxm |
## end of comment out. |
%{prefix}/bin/oxgp |
|
|
|
|
|
|