[packagers] Re: [svn] r5358 - in trunk/rpms: perl-GStreamer
perl-Gtk2-GladeXML
Dag Wieers
dag at wieers.com
Thu May 3 18:49:16 CEST 2007
On Thu, 3 May 2007, packagers at lists.rpmforge.net wrote:
> Author: dries
> Date: 2007-05-03 16:38:53 +0200 (Thu, 03 May 2007)
> New Revision: 5358
>
> Modified:
> trunk/rpms/perl-GStreamer/perl-GStreamer.spec
> trunk/rpms/perl-Gtk2-GladeXML/perl-Gtk2-GladeXML.spec
> Log:
> converted to utf8
>
> Modified: trunk/rpms/perl-GStreamer/perl-GStreamer.spec
> ===================================================================
> --- trunk/rpms/perl-GStreamer/perl-GStreamer.spec 2007-05-03 14:29:01 UTC (rev 5357)
> +++ trunk/rpms/perl-GStreamer/perl-GStreamer.spec 2007-05-03 14:38:53 UTC (rev 5358)
> @@ -1,6 +1,6 @@
> # $Id$
> # Authority: dag
> -# Upstream: Torsten Schönfeld <kaffeetisch$gmx,de>
> +# Upstream: Torsten Schönfeld <kaffeetisch$gmx,de>
>
> %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
> %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
>
> Modified: trunk/rpms/perl-Gtk2-GladeXML/perl-Gtk2-GladeXML.spec
> ===================================================================
> --- trunk/rpms/perl-Gtk2-GladeXML/perl-Gtk2-GladeXML.spec 2007-05-03 14:29:01 UTC (rev 5357)
> +++ trunk/rpms/perl-Gtk2-GladeXML/perl-Gtk2-GladeXML.spec 2007-05-03 14:38:53 UTC (rev 5358)
> @@ -1,6 +1,6 @@
> # $Id$
> # Authority: dag
> -# Upstream: Torsten Schönfeld <kaffeetisch$gmx,de>
> +# Upstream: Torsten Schönfeld <kaffeetisch$gmx,de>
>
> %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
> %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
I fixed a bug in the dar-perl.py script so that it now outputs the
author in utf8 as well.
Once the script is ready and does everything I want, I'd like to change it
to make on the fly changes to our RPMforge SPEC files. (I do now test it
with diffing between its output and the SPEC file)
The aim is that the script can work autonomously. How that works with the
description, license and file-list I don't know yet. For changing existing
SPEC files, this is not a major concern though.
Currently the script takes care of:
+ Authority
+ Upstream
+ Name / Version
+ real_version (fixes automatically the 1.002004 perl stuff)
+ Source (if found in by-module it will use that, otherwise it uses the official location)
+ BuildArch (few exceptions to this when building is completely initiated by perl)
+ %doc (automatically looks for known doc files, like CPAN)
+ Guesses %files (misses mostly with complex distributions)
Missing:
+ License
need to look where I can get that from without scraping the website
one possibility is to look at the archive and check LICENCE/Artistic
this info should definitely go into META.yml
+ Summary and %description
again, do not want to scrape the website
one possibility is to parse the README
this info should definitely go into META.yml
+ %files
to do this properly we need to either build and scan buildroot
or parse Makefile, both are undesirable for me
Dries, is your script available so that I can see what we can merge ?
Kind regards,
-- dag wieers, dag at wieers.com, http://dag.wieers.com/ --
[all I want is a warm bed and a kind word and unlimited power]
More information about the packagers
mailing list