Added RPM

This commit is contained in:
Anthony Scemama 2009-06-02 12:44:41 +02:00
parent 7a644b4b42
commit 5090be993a
4 changed files with 57 additions and 0 deletions

10
rpm/Makefile Normal file
View File

@ -0,0 +1,10 @@
VERSION=1.0
default:
- rm *.rpm *.tar.gz 2> /dev/null
- VERSION=$(VERSION) epm -f rpm eplf eplf.list
- VERSION=$(VERSION) epm eplf eplf.list
- mv */*.tar.gz .
- mv */*.rpm .
- rm -rf linux-2.6-*

Binary file not shown.

Binary file not shown.

47
rpm/eplf.list Normal file
View File

@ -0,0 +1,47 @@
# epm -f format irpf90 irpf90.list
# format:
# aix
# bsd
# depot or swinstall (HP-UX)
# dpkg
# inst or tardist (IRIX
# native (native for the current platform)
# osx
# pkg (Solaris)
# portable (default)
# rpm
# setld (Tru64)
# slackware
# Product information
# -------------------
%product eplf
%copyright 2009 A. Scemama, CNRS
%vendor A. Scemama, CNRS
%license ../LICENSE
%readme ../README
%description Computes the Electron Localization function from a QCIO file.
%version $VERSION
%requires libgfortran
%requires qcio
# Autoconfiguration variables
# ---------------------------
$prefix=/usr
$exec_prefix=/usr
$bindir=${exec_prefix}/bin
$data_dir=${exec_prefix}/share
$docdir=${data_dir}/doc
$srcdir=..
# Executables
# -----------
%system all
%description IRP-Fortran90 preprocessor
f 0555 root sys ${bindir}/eplf ${srcdir}/eplf_hf
f 0444 root sys ${docdir}/README ${srcdir}/README
f 0444 root sys ${docdir}/LICENSE ${srcdir}/LICENSE