pvm/pvm.spec

68 lines
2.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: pvm
Version: 3.4.6
Release: 2mamba
Summary: A software that permits computers hooked together by a network to be used as a single large parallel computer
Group: Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.csm.ornl.gov/pvm/
Source: http://www.netlib.org/pvm3/pvm%{version}.tgz
Patch0: pvm-3.4.6-shared_libs.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
PVM (Parallel Virtual Machine) is a software package that permits a heterogeneous collection of Unix and/or Windows computers hooked together by a network to be used as a single large parallel computer. Thus large computational problems can be solved more cost effectively by using the aggregate power and memory of many computers. The software is very portable. The source, which is available free thru netlib, has been compiled on everything from laptops to CRAYs.
PVM enables users to exploit their existing computer hardware to solve much larger problems at minimal additional cost. Hundreds of sites around the world are using PVM to solve important scientific, industrial, and medical problems in addition to PVM's use as an educational tool to teach parallel programming. With tens of thousands of users, PVM has become the de facto standard for distributed computing world-wide.
%prep
%setup -q -n %{name}3
%patch0 -p1
%build
export PVM_ROOT=`pwd`
%make all shared
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_datadir}/pvm/ \
%{buildroot}%{_bindir} \
%{buildroot}%{_libdir} \
%{buildroot}%{_mandir} \
%{buildroot}%{_includedir}
cp -a include/*.h %{buildroot}%{_includedir}/
cp -a lib/LINUX/lib*.a %{buildroot}%{_libdir}/
cp -a lib/LINUX/libpvm3.so %{buildroot}%{_libdir}/
ln -s libpvm3.so %{buildroot}%{_libdir}/libpvm3.so.1.0
cp -a lib/LINUX/pvm %{buildroot}%{_bindir}/
cp -a lib/LINUX/pvmd3 %{buildroot}%{_bindir}/
cp -a lib/pvmgetarch %{buildroot}%{_bindir}/
#cp -a lib/pvmd %{buildroot}%{_bindir}/
cp -a man/man1 %{buildroot}%{_mandir}
cp -a man/man3 %{buildroot}%{_mandir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/pvm*
%{_libdir}/lib*.a
%{_libdir}/libpvm3.so
%{_libdir}/libpvm3.so.*
%{_includedir}/*.h
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
* Tue Aug 25 2015 Automatic Build System <autodist@mambasoft.it> 3.4.6-2mamba
- automatic rebuild by autodist
* Tue Nov 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.6-1mamba
- package created by autospec