Commit 44f017c4 authored by Klaus Zimmermann's avatar Klaus Zimmermann
Browse files

Initial commit

dir = $(shell pwd)
pkg = $(notdir $(dir))
spec_file = $(pkg).spec
sources: $(spec_file)
spectool -g $^
%global packname R.utils
%global rlibdir %{_datadir}/R/library
Name: R-%{packname}
Version: 2.5.0
Release: 1%{?dist}
Summary: Various Programming Utilities
Group: Applications/Engineering
License: LGPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Here's the R view of the dependencies world:
# Depends: R-R.oo
# Imports: R-methods R-utils R-tools R-R.methodsS3
# Suggests: R-digest
# LinkingTo:
# Enhances:
BuildArch: noarch
Requires: R-core
Requires: R-R.oo
Requires: R-R.methodsS3
Requires: R-digest
BuildRequires: R-devel tex(latex) R-R.oo
BuildRequires: R-R.methodsS3
BuildRequires: R-digest
Utility functions useful when programming and developing R packages.
%setup -q -c -n %{packname}
rm -rf %{buildroot}
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
%{_bindir}/R CMD check %{packname}
rm -rf %{buildroot}
%defattr(-, root, root, -)
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/html
%doc %{rlibdir}/%{packname}/NEWS
%doc %{rlibdir}/%{packname}/data-ex/HISTORY.LNK
%doc %{rlibdir}/%{packname}/data-ex/NEWS.LNK
%doc %{rlibdir}/%{packname}/data-ex/exampleVComments.R
%doc %{rlibdir}/%{packname}/data-ex/lnkFileWith10BitsInFlag.lnk
* Wed May 17 2017 Klaus Zimmermann <> 2.5.0-1
- initial package for Fedora
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment