e1ba71f
%global packname  rtracklayer
e1ba71f
e1ba71f
Name:             R-%{packname}
28afc59
Version:          1.28.6
28afc59
Release:          1%{dist}
e1ba71f
Summary:          R interface to genome browsers and their annotation tracks
e1ba71f
Group:            Applications/Productivity
e1ba71f
License:          Artistic 2.0 and BSD
e1ba71f
URL:              http://www.bioconductor.org/packages/release/bioc/html/rtracklayer.html
e1ba71f
Source0:          http://www.bioconductor.org/packages/2.9/bioc/src/contrib/%{packname}_%{version}.tar.gz
e1ba71f
Source1:          rtracklayer_jimkent_license.txt
f3ae07c
Requires:         R-core >= 3.0.0, texlive-latex, R-methods, R-RCurl >= 1.4.2, R-XML >= 1.98.0 
76069fb
Requires:         R-IRanges >= 1.19.34, R-GenomicRanges >= 1.13.43, R-Biostrings >= 2.29.18 
76069fb
Requires:         R-BSgenome >= 1.15.17, R-Rsamtools >= 1.13.1, R-XVector >= 0.1.3
f3ae07c
BuildRequires:    R-devel >= 3.0.0, R-methods, R-RCurl >= 1.4.2, R-XML >= 1.98.0
76069fb
BuildRequires:    R-IRanges-devel >= 1.19.34, R-GenomicRanges >= 1.13.43, R-Biostrings-devel >= 2.29.18
76069fb
BuildRequires:    R-BSgenome >= 1.23.1, R-Rsamtools-devel >= 1.13.1, zlib-devel
Yaakov Selkowitz 080be86
BuildRequires:    R-XVector-devel >= 0.1.3
e1ba71f
e1ba71f
%description
e1ba71f
Extensible framework for interacting with multiple genome browsers (currently 
e1ba71f
UCSC built-in) and manipulating annotation tracks in various formats 
e1ba71f
(currently GFF, BED, bedGraph, BED15, WIG, and BigWig built-in). The user may
e1ba71f
export/import tracks to/from the supported browsers, as well as query and 
e1ba71f
modify the browser state, such as the current viewport.
e1ba71f
e1ba71f
%prep
e1ba71f
%setup -c -q -n %{packname}
c5659b4
sed -i -e 's|zlibbioc,||' rtracklayer/DESCRIPTION
c5659b4
sed -i -e 's|import(zlibbioc)||' rtracklayer/NAMESPACE
c5659b4
e1ba71f
# This email confirms that we have permission to use the Jim Kent 
e1ba71f
# copyrighted files under the BSD license.
e1ba71f
cp %{SOURCE1} .
e1ba71f
e1ba71f
%build
e1ba71f
e1ba71f
%install
e1ba71f
mkdir -p %{buildroot}%{_libdir}/R/library
e1ba71f
%{_bindir}/R CMD INSTALL %{packname} -l %{buildroot}%{_libdir}/R/library 
e1ba71f
# Clean up in advance of check
e1ba71f
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
e1ba71f
rm -rf %{buildroot}%{_libdir}/R/library/R.css
e1ba71f
e1ba71f
# Zero file
e1ba71f
rm -rf %{buildroot}%{_libdir}/R/library/%{packname}/tests/quickload/T_species_Oct_2011/bedGraphData.bw
e1ba71f
e1ba71f
%check
e1ba71f
# All sorts of missing Suggests prevents this from working.
e1ba71f
# %%{_bindir}/R CMD check %%{packname}
e1ba71f
e1ba71f
%files
e1ba71f
%dir %{_libdir}/R/library/%{packname}
e1ba71f
%doc %{_libdir}/R/library/%{packname}/html
c10330c
%doc %{_libdir}/R/library/%{packname}/CITATION
e1ba71f
%doc %{_libdir}/R/library/%{packname}/DESCRIPTION
c10330c
%doc %{_libdir}/R/library/%{packname}/NEWS
e1ba71f
%doc %{_libdir}/R/library/%{packname}/doc/
e1ba71f
%doc rtracklayer_jimkent_license.txt
e1ba71f
%{_libdir}/R/library/%{packname}/INDEX
e1ba71f
%{_libdir}/R/library/%{packname}/NAMESPACE
e1ba71f
%{_libdir}/R/library/%{packname}/Meta
e1ba71f
%{_libdir}/R/library/%{packname}/R
e1ba71f
%{_libdir}/R/library/%{packname}/data/
f3ae07c
%{_libdir}/R/library/%{packname}/extdata/
e1ba71f
%{_libdir}/R/library/%{packname}/demo/
e1ba71f
%{_libdir}/R/library/%{packname}/help
e1ba71f
%{_libdir}/R/library/%{packname}/libs/
e1ba71f
%{_libdir}/R/library/%{packname}/notes/
e1ba71f
%{_libdir}/R/library/%{packname}/scripts/
e1ba71f
%{_libdir}/R/library/%{packname}/tests/
c10330c
%{_libdir}/R/library/%{packname}/unitTests/
e1ba71f
e1ba71f
%changelog
28afc59
* Fri Jul 03 2015 pingou <pingou@pingoured.fr> 1.28.6-1
28afc59
- Update to version 1.28.6
28afc59
275f793
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22.3-6
275f793
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
275f793
8d95ff1
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22.3-5
8d95ff1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8d95ff1
Yaakov Selkowitz 080be86
* Thu Jul 31 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 1.22.3-4
Yaakov Selkowitz 080be86
- Add missing BR: R-XVector-devel (#1105923)
Yaakov Selkowitz 080be86
c5659b4
* Thu Jul 03 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 1.22.3-3
c5659b4
- Drop the patch fixing the zlibbioc import/dependency in favor of a couple of
c5659b4
  sed commands
c5659b4
47b81e8
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22.3-2
47b81e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
47b81e8
76069fb
* Mon Feb  3 2014 Tom Callaway <spot@fedoraproject.org> - 1.22.3-1
76069fb
- update to 1.22.3
76069fb
0a80b55
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20.0-2
0a80b55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0a80b55
f3ae07c
* Thu Apr 11 2013 Tom Callaway <spot@fedoraproject.org> - 1.20.0-1
f3ae07c
- update to 1.20.0
f3ae07c
c10330c
* Fri Feb 22 2013 Tom Callaway <spot@fedoraproject.org> - 1.18.2-1
c10330c
- update to 1.18.2
c10330c
d6b1cad
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14.1-5
d6b1cad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d6b1cad
ba4cacd
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14.1-4
ba4cacd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ba4cacd
d2d7d6d
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14.1-3
d2d7d6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d2d7d6d
e1ba71f
* Mon Nov 14 2011 Tom Callaway <spot@fedoraproject.org> 1.14.1-2
e1ba71f
- update licensing with clarification from Jim Kent
e1ba71f
e1ba71f
* Thu Nov 10 2011 Tom "spot" Callaway <tcallawa@redhat.com> 1.14.1-1
e1ba71f
- initial package for Fedora