[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.3

1.3     ! takayama    1: # $OpenXM: OpenXM/misc/packages/Linux/RPM/openxm-shared.spec.in,v 1.2 2000/03/10 14:57:52 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}
                     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/lib/asir-contrib/*
                     53: %{prefix}/OpenXM/lib/java-support/*
                     54: %{prefix}/OpenXM/lib/k097/*
                     55: %{prefix}/OpenXM/lib/math/*
                     56: %{prefix}/OpenXM/lib/pari/*
                     57: %{prefix}/OpenXM/lib/sm1/*
                     58: %{prefix}/OpenXM/lib/asir/*
                     59: %{prefix}/OpenXM/man/*
                     60: %{prefix}/OpenXM/include/*
                     61: %{prefix}/OpenXM/Copyright/*
                     62: %doc  %{prefix}/OpenXM/doc/*
                     63: ## %config %{prefix}/OpenXM/lib/asir/asir_key
                     64:
1.3     ! takayama   65: %post
        !            66: if [ -f /var/tmp/asir_key ] ; then
        !            67:        cp -f /var/tmp/asir_key.save %{prefix}/OpenXM/lib/asir/asir_key ;
        !            68: fi
        !            69:
        !            70: %preun
        !            71: if [ -f %{prefix}/OpenXM/lib/asir/asir_key ] ; then
        !            72:        cp -f %{prefix}/OpenXM/lib/asir/asir_key /var/tmp/asir_key.save ;
        !            73: fi
1.1       takayama   74:
                     75:

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