Re: php, pear and rpm
| From: | Tomas V.V.Cox | Date: | Fri, 02 Aug 2002 12:04:31 +0000 |
| Subject: | Re: php, pear and rpm | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8142@lists.php.net to get a copy of this message | ||
Blues wrote:
>
> Since rpm-4.1 (next version) there will be in official rpm script to
> generate dependencies in pear packages, which I made for PLD.
You coded our xml dependencies format in C for RPM? :-O
> This is just information - other linux distributions will be more
> interested in the future in regular and good made tgz packages.
I agree that it's a problem to have different installed package
databases, but we really encourage distrib packagers to use the pear
script or at least the php4/pear/PEAR/* libs for it. If you are not fast
enough to create RPMs, a user could have the problem that need to
install a package that depends on others and the pear command will not
find the right directories/dependencies.
Your work could be so easy as just:
1) All Pear packages depends on the php-cli/php package
2) All Pear packages depends on the PEAR package (at installation time
you could set the target dirs: php_dir, doc_dir, bin_dir, etc according
to the distrib layout)
3) The RPM package should only contain the sources from the tgz (or a
tar if you consider CPIO enough :-) downloaded from the web and in the
.spec just a "pear install -s package.(xml|tar)"
If you need to get some data from packages (list, dependencies, info,
etc) we are open to create some exchange xml format. Please let us know
what other problem you've found building RPMs for Pear packages.
> There is one thing with that connected. Why all packages with classes are
> avaible only via http with some redirects? They should be avaible on some
> http or ftp which is browsable. This might be very helpfull in automatic
> notification about new releases.
Take a look at our RSS: http://pear.php.net/rss.php
Tomas V.V.Cox