English version

There is the latest version of R2spec, I have been working quite a bit on it with the suggestion of faceface from #R on irc.freenode.net to improve this software. Therefore the changelog for this new release is quite long and the list of features added seems also important.

The principle is still the same: make R packages as simple as possible.

Seems there are mainly two sources of libraries for R (Bioconductor and the CRAN) I added two options (--bioc and --cran) that add the Source0 and the URL in the spec file if it has not been defined by the --url option.

From that I aslo considered the case of the noarch packages, it now looks for *.c, *.C, *.cp, *.cpp, *.f and *.F files, if it does not find any it consider the package as noarch and thus adapt the specfile for that.

It also offers the possibility to move the source to %_topdir (defined in ~/.rpmmacros) so that you can directly run the rpmbuild -ba once you have made the small correction advised on the spec file.

That's the main features added, you can see below the changelog for this new release and you can always test and give feed back, report bugs and suggest enhancement on the trac of the R2spec project

The RPMs and sources are available on the git of the R2spec project.

Thanks for your attention ;-)


French version

Voici la dernière version de R2spec, j'ai pas mal bossé dessus notamment grâce aux suggestions de faceface de #R sur irc.freenode.net. Le programme c'est pas mal améliorer et le journal des changements sur cette version est donc plutôt long.

Le but de ce programme est toujours le même, rendre la création de paquet de bibliothèque R le plus simple possible.

Puisqu'il y a majoritairement deux sources pour les bibliothèques R (Bioconductor et le CRAN) j'ai ajouté deux options (--cran et --bioc) qui permettent de définir les Source0 et URL du fichier spec s'ils n'ont pas été déjà définis par l'option --url.

J'ai aussi pris en compte le cas des paquets noarch en cherchant dans les sources des fichiers *.c, *.C, *.cp, *.cpp, *.f et *.F. S'il n'en trouve aucun le paquet est considéré comme noarch et le fichier spec est donc modifié en conséquence.

Cette version offre aussi la possibilité de déplacer le tarball dans le %_topdir (définis dans le ~/.rpmmacros) pour que l'on puisse faire facilement rpmbuild -ba une fois que l'on a fais les petits changements recommandé dans le fichier spec.

Voila pour les principales fonctionnalités ajoutées dans cette version. Ci-dessous ce trouve le changelog et bien entendu bugs, demande d'amélioration et retour sur son fonctionnement sont les bienvenus ici ou sur le trac du projet R2spec.

Les RPMs et le sources sont disponible sur le git du project R2spec.

Merci et bon dimanche ! ;-)



Version 2.5.0 -- 31th Aug 2008
-Features added 
  * Add a file INSTALL 
  * Add the --bioc option for bioconductor packages 
      - Fill the source0 if -s is not used
      - Fill the url
  * Add the --cran option for cran packages
      - Fill the source0 if -s is not used
      - Fill the url
  * Add %define BioC for the Bioconductor release of Bioconductor packages
  * Add check if the package is noarch or not
  * Add oportunity to copy the source in the %_topdir defined in .rpmmacros
  * Add a parameter in the config file for the version on Bioconductor used
  * Add a Spec class to write the spec file
  * Add a Noarch class that inherit the Spec class and handle the noarch package case
  * Ask what to do if the specfile is alreay in the current working directory

-Bugs correction
  * Catch the Description in the file DESCRIPTION when it is on several lines
  * Catch the Depends and Suggests when they are on several lines
  * Now it does load the info from the config file
  * Fix some layout in this file