- Import the first SRPM from the review
- Change the Require from R to R-core
This commit is contained in:
parent
2b45648e2e
commit
7b22b0717e
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
GenomicRanges_1.0.7.tar.gz
|
78
R-GenomicRanges.spec
Normal file
78
R-GenomicRanges.spec
Normal file
@ -0,0 +1,78 @@
|
||||
%global packname GenomicRanges
|
||||
|
||||
%global rlibdir %{_libdir}/R/library
|
||||
|
||||
Name: R-%{packname}
|
||||
Version: 1.0.7
|
||||
Release: 1%{?dist}
|
||||
Summary: Representation and manipulation of genomic intervals
|
||||
|
||||
Group: Applications/Engineering
|
||||
License: Artistic 2.0
|
||||
URL: http://www.bioconductor.org/packages/release/bioc/html/GenomicRanges.html
|
||||
Source0: http://www.bioconductor.org/packages/release/bioc/src/contrib/%{packname}_%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: R-core >= 2.8.0 R-methods R-IRanges >= 1.5.74
|
||||
BuildRequires: R-devel tex(latex) R >= 2.8.0 R-methods R-IRanges-devel >= 1.5.74
|
||||
|
||||
%description
|
||||
The ability to efficiently store genomic annotations and alignments is
|
||||
playing a central role when it comes to analyze high-throughput sequencing
|
||||
data (a.k.a. NGS data). The package defines general purpose containers for
|
||||
storing genomic intervals as well as more specialized containers for
|
||||
storing alignments against a reference genome.
|
||||
|
||||
%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
|
||||
|
||||
%check
|
||||
# Circular dependencies:
|
||||
# R-BSgenome depends on R-GenomicRanges which
|
||||
# suggests to have R-BSgenome
|
||||
#%%{_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}/NAMESPACE
|
||||
%{rlibdir}/%{packname}/Meta/
|
||||
%{rlibdir}/%{packname}/R/
|
||||
%{rlibdir}/%{packname}/help/
|
||||
%{rlibdir}/%{packname}/scripts/
|
||||
%{rlibdir}/%{packname}/unitTests/
|
||||
%{rlibdir}/%{packname}/libs/
|
||||
|
||||
%changelog
|
||||
* Tue Aug 17 2010 pingou <pingou@pingoured.fr> 1.0.7-2
|
||||
- Change Require from R to R-core
|
||||
|
||||
* Thu Jul 29 2010 pingou <pingou@pingoured.fr> 1.0.7-1
|
||||
- Update to 1.0.7
|
||||
- End directory by / in %%files
|
||||
|
||||
* Mon Jul 19 2010 pingou <pingou@pingoured.fr> 1.0.6-1
|
||||
- Update to 1.0.6
|
||||
- End directory by / in %%files
|
||||
- Change URL
|
||||
- Fix typo in the comment of check (dependencies)
|
||||
- Add dependencie to R-IRanges-devel
|
||||
|
||||
* Tue Jun 29 2010 pingou <pingou@pingoured.fr> 1.0.5-1
|
||||
- initial package for Fedora
|
Loading…
Reference in New Issue
Block a user