diff --git a/.cvsignore b/.cvsignore index e69de29..082d265 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +IRanges_1.1.55.tar.gz diff --git a/R-IRanges.spec b/R-IRanges.spec new file mode 100644 index 0000000..47dc965 --- /dev/null +++ b/R-IRanges.spec @@ -0,0 +1,107 @@ +%global BioC 2.4 +%global packname IRanges + +Name: R-%{packname} +Version: 1.1.55 +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 >= 2.8.0 R-methods R-stats R-RUnit R-Matrix +Requires(post): R +Requires(postun): R +BuildRequires: R-devel tetex-latex R >= 2.8.0 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} + +%post +%{_R_make_search_index} + +%postun +%{_R_make_search_index} + +%files +%defattr(-, root, root, -) +%dir %{_libdir}/R/library/%{packname}/ +%doc %{_libdir}/R/library/%{packname}/latex +%doc %{_libdir}/R/library/%{packname}/html +%doc %{_libdir}/R/library/%{packname}/DESCRIPTION +%doc %{_libdir}/R/library/%{packname}/man +%{_libdir}/R/library/%{packname}/CONTENTS +%{_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}/R-ex +%{_libdir}/R/library/%{packname}/libs + +%files devel +%defattr(-,root,root,-) +%{_libdir}/R/library/%{packname}/include + +%changelog +* 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 diff --git a/import.log b/import.log new file mode 100644 index 0000000..3209b13 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +R-IRanges-1_1_55-1_fc10:F-10:R-IRanges-1.1.55-1.fc10.src.rpm:1239005732 diff --git a/sources b/sources index e69de29..388dad1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5f61e96f68c755fc1a1d1333560a7e38 IRanges_1.1.55.tar.gz