/
R-DECIPHER.spec
42 lines (31 loc) · 1.2 KB
/
R-DECIPHER.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
%global packname DECIPHER
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 1.0.0
Release: 1%{?dist}
Summary: Database Enabled Code for Ideal Probe Hybridization Employing R
Group: Applications/Engineering
License: GPL-3
URL: http://bioconductor.org/packages/release/bioc/html/%{packname}.html
Source0: http://bioconductor.org/packages/release/bioc/src/contrib/%{packname}_%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: R-Biostrings R-RSQLite R-IRanges R-stats
BuildRequires: R-devel tex(latex) R-Biostrings R-RSQLite R-IRanges R-stats
%description
A toolset that assist in the design of hybridization probes.
%prep
%setup -q -c -n %{packname}
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{rlibdir}
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -f %{buildroot}%{rlibdir}/R.css
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%changelog
* Thu Nov 24 2011 Pierre-Yves Chibon <pingou@pingoured.fr> 1.0.0-1
- initial package for Fedora