Annotation of OpenXM/misc/packages/Linux/RPM/openxm.spec.in, Revision 1.5
1.5 ! takayama 1: # $OpenXM: OpenXM/misc/packages/Linux/RPM/openxm.spec.in,v 1.4 2000/03/09 09:30:18 takayama Exp $
1.1 takayama 2: # openxm.spec.in
3: #
1.5 ! takayama 4: %define ver 1.1.3
1.2 takayama 5: %define prefix /usr/local
6: %define work /var/tmp
1.1 takayama 7:
1.5 ! takayama 8: Summary: The OpenXM package is a collection of mathematical software systems integrated by the OpenXM protocol.
1.2 takayama 9: Name: openxm
1.1 takayama 10: Version: %ver
1.2 takayama 11: Release: test
1.1 takayama 12: Copyright: See OpenXM/Copyright
13: Group: Mathematical Software
1.5 ! takayama 14: Source: ftp://ftp.math.sci.kobe-u.ac.jp/pub/OpenXM/openxm-1.1.3.tar.gz
! 15: URL: http://www.openxm.org, http://www.math.sci.kobe-u.ac.jp/OpenXM
1.2 takayama 16: BuildRoot: %{work}/%{name}-root
1.3 takayama 17: ## BuildRoot should be removed in the real package building.
18:
1.1 takayama 19:
20: %description
1.5 ! takayama 21: The OpenXM package is a collection of mathematical software systems that
1.1 takayama 22: support the OpenXM protocol.
1.2 takayama 23: Main clients are asir and mathematica (math).
24: Servers are ox_asir, ox_sm1, ox_gnuplot, ox_math, ox_phc, ox_tigers.
1.4 takayama 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.
1.1 takayama 30: %prep
31: %setup
32:
33: %build
34: make configure
35: make
36:
37: %install
1.2 takayama 38: /bin/rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM
39: make install PREFIX=$RPM_BUILD_ROOT%{prefix}
1.1 takayama 40:
41: %clean
1.3 takayama 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
1.1 takayama 49:
50: %files
1.3 takayama 51: %defattr(-, root, root)
1.2 takayama 52: %{prefix}/OpenXM/bin/*
53: %{prefix}/OpenXM/lib/*
54: %{prefix}/OpenXM/man/*
55: %{prefix}/OpenXM/include/*
56: %{prefix}/OpenXM/rc/*
57: %{prefix}/OpenXM/Copyright/*
58: %doc %{prefix}/OpenXM/doc/*
59: %{prefix}/bin/asir
60: %{prefix}/bin/sm1
61: %{prefix}/bin/oxmath
62: %{prefix}/bin/oxMathematica
63: %{prefix}/bin/openxm
1.3 takayama 64: %{prefix}/bin/oxgp
65:
1.2 takayama 66:
1.1 takayama 67:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>