39 lines
817 B
RPMSpec
39 lines
817 B
RPMSpec
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 <herengui@uniontech.com> - 1.2.0-1
|
|
- Package init
|