]>
Commit | Line | Data |
---|---|---|
719c3884 JR |
1 | %define packname biomaRt |
2 | ||
3 | Summary: R Interface to BioMart databases | |
4 | Name: R-%{packname} | |
b92e3b28 | 5 | Version: 2.18.0 |
719c3884 JR |
6 | Release: 1 |
7 | License: Artistic 2.0 | |
8 | Group: X11/Applications | |
9 | Source0: http://www.bioconductor.org/packages/release/bioc/src/contrib/%{packname}_%{version}.tar.gz | |
b92e3b28 | 10 | # Source0-md5: 2692dafbad92824a549ed451d5fccabc |
719c3884 JR |
11 | URL: http://www.bioconductor.org/packages/release/bioc/html/biomaRt.html |
12 | BuildRequires: R-cran-RCurl | |
13 | BuildRequires: R-cran-XML | |
14 | BuildRequires: R | |
15 | BuildRequires: texlive-latex | |
16 | Requires: R-cran-RCurl | |
17 | Requires: R-cran-XML | |
18 | Requires: R | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | In recent years a wealth of biological data has become available in | |
23 | public data repositories. Easy access to these valuable data resources | |
24 | and firm integration with data analysis is needed for comprehensive | |
25 | bioinformatics data analysis. biomaRt provides an interface to a | |
26 | growing collection of databases implementing the BioMart software | |
27 | suite (http://www.biomart.org). The package enables retrieval of large | |
28 | amounts of data in a uniform way without the need to know the | |
29 | underlying database schemas or write complex SQL queries. Examples of | |
30 | BioMart databases are Ensembl, COSMIC, Uniprot, HGNC, Gramene, | |
31 | Wormbase and dbSNP mapped to Ensembl. These major databases give | |
32 | biomaRt users direct access to a diverse set of data and enable a wide | |
33 | range of powerful online queries from gene annotation to database | |
34 | mining. | |
35 | ||
36 | %prep | |
37 | %setup -c -q -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 | %{_bindir}/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}/CITATION | |
57 | %{_libdir}/R/library/%{packname}/NAMESPACE | |
58 | %{_libdir}/R/library/%{packname}/INDEX | |
59 | %{_libdir}/R/library/%{packname}/Meta/ | |
60 | %{_libdir}/R/library/%{packname}/R/ | |
61 | %{_libdir}/R/library/%{packname}/help/ | |
62 | %{_libdir}/R/library/%{packname}/scripts/ |