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

Annotation of OpenXM/misc/packages/Linux/RPM/openxm-shared.spec.in, Revision 1.5

1.5     ! takayama    1: # $OpenXM: OpenXM/misc/packages/Linux/RPM/openxm-shared.spec.in,v 1.4 2000/03/11 06:22:34 takayama Exp $
1.1       takayama    2: #  openxm-shared.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 architecture independent part of it.
                      9: Name:      openxm-shared
                     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:
                     33: %build
                     34: make configure
                     35: make
                     36:
                     37: %install
                     38: /bin/rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM
                     39: make install-shared-files PREFIX=$RPM_BUILD_ROOT%{prefix}
1.5     ! takayama   40: make install-man-pages-for-rpm PREFIX=$RPM_BUILD_ROOT%{prefix}
1.1       takayama   41:
                     42: %clean
                     43: rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM
                     44: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/asir
                     45: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/sm1
                     46: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxmath
                     47: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxMathematica
                     48: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/openxm
                     49: rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxgp
                     50:
                     51: %files
                     52: %defattr(-, root, root)
                     53: %{prefix}/OpenXM/lib/asir-contrib/*
                     54: %{prefix}/OpenXM/lib/java-support/*
                     55: %{prefix}/OpenXM/lib/k097/*
                     56: %{prefix}/OpenXM/lib/math/*
                     57: %{prefix}/OpenXM/lib/pari/*
                     58: %{prefix}/OpenXM/lib/sm1/*
                     59: %{prefix}/OpenXM/lib/asir/*
                     60: %{prefix}/OpenXM/man/*
                     61: %{prefix}/OpenXM/include/*
                     62: %{prefix}/OpenXM/Copyright/*
1.5     ! takayama   63: %{prefix}/man/man1/openxm.1
        !            64: %{prefix}/man/man1/sm1.1
1.1       takayama   65: %doc  %{prefix}/OpenXM/doc/*
                     66: ## %config %{prefix}/OpenXM/lib/asir/asir_key
                     67:
1.3       takayama   68: %post
1.4       takayama   69: if [ -f /var/tmp/asir_key.save ] ; then
1.3       takayama   70:        cp -f /var/tmp/asir_key.save %{prefix}/OpenXM/lib/asir/asir_key ;
                     71: fi
                     72:
                     73: %preun
                     74: if [ -f %{prefix}/OpenXM/lib/asir/asir_key ] ; then
                     75:        cp -f %{prefix}/OpenXM/lib/asir/asir_key /var/tmp/asir_key.save ;
                     76: fi
1.1       takayama   77:
                     78:

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