Init package
This commit is contained in:
parent
ec20eed760
commit
f2c8bdfc19
51
R-ggplot2movies.spec
Normal file
51
R-ggplot2movies.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
%global packname ggplot2movies
|
||||||
|
%global rlibdir %{_datadir}/R/library
|
||||||
|
|
||||||
|
Name: R-%{packname}
|
||||||
|
Version: 0.0.1
|
||||||
|
Release: 1
|
||||||
|
Summary: Movies Data
|
||||||
|
|
||||||
|
License: GPLv3
|
||||||
|
URL: https://CRAN.R-project.org/package=%{packname}
|
||||||
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: R-devel
|
||||||
|
BuildRequires: tex(latex)
|
||||||
|
|
||||||
|
%description
|
||||||
|
A dataset about movies. This was previously contained in ggplot2, but has been
|
||||||
|
moved its own package to reduce the download size of ggplot2.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -c -n %{packname}
|
||||||
|
|
||||||
|
|
||||||
|
%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
|
||||||
|
%{_bindir}/R CMD check %{packname}
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%dir %{rlibdir}/%{packname}
|
||||||
|
%doc %{rlibdir}/%{packname}/html
|
||||||
|
%{rlibdir}/%{packname}/DESCRIPTION
|
||||||
|
%{rlibdir}/%{packname}/INDEX
|
||||||
|
%{rlibdir}/%{packname}/NAMESPACE
|
||||||
|
%{rlibdir}/%{packname}/Meta
|
||||||
|
%{rlibdir}/%{packname}/R
|
||||||
|
%{rlibdir}/%{packname}/help
|
||||||
|
%{rlibdir}/%{packname}/data
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jun 16 2022 misaka00251 <misaka00251@misakanet.cn> - 0.0.1-1
|
||||||
|
- Init package (Thanks to fedora team)
|
||||||
BIN
ggplot2movies_0.0.1.tar.gz
Normal file
BIN
ggplot2movies_0.0.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user