=================================================================== RCS file: /home/cvs/OpenXM/misc/packages/Linux/RPM/openxm.spec.in,v retrieving revision 1.1 retrieving revision 1.4 diff -u -p -r1.1 -r1.4 --- OpenXM/misc/packages/Linux/RPM/openxm.spec.in 2000/03/09 03:09:21 1.1 +++ OpenXM/misc/packages/Linux/RPM/openxm.spec.in 2000/03/09 09:30:18 1.4 @@ -1,22 +1,32 @@ -# $OpenXM$ +# $OpenXM: OpenXM/misc/packages/Linux/RPM/openxm.spec.in,v 1.3 2000/03/09 09:26:26 takayama Exp $ # openxm.spec.in # %define ver 1.1.2 -%define prefix /usr +%define prefix /usr/local +%define work /var/tmp -Summary: -Name: +Summary: The OpenXM package is a collection of mathematical softwares integrated by the OpenXM protocol. +Name: openxm Version: %ver +Release: test Copyright: See OpenXM/Copyright Group: Mathematical Software -Source0: %{name}-%{PACKAGE_VERSION}.tar.gz -URL: ftp://ftp.math.sci.kobe-u.ac.jp/pub/OpenXM -BuildRoot: /var/tmp/%{name}-%{PACKAGE_VERSION}-root +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 +BuildRoot: %{work}/%{name}-root +## BuildRoot should be removed in the real package building. + %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. - +Main clients are asir and mathematica (math). +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 %setup @@ -25,13 +35,33 @@ make configure make %install -make install +/bin/rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM +make install PREFIX=$RPM_BUILD_ROOT%{prefix} %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 %defattr(-, root, root) -%doc README -%{prefix}/bin/* +%{prefix}/OpenXM/bin/* +%{prefix}/OpenXM/lib/* +%{prefix}/OpenXM/man/* +%{prefix}/OpenXM/include/* +%{prefix}/OpenXM/rc/* +%{prefix}/OpenXM/Copyright/* +%doc %{prefix}/OpenXM/doc/* +%{prefix}/bin/asir +%{prefix}/bin/sm1 +%{prefix}/bin/oxmath +%{prefix}/bin/oxMathematica +%{prefix}/bin/openxm +%{prefix}/bin/oxgp + +