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

NAME

6       R2spec - Automatically generates RPM spec file for R libraries.
7
8

SYNOPSIS

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

DESCRIPTION

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

USAGE

22       This program generates spec file for R libraries for Fedora.
23
24       R2spec -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       R2spec -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       R2spec -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

FILES

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

AUTHORS

98         Pierre-Yves Chibon <pingou@pingoured.fr>
99
100
101
102       No known bugs at this time
103
104
105
106                                                                     R2spec(1)
Impressum