]> git.pld-linux.org Git - packages/R-cran-stringr.git/blame - R-cran-stringr.spec
- new
[packages/R-cran-stringr.git] / R-cran-stringr.spec
CommitLineData
11842e66
JR
1%define fversion %(echo %{version} |tr r -)
2%define modulename stringr
3Summary: Make it easier to work with strings
4Name: R-cran-%{modulename}
5Version: 0.6.2
6Release: 1
7License: MIT
8Group: Applications/Math
9Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
10# Source0-md5: 452628504e0910c1d0b1756370716f87
11URL: http://cran.fhcrc.org/web/packages/stringr/index.html
12BuildRequires: R >= 2.8.1
13Requires(post,postun): R >= 2.8.1
14Requires(post,postun): perl-base
15Requires(post,postun): textutils
16Requires: R
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20stringr is a set of simple wrappers that make R's string functions
21more consistent, simpler and easier to use. It does this by ensuring
22that: function and argument names (and positions) are consistent,
23all functions deal with NA's and zero length character appropriately,
24and the output data structures from each function matches the input
25data structures of other functions.
26
27%prep
28%setup -q -c
29
30%build
31R CMD build %{modulename}
32
33%install
34rm -rf $RPM_BUILD_ROOT
35install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
36R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%files
42%defattr(644,root,root,755)
43%doc %{modulename}/DESCRIPTION
44%{_libdir}/R/library/%{modulename}
This page took 0.061446 seconds and 4 git commands to generate.