]> git.pld-linux.org Git - packages/R-cran-scales.git/commitdiff
- new
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 29 Nov 2013 11:30:49 +0000 (12:30 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 29 Nov 2013 11:30:49 +0000 (12:30 +0100)
R-cran-scales.spec [new file with mode: 0644]

diff --git a/R-cran-scales.spec b/R-cran-scales.spec
new file mode 100644 (file)
index 0000000..e6602df
--- /dev/null
@@ -0,0 +1,52 @@
+%define                fversion        %(echo %{version} |tr r -)
+%define                modulename      scales
+Summary:       Scale functions for graphics
+Name:          R-cran-%{modulename}
+Version:       0.2.3
+Release:       1
+License:       GPL v2
+Group:         Applications/Math
+Source0:       ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: 426e5a785d4bc5b9ba8aa10d2bc043a3
+URL:           http://cran.fhcrc.org/web/packages/scales/index.html
+BuildRequires: R >= 2.8.1
+BuildRequires: R-cran-RColorBrewer
+BuildRequires: R-cran-stringr
+BuildRequires: R-cran-dichromat
+BuildRequires: R-cran-munsell >= 0.2
+BuildRequires: R-cran-plyr >= 1.2
+BuildRequires: R-cran-labeling
+Requires(post,postun): R >= 2.8.1
+Requires(post,postun): perl-base
+Requires(post,postun): textutils
+Requires:      R
+Requires:      R-cran-RColorBrewer
+Requires:      R-cran-#, stringr
+Requires:      R-cran-dichromat
+Requires:      R-cran-munsell >= 0.2
+Requires:      R-cran-plyr >= 1.2
+Requires:      R-cran-labeling
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Scales map data to aesthetics, and provide methods for automatically
+determining breaks and labels for axes and legends.
+
+%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.080945 seconds and 4 git commands to generate.