-
Notifications
You must be signed in to change notification settings - Fork 1
/
R-pumadata.spec
70 lines (55 loc) · 2.09 KB
/
R-pumadata.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
%global packname pumadata
%global rlibdir %{_datadir}/R/library
Name: R-%{packname}
Version: 1.0.3
Release: 2%{?dist}
Summary: Various data sets for use with the puma package
Group: Applications/Engineering
License: LGPL
URL: http://bioconductor.org/packages/release/bioc/html/pumadata.html
Source0: http://bioconductor.org/packages/release/bioc/src/contrib/%{packname}_%{version}.tar.gz
Patch0: %{name}-circular-dependency-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: R-core
Requires: R >= 2.4.0 R-affy >= 1.23.4 R-Biobase >= 2.5.5 R-puma
#BuildRequires: R-devel tex(latex) R >= 2.4.0 R-affy >= 1.23.4 R-Biobase >= 2.5.5 R-puma
#Try removing circular dependency on puma
BuildRequires: R-devel tex(latex) R >= 2.4.0 R-affy >= 1.23.4 R-Biobase >= 2.5.5
%description
This is a simple data package including various data sets derived from the
estrogen data for use with the puma (Propagating Uncertainty in Microarray
Analysis) package.
%prep
%setup -q -c -n %{packname}
%patch0 -p0 -b .%{name}-circular-dependency-fix.patch
%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
#%check
#%{_bindir}/R CMD check %{packname}
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/doc
%doc %{rlibdir}/%{packname}/html
%doc %{rlibdir}/%{packname}/DESCRIPTION
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help
%{rlibdir}/%{packname}/CITATION
%{rlibdir}/%{packname}/data
%changelog
* Fri Oct 14 2011 Adam Huffman <[email protected]> - 1.0.3-2
- remove circular dependency on R-puma
- fix %%files
- disable %%check to work around circular dependency
* Fri Oct 14 2011 Adam Huffman <[email protected]> 1.0.3-1
- initial package for Fedora