Commit 11f5c0fe 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.oo
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 1.21.0
Release: 1%{?dist}
Summary: R Object-Oriented Programming with or without References
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.methodsS3
# Imports: R-methods R-utils
# Suggests: R-tools
# LinkingTo:
# Enhances:
Requires: R-R.methodsS3
BuildRequires: R-devel tex(latex) R-R.methodsS3
Methods and classes for object-oriented programming in R with or without
references. Large effort has been made on making definition of methods as
simple as possible with a minimum of maintenance for package developers.
The package has been developed since 2001 and is now considered very
stable. This is a cross-platform package implemented in pure R that
defines standard S3 classes without any tricks.
%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}/doc
%doc %{rlibdir}/%{packname}/html
%doc %{rlibdir}/%{packname}/CITATION
%doc %{rlibdir}/%{packname}/NEWS
* Tue May 16 2017 Klaus Zimmermann <> 1.21.0-1
- initial package for Fedora
Markdown is supported
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