[BACK]Return to openxm-binary.spec.in CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages / Linux / RPM

Annotation of OpenXM/misc/packages/Linux/RPM/openxm-binary.spec.in, Revision 1.3

1.3     ! takayama    1: # $OpenXM: OpenXM/misc/packages/Linux/RPM/openxm-binary.spec.in,v 1.2 2000/03/10 14:21:45 takayama Exp $
1.1       takayama    2: #  openxm-binary.spec.in
                      3: #
                      4: %define ver      1.1.2
                      5: %define prefix   /usr/local
                      6: %define work     /var/tmp
                      7:
                      8: Summary:   The OpenXM package is a collection of mathematical softwares integrated by the OpenXM protocol. This package contains the binary files of it.
                      9: Name:      openxm-binary
                     10: Version:   %ver
                     11: Release:   test
                     12: Copyright: See OpenXM/Copyright
                     13: Group:     Mathematical Software
                     14: Source:    ftp://ftp.math.sci.kobe-u.ac.jp/pub/OpenXM/openxm-1.1.2.tar.gz
                     15: URL:       http://www.math.sci.kobe-u.ac.jp/OpenXM
                     16: BuildRoot:  %{work}/%{name}-root
                     17: ## BuildRoot should be removed in the real package building.
                     18:
                     19:
                     20: %description
                     21: The OpenXM package is a collection of mathematical softwares that
                     22: support the OpenXM protocol.
                     23: Main clients are asir and mathematica (math).
                     24: Servers are ox_asir, ox_sm1, ox_gnuplot, ox_math, ox_phc, ox_tigers.
                     25: [Note on installation]
                     26: This package is not relocatable as it is. But if you change directory
                     27: to OpenXM/rc after the installation and type in
                     28: make clean ; make install PREFIX=(Your favorite directory to put shell scripts to start OpenXM clients)
                     29: then everything works fine.
                     30: %prep
                     31: %setup -n openxm-%{ver}
                     32: %build
                     33: make configure
                     34: make
                     35:
                     36: %install
                     37: /bin/rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM
                     38: make install-binary-files PREFIX=$RPM_BUILD_ROOT%{prefix}
1.2       takayama   39: make install-shell-scripts PREFIX=$RPM_BUILD_ROOT%{prefix}
1.1       takayama   40:
                     41: %clean
                     42: rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM
                     43: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/asir
                     44: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/sm1
                     45: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxmath
                     46: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxMathematica
                     47: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/openxm
                     48: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxgp
                     49:
                     50: %files
                     51: %defattr(-, root, root)
                     52: %{prefix}/OpenXM/bin/*
                     53: %{prefix}/OpenXM/lib/*.a
                     54: %{prefix}/OpenXM/lib/*.so*
1.3     ! takayama   55: %{prefix}/OpenXM/rc/*
1.1       takayama   56: %{prefix}/bin/asir
                     57: %{prefix}/bin/sm1
                     58: %{prefix}/bin/oxmath
                     59: %{prefix}/bin/oxMathematica
                     60: %{prefix}/bin/openxm
                     61: %{prefix}/bin/oxgp
                     62:
                     63:
                     64:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>