[packages/R-cran-bitops] - new

baggins baggins at pld-linux.org
Thu Oct 18 14:18:52 CEST 2012


commit 64ad6ca0c23af421b4247d8eab605380f3b3c042
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Oct 18 14:18:36 2012 +0200

    - new

 R-cran-bitops.spec | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
---
diff --git a/R-cran-bitops.spec b/R-cran-bitops.spec
new file mode 100644
index 0000000..35be797
--- /dev/null
+++ b/R-cran-bitops.spec
@@ -0,0 +1,38 @@
+%define		fversion	%(echo %{version} |tr r -)
+%define		modulename	bitops
+Summary:	Functions for Bitwise operations
+Name:		R-cran-%{modulename}
+Version:	1.0r4.1
+Release:	1
+License:	GPL v2+
+Group:		Applications/Math
+Source0:	http://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5:	5b434b3e4e3957e247e420afba515e35
+BuildRequires:	R >= 2.8.1
+BuildRequires:	texlive-fonts-cmsuper
+BuildRequires:	texlive-latex-ae
+BuildRequires:	texlive-latex-bibtex
+BuildRequires:	texlive-xetex
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Functions for Bitwise operations on integer vectors.
+
+%prep
+%setup -q -c
+
+%build
+R CMD build %{modulename}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
+R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{modulename}/DESCRIPTION
+%{_libdir}/R/library/%{modulename}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/R-cran-bitops.git/commitdiff/64ad6ca0c23af421b4247d8eab605380f3b3c042



More information about the pld-cvs-commit mailing list