Commit 11b70a94 authored by eric pellegrini's avatar eric pellegrini

added AutoReq option to spec file

bug fix when copying mdanse executables suite
parent b8747a12
Pipeline #7220 passed with stages
in 10 minutes and 39 seconds
......@@ -10,11 +10,9 @@ License: GPL
URL: http://www.mdanse.org
Group: System
Packager: Eric Pellegrini
Requires: python2
Requires: python2-numpy
Requires: python2-matplotlib
Requires: wxPython-devel
Requires: python2, python2-numpy, python2-matplotlib, wxPython-devel, gcc-c++, netcdf-devel
BuildRoot: ~/rpmbuild/
AutoReq: no
%description
RPM spec for MDANSE package.
......@@ -53,7 +51,7 @@ cp ${tviewer_exe_path} $RPM_BUILD_ROOT/usr/bin/.
mdanse_path=`python -c "import MDANSE ; print MDANSE.__path__[0]"`
mdanse_exe_dir=`dirname $(which mdanse)`
cp -r ${mdanse_path} $RPM_BUILD_ROOT/usr/lib64/python2.7/site-packages/
cp ${mdanse_exe_dir}/mdanse_* $RPM_BUILD_ROOT/usr/bin/.
cp ${mdanse_exe_dir}/mdanse* $RPM_BUILD_ROOT/usr/bin/.
cp ${OLDPWD}/Resources/MDANSE.desktop $RPM_BUILD_ROOT/usr/share/applications/.
cp ${OLDPWD}/Resources/mdanse.png $RPM_BUILD_ROOT/usr/share/pixmaps/.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment