Name: netcdf-cxx Version: 4.2 Release: 30%{?dist} Summary: Legacy netCDF C++ library License: NetCDF URL: http://www.unidata.ucar.edu/software/netcdf/ Source0: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-cxx-%{version}.tar.gz BuildRequires: make BuildRequires: gcc-c++ BuildRequires: netcdf-devel %description Legacy netCDF C++ library. This library is provided for backward compatibility only. New C++ development should be done with the netCDF CXX4 C++ library. %package devel Summary: Development files legacy netCDF C++ library Requires: %{name}%{?_isa} = %{version}-%{release} Requires: netcdf-devel%{?_isa} %description devel This package contains the legacy netCDF C++ library header files and shared devel library. %package static Summary: Static libraries for legacy netCDF C++ library Requires: %{name}-devel%{?_isa} = %{version}-%{release} %description static This package contains the netCDF static libraries. %prep %setup -q %build %configure make %{?_smp_mflags} %install make install DESTDIR=${RPM_BUILD_ROOT} /bin/rm ${RPM_BUILD_ROOT}%{_libdir}/*.la /bin/rm ${RPM_BUILD_ROOT}%{_infodir}/dir %check make check %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc COPYRIGHT cxx/README %{_libdir}/libnetcdf_c++.so.* %files devel %doc examples man4/%{name}.pdf %{_includedir}/ncvalues.h %{_includedir}/netcdf.hh %{_includedir}/netcdfcpp.h %{_libdir}/libnetcdf_c++.so %{_infodir}/%{name}.info* %files static %{_libdir}/libnetcdf_c++.a %changelog * Fri Jul 22 2022 Fedora Release Engineering - 4.2-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 4.2-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Aug 10 2021 Orion Poplawski - 4.2-28 - Rebuild for netcdf 4.8.0 * Thu Jul 22 2021 Fedora Release Engineering - 4.2-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 4.2-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 4.2-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 4.2-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 4.2-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Mar 16 2019 Orion Poplawski - 4.2-22 - Rebuild for netcdf 4.6.3 * Fri Feb 01 2019 Fedora Release Engineering - 4.2-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 4.2-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 4.2-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 4.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 4.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 4.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 4.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jan 22 2016 Orion Poplawski - 4.2-14 - Rebuild for netcdf 4.4.0 * Wed Jun 17 2015 Fedora Release Engineering - 4.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 4.2-12 - Rebuilt for GCC 5 C++11 ABI change * Sun Aug 17 2014 Fedora Release Engineering - 4.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 4.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 4.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 4.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 4.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Mar 21 2012 Orion Poplawski - 4.2-6 - Add Requires netcdf-devel * Tue Feb 28 2012 Fedora Release Engineering - 4.2-5 - Rebuilt for c++ ABI breakage * Fri Jan 13 2012 Fedora Release Engineering - 4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Dec 5 2011 Orion Poplawski - 4.2-3 - Move info file to -devel - Add examples and pdf to -devel documentation - Drop %%defattr, %%clean, BuildRoot * Mon Oct 3 2011 Orion Poplawski - 4.2-2 - Use %%{?_isa} in Requires - Change -static to require the -devel package * Fri Sep 30 2011 Orion Poplawski - 4.2-1 - Initial package