- new, based on fedora
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 17 Oct 2012 11:53:34 +0000 (13:53 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 17 Oct 2012 11:53:34 +0000 (13:53 +0200)
R-BiocGenerics.spec [new file with mode: 0644]

diff --git a/R-BiocGenerics.spec b/R-BiocGenerics.spec
new file mode 100644 (file)
index 0000000..7d59eda
--- /dev/null
@@ -0,0 +1,45 @@
+%define                packname        BiocGenerics
+
+Summary:       Generic functions for Bioconductor
+Name:          R-%{packname}
+Version:       0.4.0
+Release:       1
+License:       Artistic 2.0
+Group:         Applications/Science
+Source0:       http://bioconductor.org/packages/release/bioc/src/contrib/%{packname}_%{version}.tar.gz
+# Source0-md5: ae874c6b065d87ef8f0e16299070ab5a
+URL:           http://bioconductor.org/packages/release/bioc/html/%{packname}.html
+BuildRequires: R
+BuildRequires: texlive-latex
+Requires:      R
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+S4 generic functions needed by many other Bioconductor packages.
+
+%prep
+%setup -q -c -n %{packname}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/R/library
+
+%{_bindir}/R CMD INSTALL -l $RPM_BUILD_ROOT%{_libdir}/R/library %{packname}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_libdir}/R/library/%{packname}
+%doc %{_libdir}/R/library/%{packname}/html
+%doc %{_libdir}/R/library/%{packname}/DESCRIPTION
+%{_libdir}/R/library/%{packname}/INDEX
+%{_libdir}/R/library/%{packname}/NAMESPACE
+%{_libdir}/R/library/%{packname}/Meta
+%{_libdir}/R/library/%{packname}/R
+%{_libdir}/R/library/%{packname}/help
+%{_libdir}/R/library/%{packname}/unitTests
This page took 0.101769 seconds and 4 git commands to generate.