version 1.1, 2000/03/09 03:09:21 |
version 1.2, 2000/03/09 08:35:43 |
|
|
# $OpenXM$ |
# $OpenXM: OpenXM/misc/packages/Linux/RPM/openxm.spec.in,v 1.1 2000/03/09 03:09:21 takayama Exp $ |
# openxm.spec.in |
# openxm.spec.in |
# |
# |
%define ver 1.1.2 |
%define ver 1.1.2 |
%define prefix /usr |
%define prefix /usr/local |
|
%define work /var/tmp |
|
|
Summary: |
Summary: The OpenXM package is a collection of mathematical softwares integrated by the OpenXM protocol. |
Name: |
Name: openxm |
Version: %ver |
Version: %ver |
|
Release: test |
Copyright: See OpenXM/Copyright |
Copyright: See OpenXM/Copyright |
Group: Mathematical Software |
Group: Mathematical Software |
Source0: %{name}-%{PACKAGE_VERSION}.tar.gz |
Source: ftp://ftp.math.sci.kobe-u.ac.jp/pub/OpenXM/openxm-1.1.2.tar.gz |
URL: ftp://ftp.math.sci.kobe-u.ac.jp/pub/OpenXM |
URL: http://www.math.sci.kobe-u.ac.jp/OpenXM |
BuildRoot: /var/tmp/%{name}-%{PACKAGE_VERSION}-root |
BuildRoot: %{work}/%{name}-root |
|
|
%description |
%description |
The OpenXM package is a package 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). |
|
Servers are ox_asir, ox_sm1, ox_gnuplot, ox_math, ox_phc, ox_tigers. |
|
|
%prep |
%prep |
%setup |
%setup |
|
|
make |
make |
|
|
%install |
%install |
make install |
/bin/rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM |
|
make install PREFIX=$RPM_BUILD_ROOT%{prefix} |
|
|
%clean |
%clean |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
|
|
%files |
%files |
%defattr(-, root, root) |
# %defattr(-, root, root) |
%doc README |
%{prefix}/OpenXM/bin/* |
%{prefix}/bin/* |
%{prefix}/OpenXM/lib/* |
|
%{prefix}/OpenXM/man/* |
|
%{prefix}/OpenXM/include/* |
|
%{prefix}/OpenXM/rc/* |
|
%{prefix}/OpenXM/Copyright/* |
|
%doc %{prefix}/OpenXM/doc/* |
|
## Comment out the following for the test. |
|
%{prefix}/bin/asir |
|
%{prefix}/bin/sm1 |
|
%{prefix}/bin/oxmath |
|
%{prefix}/bin/oxMathematica |
|
%{prefix}/bin/openxm |
|
## end of comment out. |
|
|
|
|