<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>PEAR_Command_Packaging</name>
<channel>pear.php.net</channel>
<summary>make-rpm-spec command for managing RPM .spec files for PEAR packages</summary>
<description>This command is an improved implementation of the standard 'makerpm' command,
and contains several enhancements that make it far more flexible. Similar
functions for other external packaging mechanisms may be added at a later date.
Enhanced features over the original PEAR "makerpm" command include:
- Ability to define a release on the command line
- Allows more advanced customisation of the generated package name
- Allows virtual Provides/Requires that differ in format from the package name
format
- tries to intelligently distinguish between PEAR and PECL when generating
packages</description>
<lead>
<name>Tim Jackson</name>
<user>timj</user>
<email>tim@timj.co.uk</email>
<active>yes</active>
</lead>
<helper>
<name>Greg Beaver</name>
<user>cellog</user>
<email>cellog@php.net</email>
<active>no</active>
</helper>
<date>2012-04-07</date>
<time>20:47:13</time>
<version>
<release>0.3.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license filesource="LICENSE">PHP License 3.01</license>
<notes>
QA release
Bug #17104 Fatal error: Call to undefined function cleanall()
Bug #17773 Patch: avoid using ereg
Bug #19014 remove error_reporting (for PEAR QA team)
Request #19299 Handle max + exclude version
</notes>
<contents>
<dir baseinstalldir="/" name="/">
<file baseinstalldir="/" md5sum="c766a6a8d994f1b90f0e232144db2cfb" name="PEAR/Command/Packaging.php" role="php">
<tasks:replace from="@DATA-DIR@" to="data_dir" type="pear-config" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="72a74194c78677dba2584098c3b53a2e" name="PEAR/Command/Packaging.xml" role="php" />
<file baseinstalldir="/" md5sum="d41d8cd98f00b204e9800998ecf8427e" name="tests/download_test_classes.php.inc" role="test" />
<file baseinstalldir="/" md5sum="9787284ae6c2483f6e9a242d0e0396d1" name="tests/phpt_test.php.inc" role="test" />
<file baseinstalldir="/" md5sum="6e00ac3d8e83beab86a239386f219aef" name="tests/setup.php.inc" role="test" />
<file baseinstalldir="/" md5sum="c570ac174b99bd225c221f6bf5bd43a4" name="tests/teardown.php.inc" role="test" />
<file baseinstalldir="/" md5sum="dc08bf328110e764512b4f822e33d233" name="tests/make-rpm-spec/test1.phpt" role="test" />
<file baseinstalldir="/" md5sum="3fe5566e84ccf43e68e259701470ab4e" name="tests/make-rpm-spec/test_channel.phpt" role="test" />
<file baseinstalldir="/" md5sum="657a9f3ddc95a1260a2bcc030f0bf9c1" name="tests/make-rpm-spec/test_extdep.phpt" role="test" />
<file baseinstalldir="/" md5sum="d8117888bc6f071615a24d6679b5ecca" name="tests/make-rpm-spec/test_nodocs_dupdeps.phpt" role="test" />
<file baseinstalldir="/" md5sum="712081cd3b3936b5f5eb403676bf0532" name="tests/make-rpm-spec/test_option_rpm-depname.phpt" role="test" />
<file baseinstalldir="/" md5sum="e41c81998f9da24bf3c84677ef4a29c8" name="tests/make-rpm-spec/test_option_rpm-pkgname.phpt" role="test" />
<file baseinstalldir="/" md5sum="9d48aafff331037b745fe814ca6203a6" name="tests/make-rpm-spec/test_option_rpm-release.phpt" role="test" />
<file baseinstalldir="/" md5sum="ac4728a0175eedaabc67ba5a74125462" name="tests/make-rpm-spec/test_remotechannel.phpt" role="test" />
<file baseinstalldir="/" md5sum="c40f902899169af051c904c7e7c59ece" name="tests/make-rpm-spec/test_statement_macros.phpt" role="test" />
<file baseinstalldir="/" md5sum="f78d61d094e204868258f1e2a7d08396" name="tests/make-rpm-spec/test_statement_macros.template" role="test" />
<file baseinstalldir="/" md5sum="0480c9fbb49e2ef7a87e7c8ffaa80578" name="tests/make-rpm-spec/packagefiles/channel.xml" role="test" />
<file baseinstalldir="/" md5sum="8fe454cb9d04b2bbe40bf06626217839" name="tests/make-rpm-spec/packagefiles/Console_Color-1.0.2.tgz" role="test" />
<file baseinstalldir="/" md5sum="b09ba7b851f85528638d9a9dae67b1c9" name="tests/make-rpm-spec/packagefiles/Crypt_CHAP-1.0.0.tgz" role="test" />
<file baseinstalldir="/" md5sum="acd7c31aa6a083ff6bff86ffba02bcbb" name="tests/make-rpm-spec/packagefiles/Net_SMTP-1.2.8.tgz" role="test" />
<file baseinstalldir="/" md5sum="59d0355c3d0ce9ed558462f08daaa63a" name="tests/make-rpm-spec/packagefiles/PEAR_Command_Packaging-0.1.0.tgz" role="test" />
<file baseinstalldir="/" md5sum="51479cfff4fa56326c18f6b13e4ffb6b" name="tests/make-rpm-spec/packagefiles/test1.spec" role="test" />
<file baseinstalldir="/" md5sum="fdfc4724f909c17c32481cd6ceeef3ce" name="tests/make-rpm-spec/packagefiles/test_channel.spec" role="test" />
<file baseinstalldir="/" md5sum="3060f9a4e54fcc500d31a22a30af0acb" name="tests/make-rpm-spec/packagefiles/test_extdep.spec" role="test" />
<file baseinstalldir="/" md5sum="ec30a5bd6a5b4f395384c48c6ddc2a3a" name="tests/make-rpm-spec/packagefiles/test_nodocs_dupdeps.spec" role="test" />
<file baseinstalldir="/" md5sum="fbe35156ab5bc6937d6d8b3728b3b36a" name="tests/make-rpm-spec/packagefiles/test_option_rpm-depname.spec" role="test" />
<file baseinstalldir="/" md5sum="abc9004319c682c845c5ea07dfa5e40c" name="tests/make-rpm-spec/packagefiles/test_option_rpm-pkgname.spec" role="test" />
<file baseinstalldir="/" md5sum="9b6e5bc572251970e54c39419d097412" name="tests/make-rpm-spec/packagefiles/test_option_rpm-release.spec" role="test" />
<file baseinstalldir="/" md5sum="b1aee6a95035c56e3dbcbc7f5c5e6ad5" name="tests/make-rpm-spec/packagefiles/Test_Package-1.1.0.tgz" role="test" />
<file baseinstalldir="/" md5sum="a8f3a54f9ca4e4841de1378dd12a01b8" name="tests/make-rpm-spec/packagefiles/test_remotechannel.spec" role="test" />
<file baseinstalldir="/" md5sum="543b2e2c4a60aeb39b1c3f39eb206673" name="tests/make-rpm-spec/packagefiles/test_statement_macros.spec" role="test" />
<file baseinstalldir="/" md5sum="694f49a7e1f276ba75a3dd2c5acd580d" name="LICENSE" role="doc" />
<file baseinstalldir="/" md5sum="5ce77020c2a145edea9a0d55fe574731" name="README" role="data" />
<file baseinstalldir="/" md5sum="66995fa0b1f55139c5119ddc8d233701" name="template-channel.spec" role="data" />
<file baseinstalldir="/" md5sum="18e984d0eecb4482e9369d54f82437b4" name="template.spec" role="data" />
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5</min>
</php>
<pearinstaller>
<min>1.4.3</min>
</pearinstaller>
<package>
<name>PEAR</name>
<channel>pear.php.net</channel>
<min>1.4.3</min>
</package>
</required>
</dependencies>
<phprelease />
<changelog>
<release>
<version>
<release>0.1.0</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2006-02-28</date>
<license uri="http://www.php.net/license/3_0.txt">PHP License</license>
<notes>
Initial release
</notes>
</release>
<release>
<version>
<release>0.1.1</release>
<api>0.1.1</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2006-05-17</date>
<license uri="http://www.php.net/license/3_0.txt">PHP License 3.0</license>
<notes>
- Add support for generation of external deps (e.g. PHP extensions) (bug #6971)
- Add %l (lowercased package name) option to RPM pkgname/depname format strings
- Add support for customising the output specfile filename via the $_rpm_specname_format variable
- Make it super-easy for downstream distros to customise the various package/dep/specfile naming to suit their conventions: all the options are now grouped together in the source
- Add release_state macro for use in spec templates if required
- De-duplicate dependencies (bug #6963)
- Remove a last remaining case of hardcoded "PEAR::" package naming (when generating deps on PEAR itself)
- Improve/tidy up docfile handling (bug #7118)
- Revert PEAR package dependency to 1.4.3 and encode the 1.4.7 dep in the included template.spec instead.
- Remove some forced 'rm's in template spec file to avoid masking problems
- Abstract XML directory in default template spec
- Stop owning / in RPM packages (bug #7129)
- Wordwrap package description
</notes>
</release>
<release>
<version>
<release>0.1.2</release>
<api>0.1.2</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2006-06-28</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License 3.01</license>
<notes>
- Fix critical bug which sometimes inhibited the use of some PEAR internal commands upon installation of PEAR_Command_Packaging
</notes>
</release>
<release>
<version>
<release>0.2.0</release>
<api>0.2.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2009-06-27</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License 3.01</license>
<notes>
- fix Bug #9932: cannot build specs from external channels [cellog]
- fix Bug #10116: fatal error when packaging packages from other channel [cellog]
- NEW: Can now build specs for channels as well as packages
- Can now build specs for packages from channels other than pear.php.net (bug #9932, bug #10116, bug #10254)
- @possible_channel@ now doesn't include a trailing slash (template.spec changed to accommodate)
- @possible_channel@ is now filled even if channel is pecl.php.net/pear.php.net - this is part of moving towards a less pear.php.net-centric system where the core PEAR channels are not particularly "special"
- Add the following macros:
- @php_files_statement@
- @test_files_statement@
- @data_files_statement@
- @script_files_statement@
- @customrole_files_statement@
- @cfg_files_statement@
- @www_files_statement@
All of these are "intelligent" in that they are empty if no files of the given type exist, plus if files do exist and are in a subdirectory dedicated to the package being RPM-ified, then make-rpm-spec will just put the top level directory in the substitution, rather than a complete file list - this makes for much shorter specs in some cases. Use of the @XXX_files_statement@ substitutions is encouraged in favour of the @files@ substitution.
- Deprecate @rpm_xml_dir@ macro - this is pointless (replaced with actual path in the template specs)
- Deprecate @arch@ macro - this gave invalid results; it should either be "noarch" or not defined, not the architecture of the machine building the spec file. Replaced by @arch_statement@ if you really want to use it, although the building of specs for compiled packages (i.e. PECL) is not supported at the moment, even though in theory it should work in a similar way.
- Fix a bug if PEAR/PackageFile.php was already included
- Fix bug #10327, bug #8630 - file prefixes sometimes generated incorrectly, stops some packages building
- Add $_spec_line_format config option to allow distributors to tune the format that additional RPM headers are added to the spec in, to match their conventions
- Internal refactoring/cleanup
- Require PHP 4.3.0+ to avoid internal cruft
- Tidy summaries (trim and remove trailing dots)
</notes>
</release>
<release>
<version>
<release>0.3.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2012-04-08</date>
<license filesource="LICENSE">PHP License 3.01</license>
<notes>
QA release
Bug #17104 Fatal error: Call to undefined function cleanall()
Bug #17773 Patch: avoid using ereg
Bug #19014 remove error_reporting (for PEAR QA team)
Request #19299 Handle max + exclude version
</notes>
</release>
</changelog>
</package>