Name: cgnslib Version: 3.2.1 Release: 1%{?dist} Summary: Computational Fluid Dynamics General Notation System License: zlib URL: http://www.cgns.org/ Source0: http://download.sourceforge.net/project/cgns/cgnslib_3.2/cgnslib_%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-gfortran BuildRequires: hdf5-devel BuildRequires: zlib-devel Requires: hdf5 = %{_hdf5_version} %description The Computational Fluid Dynamics General Notation System (CGNS) provides a general, portable, and extensible standard for the storage and retrieval of computational fluid dynamics (CFD) analysisdata. It consists of a collection of conventions, and free and open software implementing those conventions. It is self-descriptive, machine-independent, well-documented, and administered by an international steering committee. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: hdf5-devel%{?_isa} %description devel This package contains libraries and header files for developing applications that use %{name} libraries. %prep %setup -qn %{name}_%{version} # Multi-lib path fix. sed -i "s|\${CMAKE_INSTALL_PREFIX}/lib|\${CMAKE_INSTALL_PREFIX}/\${LIB_INSTALL_DIR}|" CMakeLists.txt sed -i "s|DESTINATION lib|DESTINATION \${LIB_INSTALL_DIR}|" src/CMakeLists.txt %build %cmake -DCMAKE_SKIP_RPATH=ON \ -DCGNS_ENABLE_TESTS=ON \ -DCGNS_ENABLE_FORTRAN=ON \ -DCGNS_BUILD_CGNSTOOLS=ON \ -DCGNS_ENABLE_HDF5=ON %make_build %install %make_install find %{buildroot} -name '*.a' -delete -print %check make test %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc changelog license.txt readme.{lyx,txt} %{_bindir}/adf2hdf %{_bindir}/cgconfig %{_bindir}/cgnscalc %{_bindir}/cgnscheck %{_bindir}/cgnscompress %{_bindir}/cgnsconvert %{_bindir}/cgnsdiff %{_bindir}/cgnslist %{_bindir}/cgnsplot %{_bindir}/cgnsnodes %{_bindir}/cgnsnames %{_bindir}/cgnstools/ %{_bindir}/cgnsupdate %{_bindir}/cgnsview %{_bindir}/hdf2adf %{_bindir}/unitconv %{_datadir}/cgnstools/ %{_libdir}/libcgns.so.3.2 %files devel %{_includedir}/cgnsBuild.defs %{_includedir}/cgns_io.h %{_includedir}/cgnslib.h %{_includedir}/cgnslib_f.h %{_includedir}/cgnstypes.h %{_includedir}/cgnstypes_f.h %{_includedir}/cgnswin_f.h %{_includedir}/cgnsconfig.h %{_libdir}/libcgns.so %changelog * Mon Jun 30 2014 Christopher Meng - 3.2.1-1 - Update to 3.2.1 - Enable hdf5 support - Enable fortran support - Build cgnstools(included in main package) * Tue Jun 10 2014 Orion Poplawski - 3.2-6 - Rebuild for hdf 1.8.13 * Sat Jun 07 2014 Fedora Release Engineering - 3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Dec 27 2013 Orion Poplawski - 3.2-4 - Rebuild for hdf5 1.8.12 * Sat Aug 03 2013 Fedora Release Engineering - 3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu May 16 2013 Orion Poplawski - 3.2-2 - Rebuild for hdf5 1.8.11 * Mon Mar 18 2013 Shakthi Kannan - 3.2-1 - new upstream version 3.2 - userguide not provided any more * Wed Feb 13 2013 Fedora Release Engineering - 3.1-5.r4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Dec 03 2012 Orion Poplawski - 3.1-4.r4 - Rebuild for hdf5 1.8.10 * Wed Aug 15 2012 Shakthi Kannan 3.1-3.r4 - Updated to 3.1.3-4 * Wed Jul 18 2012 Fedora Release Engineering - 2.5-8.r2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue May 15 2012 Orion Poplawski - 2.5-7.rc2 - Rebuild for hdf5 - Explicitly require version of hdf5 built with * Thu Jan 12 2012 Fedora Release Engineering - 2.5-6.r2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Sep 01 2011 Shakthi Kannan 2.5-5.r2 - Added hdf5 to Requires, and hdf5-devel to devel Requires. * Thu Feb 17 2011 Shakthi Kannan 2.5-5.r1 - Updated to 2.5-5 release. * Sun Jul 18 2010 Shakthi Kannan 2.5-3.r4 - Use zlib license that supercedes LGPLv2. * Fri Jul 16 2010 Shakthi Kannan 2.5-2.r4 - Expanded CFD abbreviation. - Added -devel sub-package. - Added global debug_package nil. - Added patch for creating shared library with soname. - Added patch to fix library returning exit. - Added usersguide.pdf to -devel sub-package. - hdf5 atleast 1.8 is required. - Added if condition for matching LINUX64 when copying library. * Sat Aug 15 2009 Chitlesh Goorah 2.5-1.r4 - New Package