-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Adrian Schroeter wrote:
Hi, Hallo Adrian
I thought about to create a svn repo for spec file templates. One for KDE, Gnome, perl, apache module or whatever.
Yes please, good idea.
Is there some interest that we should create one or are you fine with the solution to have these in the wiki ?
I second Richard and Robert: SVN repo is *much* better. I have a few templates and scripts to contribute, if people are interested. As I'm known to be one of the most prolific community packagers, I think they could prove to be useful for others ;) I'm going to document and rework them, then send them here on the list (or rather links to them) + some information. Sneak preview: http://linux01.gwdg.de/~pbleser/files/rpm/templates/ (best viewed/edited with emacs + rpm-mode) I also hacked a shell script that uses libxslt's xsltproc to retrieve project information from freshmeat.net project entries (e.g. http://freshmeat.net/projects-xml/gimp/gimp.xml) and format it into spec file syntax: http://linux01.gwdg.de/~pbleser/files/rpm/ffxml With the help of a few people at freenode's #emacs, I also wrote some elisp macro that calls that ffxml script and fills in the data at the right position in an existing spec file. If you use my templates, that elisp macro will grep for "%define _name ...", and use "..." as its default proposition for the freshmeat.net project name, which actually matches the name one would give to the RPM 90% of the time. Here's the stuff to include in your ~/.emacs: http://linux01.gwdg.de/~pbleser/files/rpm/ffxml-dot-emacs.el At least it almost always saves me from copy/pasting "Summary:", "%description" and "License:" from the website and/or README files. But, as said, I'm going to refactor the scripts, document them, etc... *if* there's any interest ;) cheers - -- -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ /\\ <pascal.bleser@skynet.be> <guru@unixtech.be> _\_v ===> FOSDEM 2006 -- February 2006 in Brussels <=== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFDOm+zr3NMWliFcXcRAv30AKCe7fuRYDqiCI30MlaZv0R3e9ZJfwCdGJnN pvucQwHmvSsnWf50RZQB2DQ= =K2w6 -----END PGP SIGNATURE-----