Package exodusii: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | %define _unpackaged_files_terminate_build 1 %define mpiimpl openmpi %define mpidir %_libdir/%mpiimpl Name: exodusii Version: 6.09.0 %define somver 0 %define sover %somver.%version Release: alt2.git20150119 Summary: A model developed to store and retrieve transient data for finite element analyses License: BSD Group: Sciences/Mathematics Url: http://sourceforge.net/projects/exodusii/ ExclusiveArch: %ix86 x86_64 # git://exodusii.git.sourceforge.net/gitroot/exodusii/exodusii Source: %name-%version.tar Source1: CMakeCache.txt BuildPreReq: doxygen graphviz BuildPreReq: %mpiimpl-devel cmake libnetcdf-mpi-devel imake BuildPreReq: netcdf11-mpi-tools libhdf5-mpi-devel BuildPreReq: libcurl-devel %description EXODUS II is a model developed to store and retrieve transient data for finite element analyses. It is used for preprocessing, postprocessing, as well as code to code data transfer. ExodusII is based on netcdf. Includes the nemesis parallel extension. %package -n lib%name Summary: Shared libraries of EXODUS II Group: System/Libraries Requires: libnetcdf11-mpi %description -n lib%name EXODUS II is a model developed to store and retrieve transient data for finite element analyses. It is used for preprocessing, postprocessing, as well as code to code data transfer. ExodusII is based on netcdf. Includes the nemesis parallel extension. This package contains shared libraries of EXODUS II. %package -n lib%name-devel Summary: Development files of EXODUS II Group: Development/C++ Requires: lib%name = %EVR %description -n lib%name-devel EXODUS II is a model developed to store and retrieve transient data for finite element analyses. It is used for preprocessing, postprocessing, as well as code to code data transfer. ExodusII is based on netcdf. Includes the nemesis parallel extension. This package contains development files of EXODUS II. %package -n lib%name-devel-doc Summary: Documentation for EXODUS II Group: Development/Documentation BuildArch: noarch %description -n lib%name-devel-doc EXODUS II is a model developed to store and retrieve transient data for finite element analyses. It is used for preprocessing, postprocessing, as well as code to code data transfer. ExodusII is based on netcdf. Includes the nemesis parallel extension. This package contains development documentation for EXODUS II. %package -n python-module-exodus Summary: Python binding for EXODUS II Group: Development/Python Requires: lib%name = %EVR %description -n python-module-exodus EXODUS II is a model developed to store and retrieve transient data for finite element analyses. It is used for preprocessing, postprocessing, as well as code to code data transfer. ExodusII is based on netcdf. Includes the nemesis parallel extension. This package contains python binding for EXODUS II. %prep %setup install -p -m644 %SOURCE1 exodus install -p -m644 %SOURCE1 nemesis %ifarch x86_64 LIB64=64 %endif sed -i "s|@64@|$LIB64|g" exodus/CMakeCache.txt nemesis/CMakeCache.txt sed -i "s|@PWD@|$PWD|g" exodus/CMakeCache.txt nemesis/CMakeCache.txt %build mpi-selector --set %mpiimpl source %mpidir/bin/mpivars.sh export OMPI_LDFLAGS="-Wl,--as-needed,-rpath,%mpidir/lib -L%mpidir/lib" pushd exodus cmake \ %ifarch x86_64 -DLIB_SUFFIX:STRING="64" \ %endif -DSOMVER:STRING="%somver" \ -DSOVER:STRING="%sover" \ -DNETCDF_SO_ROOT=%_libdir \ -DPYTHON_INSTALL=%python_sitelibdir \ . %make_build VERBOSE=1 popd pushd nemesis cmake \ %ifarch x86_64 -DLIB_SUFFIX:STRING="64" \ %endif -DSOMVER:STRING="%somver" \ -DSOVER:STRING="%sover" \ . %make_build VERBOSE=1 popd pushd exodus doxygen popd %install source %mpidir/bin/mpivars.sh export OMPI_LDFLAGS="-Wl,--as-needed,-rpath,%mpidir/lib -L%mpidir/lib" pushd exodus %makeinstall_std popd pushd nemesis %makeinstall_std popd install -d %buildroot%_includedir/%name mv %buildroot%_includedir/*.h %buildroot%_includedir/%name/ mv nemesis/README README.Nemesis %filter_from_requires /^debug.*(libnetcdf\.so.*/s/^/libnetcdf11-mpi-debuginfo\t/ %filter_from_requires /^debug.*(libhdf5\.so.*/s/^/libhdf5-8-mpi-debuginfo\t/ %files -n lib%name %doc exodus/COPYRIGHT exodus/README README.Nemesis ChangeLog %_libdir/*.so.* %files -n lib%name-devel %_libdir/*.so %_includedir/* %files -n lib%name-devel-doc #doc exodus/html exodus/doc/* nemesis/doc/* %doc exodus/html exodus/doc/* %files -n python-module-exodus %python_sitelibdir/* %changelog * Wed Oct 10 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 6.09.0-alt2.git20150119 - NMU: updated build dependencies. * Mon Aug 28 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 6.09.0-alt1.git20150119.2 - Rebuilt with libnetcdf11. * Thu Mar 19 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.09.0-alt1.git20150119 - Version 6.09.0 * Wed Jul 02 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.14.0-alt7.git20140623 - New snapshot * Thu May 29 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.14.0-alt7.git20140509 - New snapshot * Tue Nov 12 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.14.0-alt7.git20130820 - New snapshot * Mon Feb 04 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.14.0-alt7.git20120917 - New snapshot * Sat Aug 18 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.14.0-alt7 - New snapshot * Mon Jun 25 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.14.0-alt6 - Rebuilt with OpenMPI 1.6 * Wed Dec 14 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.14.0-alt5 - Fixed RPATH * Sat Dec 03 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.14.0-alt4 - Rebuilt with Boost 1.48.0 * Tue Nov 29 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.14.0-alt3 - Version 5.14.0 * Sun Nov 27 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.10-alt3 - Moved headers into %_includedir/%name/ * Fri Sep 02 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.10-alt2 - Added headers for nemesis * Fri Sep 02 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.10-alt1 - Version 5.10 * Sun Apr 24 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.98-alt2 - Rebuilt with libnetcdf7 * Wed Apr 20 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.98-alt1 - Version 4.98 * Fri Feb 25 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.96-alt3 - Rebuilt for debuginfo * Tue Oct 12 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.96-alt2 - Fixed overlinking of libraries * Fri Sep 24 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.96-alt1 - Initial build for Sisyphus |