Annotation of OpenXM/misc/packages/Linux/RPM/openxm-binary.spec.in, Revision 1.1
1.1 ! takayama 1: # $OpenXM$
! 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}
! 39:
! 40: %clean
! 41: rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM
! 42: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/asir
! 43: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/sm1
! 44: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxmath
! 45: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxMathematica
! 46: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/openxm
! 47: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxgp
! 48:
! 49: %files
! 50: %defattr(-, root, root)
! 51: %{prefix}/OpenXM/bin/*
! 52: %{prefix}/OpenXM/lib/*.a
! 53: %{prefix}/OpenXM/lib/*.so*
! 54: %doc %{prefix}/OpenXM/doc/*
! 55: %{prefix}/bin/asir
! 56: %{prefix}/bin/sm1
! 57: %{prefix}/bin/oxmath
! 58: %{prefix}/bin/oxMathematica
! 59: %{prefix}/bin/openxm
! 60: %{prefix}/bin/oxgp
! 61:
! 62:
! 63:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>