]> git.pld-linux.org Git - packages/R-cran-stringr.git/commitdiff
- new master auto/th/R-cran-stringr-0.6.2-1
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 29 Nov 2013 11:10:47 +0000 (12:10 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 29 Nov 2013 11:10:47 +0000 (12:10 +0100)
R-cran-stringr.spec [new file with mode: 0644]

diff --git a/R-cran-stringr.spec b/R-cran-stringr.spec
new file mode 100644 (file)
index 0000000..38d1cf2
--- /dev/null
@@ -0,0 +1,44 @@
+%define                fversion        %(echo %{version} |tr r -)
+%define                modulename      stringr
+Summary:       Make it easier to work with strings
+Name:          R-cran-%{modulename}
+Version:       0.6.2
+Release:       1
+License:       MIT
+Group:         Applications/Math
+Source0:       ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: 452628504e0910c1d0b1756370716f87
+URL:           http://cran.fhcrc.org/web/packages/stringr/index.html
+BuildRequires: R >= 2.8.1
+Requires(post,postun): R >= 2.8.1
+Requires(post,postun): perl-base
+Requires(post,postun): textutils
+Requires:      R
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+stringr is a set of simple wrappers that make R's string functions
+more consistent, simpler and easier to use. It does this by ensuring
+that: function and argument names (and positions) are consistent,
+all functions deal with NA's and zero length character appropriately,
+and the output data structures from each function matches the input
+data structures of other functions.
+
+%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}
This page took 0.106526 seconds and 4 git commands to generate.