]>
Commit | Line | Data |
---|---|---|
701d22fd JR |
1 | %define packname GenomicRanges |
2 | ||
3 | Summary: Representation and manipulation of genomic intervals | |
4 | Name: R-%{packname} | |
7addcdaa | 5 | Version: 1.12.2 |
701d22fd JR |
6 | Release: 1 |
7 | License: Artistic 2.0 | |
8 | Group: Applications/Math | |
9 | Source0: http://www.bioconductor.org/packages/release/bioc/src/contrib/%{packname}_%{version}.tar.gz | |
7addcdaa | 10 | # Source0-md5: 6f749fc0aa1f439e959311d555b0e1aa |
701d22fd JR |
11 | URL: http://www.bioconductor.org/packages/release/bioc/html/GenomicRanges.html |
12 | BuildRequires: R | |
13 | BuildRequires: R-BiocGenerics | |
7addcdaa | 14 | BuildRequires: R-IRanges-devel >= 1.17.33 |
701d22fd JR |
15 | BuildRequires: texlive-latex |
16 | Requires: R | |
17 | Requires: R-BiocGenerics | |
7addcdaa | 18 | Requires: R-IRanges >= 1.17.33 |
701d22fd JR |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | The ability to efficiently store genomic annotations and alignments is | |
23 | playing a central role when it comes to analyze high-throughput | |
24 | sequencing data (a.k.a. NGS data). The package defines general purpose | |
25 | containers for storing genomic intervals as well as more specialized | |
26 | containers for storing alignments against a reference genome. | |
27 | ||
28 | %prep | |
29 | %setup -q -c -n %{packname} | |
30 | ||
31 | %build | |
32 | # circular dep on R-Rsamtools | |
33 | #{_bindir}/R CMD build %{packname} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT%{_libdir}/R/library | |
38 | ||
39 | %{_bindir}/R CMD INSTALL -l $RPM_BUILD_ROOT%{_libdir}/R/library %{packname} | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %dir %{_libdir}/R/library/%{packname}/ | |
47 | %doc %{_libdir}/R/library/%{packname}/doc/ | |
48 | %doc %{_libdir}/R/library/%{packname}/html/ | |
49 | %doc %{_libdir}/R/library/%{packname}/DESCRIPTION | |
50 | %doc %{_libdir}/R/library/%{packname}/NEWS | |
51 | %{_libdir}/R/library/%{packname}/INDEX | |
52 | %{_libdir}/R/library/%{packname}/NAMESPACE | |
53 | %{_libdir}/R/library/%{packname}/Meta/ | |
54 | %{_libdir}/R/library/%{packname}/R/ | |
55 | %{_libdir}/R/library/%{packname}/extdata/ | |
56 | %{_libdir}/R/library/%{packname}/help/ | |
57 | %{_libdir}/R/library/%{packname}/scripts/ | |
58 | %{_libdir}/R/library/%{packname}/unitTests/ | |
59 | %{_libdir}/R/library/%{packname}/libs/ |