diff --git a/R-rpm-macros-1.2.0.tar.gz b/R-rpm-macros-1.2.0.tar.gz new file mode 100644 index 0000000..6fa667d Binary files /dev/null and b/R-rpm-macros-1.2.0.tar.gz differ diff --git a/R-rpm-macros.spec b/R-rpm-macros.spec new file mode 100644 index 0000000..d574871 --- /dev/null +++ b/R-rpm-macros.spec @@ -0,0 +1,38 @@ +Name: R-rpm-macros +Version: 1.2.0 +Release: 1 +Summary: Macros to help produce R packages + +License: MIT +URL: https://github.com/rpm-software-management/R-rpm-macros +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildArch: noarch + +Requires: R-core rpm + +%description +This package contains the R RPM macros, that most implementations should rely on. + +You should not need to install this package manually as the R-devel package requires +it. So install the R-devel package instead. + + +%prep +%autosetup -p1 + + +%install +%make_install PREFIX=%{_prefix} + + +%files +%doc README.md +%license LICENSE +%{_rpmconfigdir}/fileattrs/R.attr +%{_rpmconfigdir}/R-deps.R + + +%changelog +* Sun Jun 06 2021 He Rengui - 1.2.0-1 +- Package init