version 1.2, 2000/03/10 14:57:52 |
version 1.6, 2000/08/29 06:48:48 |
|
|
# $OpenXM: OpenXM/misc/packages/Linux/RPM/openxm-shared.spec.in,v 1.1 2000/03/10 10:25:22 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Linux/RPM/openxm-shared.spec.in,v 1.5 2000/03/16 10:07:04 takayama Exp $ |
# openxm-shared.spec.in |
# openxm-shared.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 architecture independent part of it. |
Summary: The OpenXM package is a collection of mathematical software systems integrated by the OpenXM protocol. This package contains architecture independent part of it. |
Name: openxm-shared |
Name: openxm-shared |
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-shared-files PREFIX=$RPM_BUILD_ROOT%{prefix} |
make install-shared-files PREFIX=$RPM_BUILD_ROOT%{prefix} |
|
make install-man-pages-for-rpm PREFIX=$RPM_BUILD_ROOT%{prefix} |
|
|
%clean |
%clean |
rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM |
rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM |
Line 59 rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxgp |
|
Line 60 rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxgp |
|
%{prefix}/OpenXM/man/* |
%{prefix}/OpenXM/man/* |
%{prefix}/OpenXM/include/* |
%{prefix}/OpenXM/include/* |
%{prefix}/OpenXM/Copyright/* |
%{prefix}/OpenXM/Copyright/* |
|
%{prefix}/man/man1/openxm.1 |
|
%{prefix}/man/man1/sm1.1 |
%doc %{prefix}/OpenXM/doc/* |
%doc %{prefix}/OpenXM/doc/* |
## %config %{prefix}/OpenXM/lib/asir/asir_key |
## %config %{prefix}/OpenXM/lib/asir/asir_key |
|
|
|
%post |
|
if [ -f /var/tmp/asir_key.save ] ; then |
|
cp -f /var/tmp/asir_key.save %{prefix}/OpenXM/lib/asir/asir_key ; |
|
fi |
|
|
|
%preun |
|
if [ -f %{prefix}/OpenXM/lib/asir/asir_key ] ; then |
|
cp -f %{prefix}/OpenXM/lib/asir/asir_key /var/tmp/asir_key.save ; |
|
fi |
|
|
|
|