[Clipart] Re: Makefile and RPMs

Paul Howarth paul at city-fan.org
Mon Aug 22 10:02:59 PDT 2005


Jon Phillips wrote:
> Soooo, I started to add support for building RPM packages of our
> clipart, but found that I am not into doing RPM hacking right now, nor
> do I fully understand the spec file.
> 
> Could someone take a look at this:
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=3584
> 
> Just check out cvs module: clipart_package
> 
> and check out the directive, rpm
> 
> I set up the openclipart.spec.in to be processed on make distprep and
> output openclipart.spec, which is used supposed to be used by rpmbuild
> to make an RPM. Any packages, RPMs, etc should be output into the
> packages folder.
> 
> Contact me if you are into doing this
> 
> Jon
> 
> PS: Paul, I added you to this email because you rock at fixing up
> makefiles and it would be great if you could take a look at the makefile
> I built and see how rpm construction could work.
> 
> PPS: Bero, I added you because I used your spec file as a template.
> 
> How to get cvs access to our project:
> http://openclipart.org/cgi-bin/wiki.pl?CVS
> 
> If you guys need accounts and if you would be into checking out how to
> do RPM dev. on this project, I can get you username/password access on
> freedesktop.org's servers. It would be great to have some more devs.
> anyhow :)

Here's a first stab at it (see attached openclipart.spec.in and Makefile).

Once the tools get into a shape where they can be distributed and 
installed properly using "make install", "make dist" etc., I would 
advocate splitting the RPM along these lines:

* a single SRPM containing the "full" bzip tarball. It would be even 
better if the multiple image formats could be generated using "make" 
from one or two input formats (e.g. make PNGs from SVGs plus text 
files). I don't know if this is possible or not. If it is, a source 
distribution containing just the minimum needed content would be better, 
and have the rest built using "make". Full "binary" distributions could 
also be built for people not wanting to do that themselves, but the RPM 
would not use those.

* an openclipart-svg RPM containing just the SVG images

* an openclipart-extraformats RPM containing the other data and with a 
dependency on openclipart-svg

* an openclipart-tools package

The first two of these could be relocatable.

Paul.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile
URL: <http://lists.freedesktop.org/archives/clipart/attachments/20050822/417319ed/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openclipart.spec.in
URL: <http://lists.freedesktop.org/archives/clipart/attachments/20050822/417319ed/attachment-0001.ksh>


More information about the clipart mailing list