%global packname IRanges %global BioC 2.5 %global Rvers 2.10.0 Name: R-%{packname} Version: 1.4.9 Release: 1%{?dist} Summary: Low-level containers for storing sets of integer ranges Group: Applications/Engineering License: Artistic 2.0 and Copyright only # See https://www.redhat.com/archives/fedora-r-devel-list/2009-April/msg00001.html URL: http://bioconductor.org/packages/%{BioC}/bioc/html/IRanges.html Source0: http://bioconductor.org/packages/%{BioC}/bioc/src/contrib/%{packname}_%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: R >= %{Rvers} R-methods R-stats R-RUnit R-Matrix Requires(post): R Requires(postun): R BuildRequires: R-devel >= %{Rvers} tetex-latex R-methods R-stats R-RUnit R-Matrix %description The IRanges class and its extensions are low-level containers for storing sets of integer ranges. A typical use of these containers in biology is for representing a set of chromosome regions. More specific extensions of the IRanges class will typically allow the storage of additional information attached to each chromosome region as well as a hierarchical relationship between these regions. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -c -n %{packname} %build %install rm -rf %{buildroot} # x86/x86_64 -> Architecture dependent package mkdir -p %{buildroot}%{_libdir}/R/library R CMD INSTALL %{packname} -l %{buildroot}%{_libdir}/R/library # Clean up in advance of check test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -rf %{buildroot}%{_libdir}/R/library/R.css %check %{_bindir}/R CMD check %{packname} %clean rm -rf %{buildroot} %files %defattr(-, root, root, -) %dir %{_libdir}/R/library/%{packname}/ %doc %{_libdir}/R/library/%{packname}/doc %doc %{_libdir}/R/library/%{packname}/html %doc %{_libdir}/R/library/%{packname}/DESCRIPTION %{_libdir}/R/library/%{packname}/INDEX %{_libdir}/R/library/%{packname}/NAMESPACE %{_libdir}/R/library/%{packname}/extdata %{_libdir}/R/library/%{packname}/Meta %{_libdir}/R/library/%{packname}/help %{_libdir}/R/library/%{packname}/R %{_libdir}/R/library/%{packname}/libs %files devel %defattr(-,root,root,-) %{_libdir}/R/library/%{packname}/include %changelog * Thu Dec 17 2009 pingou 1.4.9-1 - Update to 1.4.9 * Sat Nov 21 2009 pingou 1.4.7-1 - Update to 1.4.7 - Remove %%post and %%postun - Adapt %%files to R-2.10.0 * Fri Jul 24 2009 Fedora Release Engineering - 1.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Jun 12 2009 pingou 1.2.3-1 - Update to 1.2.3 * Wed Apr 29 2009 pingou 1.2.0-2 - Update the file section to package doc - Update the Requires and BR to take into account R version * Tue Apr 28 2009 pingou 1.2.0-1 - Update to Bioconductor 2.4 and R-2.9.0 * Wed Apr 01 2009 pingou 1.1.55-1 - New release from bioconductor 2.4 which includes the change in the description file for the license used - Update the license to its correct format * Sun Mar 22 2009 pingou 1.0.14-3 - The main package owns the directory - Remove pkgconfig as R for the devel package - Define becomes global * Sat Mar 21 2009 pingou 1.0.14-2 - Add R-Matrix as R and BR * Fri Mar 13 2009 pingou 1.0.14-1 - Update to 1.0.14 * Wed Feb 18 2009 pingou 1.0.11-1 - initial package for Fedora