%global packname hdf5 Name: R-%{packname} Version: 1.6.9 Release: 10%{?dist} Source0: http://cran.r-project.org/contrib/main/%{packname}_%{version}.tar.gz License: GPLv2+ URL: http://cran.r-project.org/web/packages/hdf5/index.html Group: Applications/Engineering Summary: Interface to the NCSA HDF5 library BuildRequires: R-devel, tex(latex), hdf5-devel, zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(post): R-core Requires(postun): R-core # We hardcode this because it does need a rebuild if hdf5 updates. Requires: hdf5 = 1.8.5.patch1 %description R package: Interface to the NCSA HDF5 library %prep %setup -q -c -n %{packname} %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_libdir}/R/library export HDF5CPPFLAGS=-DH5_USE_16_API %{_bindir}/R CMD INSTALL -l $RPM_BUILD_ROOT%{_libdir}/R/library %{packname} # Clean up in advance of check test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -rf $RPM_BUILD_ROOT%{_libdir}/R/library/R.css %check export HDF5CPPFLAGS=-DH5_USE_16_API %{_bindir}/R CMD check %{packname} %clean rm -rf $RPM_BUILD_ROOT %post %{_R_make_search_index} %postun %{_R_make_search_index} %files %{_libdir}/R/library/%{packname} %changelog * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.9-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Sep 8 2010 Orion Poplawski - 1.6.9-9 - Rebuild for hdf5-1.8.5.patch1 * Tue Jun 22 2010 Orion Poplawski - 1.6.9-8 - Rebuild for hdf5-1.8.5 * Tue Mar 2 2010 Orion Poplawski - 1.6.9-7 - Rebuild for hdf5-1.8.4.patch1 * Fri Jan 8 2010 Orion Poplawski - 1.6.9-6 - Actually bump the hdf5 requires * Thu Jan 7 2010 Orion Poplawski - 1.6.9-5 - Rebuild for hdf5-1.8.4 * Wed Nov 4 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.9-4 - Rebuild for hdf5-1.8.3 * Tue Aug 11 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.9-3 - update spec file * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Orion Poplawski <orion@cora.nwra.com> - 1.6.9-1 - Update to 1.6.9 - Rebuild for hdf5-1.8.2 - Drop explicit hdf5 version requirement - Fix latex BR * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Nov 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.8-1 - update to 1.6.8 * Mon Aug 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.7-1 - update to 1.6.7 - add versioned requires to hdf5 * Wed May 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.6-6 - reenable ppc64 * Tue May 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.6-5 - excludearch ppc64, due to bugzilla 445423 * Wed Feb 29 2008 Orion Poplawski <orion@cora.nwra.com> - 1.6.6-4 - Rebuild for hdf5-1.8.0, use compatability API define * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.6.6-3 - Autorebuild for GCC 4.3 * Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.6-2 - rebuild for ppc32 - fix license tags * Thu Jul 5 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.6-1 - bump to 1.6.6 * Tue Oct 17 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.4-2 - bump for R 2.4.0 * Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.4-1 - bump to 1.6.4 * Mon Jul 4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.0-1 - Initial package creation