[R-sandwich/f19] helps when you git add the spec file

Tom Callaway spot at fedoraproject.org
Tue Apr 16 15:11:50 UTC 2013


commit a2ffd84c1769dc4866f41708c392a1c82369188f
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Tue Apr 16 11:11:08 2013 -0400

    helps when you git add the spec file

 R-sandwich.spec |   65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/R-sandwich.spec b/R-sandwich.spec
new file mode 100644
index 0000000..39d6c0e
--- /dev/null
+++ b/R-sandwich.spec
@@ -0,0 +1,65 @@
+%global packname  sandwich
+%global rlibdir   %{_datadir}/R/library
+%global pkgvers   2.2-10
+%global Rvers     2.15.0
+
+
+Name:             R-%{packname}
+Version:          2.2.10
+Release:          1%{?dist}
+Summary:          Robust Covariance Matrix Estimators
+
+Group:            Applications/Engineering 
+License:          GPLv2+
+URL:              http://cran.r-project.org/web/packages/%{packname}/index.html
+Source0:          http://cran.r-project.org/src/contrib/%{packname}_%{pkgvers}.tar.gz
+BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:        noarch
+
+Requires:         R-core >= %{Rvers} R-stats R-zoo 
+Requires:         R-car R-lmtest
+BuildRequires:    R-devel >= %{Rvers} tex(latex) R-stats R-zoo
+BuildRequires:    R-car R-lmtest
+
+
+%description
+Model-robust standard error estimators for cross-sectional, time series
+and longitudinal data.
+
+%prep
+%setup -q -c -n %{packname}
+
+
+%build
+
+
+%install
+mkdir -p %{buildroot}%{rlibdir}
+%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
+test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
+rm -f %{buildroot}%{rlibdir}/R.css
+
+
+## Check do not pass due to missing dependencies
+#%check
+#%{_bindir}/R CMD check %{packname}
+
+
+%files
+%dir %{rlibdir}/%{packname}
+%doc %{rlibdir}/%{packname}/doc
+%doc %{rlibdir}/%{packname}/html
+%doc %{rlibdir}/%{packname}/DESCRIPTION
+%doc %{rlibdir}/%{packname}/NEWS
+%{rlibdir}/%{packname}/INDEX
+%{rlibdir}/%{packname}/CITATION
+%{rlibdir}/%{packname}/NAMESPACE
+%{rlibdir}/%{packname}/Meta
+%{rlibdir}/%{packname}/R
+%{rlibdir}/%{packname}/help
+%{rlibdir}/%{packname}/data
+
+%changelog
+* Thu Apr 11 2013 Pierre-Yves Chibon <pingou at pingoured.fr> 2.2.10-1
+- initial package for Fedora


More information about the scm-commits mailing list