]>
Commit | Line | Data |
---|---|---|
a7fe7184 JR |
1 | %define packname IRanges |
2 | ||
3 | Summary: Low-level containers for storing sets of integer ranges | |
4 | Name: R-%{packname} | |
e1a2f06b | 5 | Version: 1.18.0 |
a7fe7184 JR |
6 | Release: 1 |
7 | License: Artistic 2.0 | |
8 | Group: Applications/Engineering | |
9 | Source0: http://bioconductor.org/packages/release/bioc/src/contrib/%{packname}_%{version}.tar.gz | |
e1a2f06b | 10 | # Source0-md5: 92da8877d5e5585af501f90c7e672690 |
a7fe7184 | 11 | URL: http://bioconductor.org/packages/release/bioc/html/IRanges.html |
e1a2f06b | 12 | BuildRequires: R-BiocGenerics >= 0.5.6 |
a7fe7184 JR |
13 | BuildRequires: R |
14 | BuildRequires: texlive-latex | |
e1a2f06b | 15 | Requires: R-BiocGenerics >= 0.5.6 |
a7fe7184 JR |
16 | Requires: R |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | The IRanges class and its extensions are low-level containers for | |
21 | storing sets of integer ranges. A typical use of these containers in | |
22 | biology is for representing a set of chromosome regions. More specific | |
23 | extensions of the IRanges class will typically allow the storage of | |
24 | additional information attached to each chromosome region as well as a | |
25 | hierarchical relationship between these regions. | |
26 | ||
27 | %package devel | |
28 | Summary: Development files for %{name} | |
29 | Group: Development/Libraries | |
30 | Requires: %{name} = %{version}-%{release} | |
31 | ||
32 | %description devel | |
33 | The %{name}-devel package contains libraries and header files for | |
34 | developing applications that use %{name}. | |
35 | ||
36 | %prep | |
37 | %setup -q -c -n %{packname} | |
38 | ||
39 | %build | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{_libdir}/R/library | |
44 | ||
45 | R CMD INSTALL %{packname} -l $RPM_BUILD_ROOT%{_libdir}/R/library | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %dir %{_libdir}/R/library/%{packname}/ | |
53 | %doc %{_libdir}/R/library/%{packname}/doc | |
54 | %doc %{_libdir}/R/library/%{packname}/html | |
55 | %doc %{_libdir}/R/library/%{packname}/DESCRIPTION | |
56 | %doc %{_libdir}/R/library/%{packname}/NEWS | |
57 | %{_libdir}/R/library/%{packname}/INDEX | |
58 | %{_libdir}/R/library/%{packname}/NAMESPACE | |
59 | %{_libdir}/R/library/%{packname}/extdata | |
60 | %{_libdir}/R/library/%{packname}/Meta | |
61 | %{_libdir}/R/library/%{packname}/help | |
62 | %{_libdir}/R/library/%{packname}/R | |
63 | %{_libdir}/R/library/%{packname}/libs | |
64 | %{_libdir}/R/library/%{packname}/unitTests | |
65 | ||
66 | %files devel | |
67 | %defattr(644,root,root,755) | |
68 | %{_libdir}/R/library/%{packname}/include |