[packages/R-affyio] - new, based on fedora

baggins baggins at pld-linux.org
Wed Oct 17 14:47:04 CEST 2012


commit 5993ebdb06283a040df7f6b18a08c996a72ec139
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Oct 17 14:46:47 2012 +0200

    - new, based on fedora

 R-affyio.spec     | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 no-zlibbioc.patch | 19 +++++++++++++++++++
 2 files changed, 69 insertions(+)
---
diff --git a/R-affyio.spec b/R-affyio.spec
new file mode 100644
index 0000000..fe880ad
--- /dev/null
+++ b/R-affyio.spec
@@ -0,0 +1,50 @@
+%define		packname	affyio
+
+Summary:	Tools for parsing Affymetrix data files
+Name:		R-%{packname}
+Version:	1.26.0
+Release:	1
+License:	LGPL v2+
+Group:		Applications/Engineering
+Source0:	http://bioconductor.org/packages/release/bioc/src/contrib/%{packname}_%{version}.tar.gz
+# Source0-md5:	49f79ea18618b82e1babfd146faabf68
+Patch0:		no-zlibbioc.patch
+URL:		http://bioconductor.org/packages/release/bioc/html/affyio.html
+BuildRequires:	R
+BuildRequires:	texlive-latex
+BuildRequires:	zlib-devel
+Requires:	R
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Routines for parsing Affymetrix data files based upon file format
+information. Primary focus is on accessing the CEL and CDF file
+formats.
+
+%prep
+%setup -q -c -n %{packname}
+%patch0 -p0
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/R/library
+
+R CMD INSTALL %{packname} -l $RPM_BUILD_ROOT%{_libdir}/R/library
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_libdir}/R/library/%{packname}
+%doc %{_libdir}/R/library/%{packname}/DESCRIPTION
+%doc %{_libdir}/R/library/%{packname}/html
+%doc %{_libdir}/R/library/%{packname}/LICENSE
+%{_libdir}/R/library/%{packname}/INDEX
+%{_libdir}/R/library/%{packname}/NAMESPACE
+%{_libdir}/R/library/%{packname}/R/
+%{_libdir}/R/library/%{packname}/Meta
+%{_libdir}/R/library/%{packname}/help
+%{_libdir}/R/library/%{packname}/libs
diff --git a/no-zlibbioc.patch b/no-zlibbioc.patch
new file mode 100644
index 0000000..adf3f1f
--- /dev/null
+++ b/no-zlibbioc.patch
@@ -0,0 +1,19 @@
+diff -up affyio/DESCRIPTION.zlibbioc affyio/DESCRIPTION
+--- affyio/DESCRIPTION.zlibbioc	2011-11-09 13:52:14.414301661 -0500
++++ affyio/DESCRIPTION	2011-11-09 13:52:17.905242736 -0500
+@@ -4,7 +4,6 @@ Title: Tools for parsing Affymetrix data
+ Author: Benjamin Milo Bolstad <bmb at bmbolstad.com>
+ Maintainer: Benjamin Milo Bolstad <bmb at bmbolstad.com>
+ Depends: R (>= 2.6.0), methods
+-Imports: zlibbioc
+ Description: Routines for parsing Affymetrix data files based upon file format information. Primary focus is on accessing the CEL and CDF file formats.
+ License: LGPL (>= 2)
+ biocViews: Microarray, DataImport, Infrastructure
+diff -up affyio/NAMESPACE.zlibbioc affyio/NAMESPACE
+--- affyio/NAMESPACE.zlibbioc	2011-10-31 19:49:59.000000000 -0400
++++ affyio/NAMESPACE	2011-11-09 13:51:33.448998265 -0500
+@@ -1,4 +1,3 @@
+ exportPattern("^[^\\.]")
+ useDynLib("affyio")
+-import(zlibbioc)
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/R-affyio.git/commitdiff/5993ebdb06283a040df7f6b18a08c996a72ec139



More information about the pld-cvs-commit mailing list