1R2rpm(1)                    General Commands Manual                   R2rpm(1)
2
3
4

NAME

6       R2rpm - Automatically generates RPM for R libraries.
7
8

SYNOPSIS

10       R2rpm -p <package name>
11       R2rpm -u <url to sources>
12       R2rpm - s <path to sources file>
13
14

DESCRIPTION

16       This  tool  generate RPM for R libraries according to the Fedora guide‐
17       lines  for  R  packaging.    These   guidelines   are   available   at:
18       https://fedoraproject.org/wiki/Packaging/R
19
20

USAGE

22       This program generates RPM file for R libraries for Fedora.
23
24       R2rpm -p <package name>
25
26              It  will  browse the configure R repositories for this specified
27              package  name.   If  found,  the  package  will  be  downloaded,
28              extracted,  the  information  contained  in the sources are read
29              (especially  those  contained  in  the  DESCRIPTION  file).  The
30              sources  are  then  removed  from  the current working directory
31              (unless specified otherwise).  Finally the spec file  is  writen
32              to the filesystem using the information collected.
33
34
35       R2rpm -u <url to sources>
36
37              This  alternative expects directly an URL for the sources of the
38              R packages.  R2spec will try to fill the spec as best as  possi‐
39              ble from the information collected.
40
41
42       R2rpm -s <local sources>
43
44              This  alternative  uses local sources. The sources are copied to
45              the sourcedir as defined by rpm. They are then extracted and the
46              spec file generated.
47
48
49

OPTIONS

51       -p / --package
52           The  name  of  the  package to search in the main repositories col‐
53       lected.
54
55       -u / --url
56           Direct URL to the source of the R package.
57
58       -s / --sources
59           The sources of the R package present locally on the filesystem.
60
61       --force-dl
62           Enforce the download of the sources even if they are present on the
63       system.
64
65       --keep-sources
66           Do not remove the sources once extracted.
67
68       --repo
69           Enable to specify a repository for a local package.
70
71       --name
72           Name of the packager to use in the spec file.
73
74       --email
75           Email of the packager to use in the spec file.
76
77       --verbose
78           Provides a some detailed output of what's going on.
79
80       --debug
81           Provides much more information on what's going on, including errors
82       when they occur.
83
84       --force-spec
85           Enforce the generation of the spec even if it already exists on the
86       system.
87
88

FILES

90       $HOME/.conf/r2spec/settings
91              User  configuration file for R2spec, allows to specify user name
92              and email to be used in the spec file.
93
94       /etc/R2spec/repos.cfg
95              The configuration file for the R repositories.
96
97       /usr/lib/python2.7/site-packages/r2spec/specfile.tpl
98              Template used to generate the spec file.
99
100

AUTHORS

102         Pierre-Yves Chibon <pingou@pingoured.fr>
103
104
105
106       No known bugs at this time
107
108
109
110                                                                      R2rpm(1)
Impressum