* @package patForms * @subpackage Tools */ $baseVersion = '0.9.0'; /** * uses PackageFileManager */ require_once 'PEAR/PackageFileManager2.php'; require_once 'PEAR/PackageFileManager/Svn.php'; /** * current version */ $version = $baseVersion . 'gettext-dev' . $argv[1]; $dir = dirname( __FILE__ ); /** * current state */ $state = 'devel'; /** * Current API version */ $apiVersion = '0.9.0'; /** * current API stability */ $apiStability = 'stable'; /** * release notes */ $notes = <<setOptions(array( 'license' => 'LGPL', 'filelistgenerator' => 'file', 'ignore' => array( 'package.php', 'autopackage2.php', 'package2.xml', '.cvsignore', '.svn', 'examples/cache', 'rfcs' ), 'simpleoutput' => true, 'baseinstalldir' => 'pat', 'packagedirectory' => './', 'dir_roles' => array( 'rfcs' => 'doc', 'docs' => 'doc', 'examples' => 'doc', 'tests' => 'test', ) )); if (PEAR::isError($result)) { echo $result->getMessage(); die(); } $package->setPackage('patForms'); $package->setSummary('Powerful form management package.'); $package->setDescription($description); $package->setChannel('pear.php-tools.net'); $package->setAPIVersion($apiVersion); $package->setReleaseVersion($version); $package->setReleaseStability($state); $package->setAPIStability($apiStability); $package->setNotes($notes); $package->setPackageType('php'); $package->setLicense('LGPL', 'http://www.gnu.org/copyleft/lesser.txt'); $package->addMaintainer('lead', 'argh', 'Sebastian Mordziol', 'argh@php-tools.net', 'yes'); $package->addMaintainer('lead', 'schst', 'Stephan Schmidt', 'schst@php-tools.net', 'yes'); $package->addMaintainer('lead', 'sfuchs', 'Sven Fuchs', 'svenfuchs@artweb-design.de', 'yes'); $package->addMaintainer('developer', 'gerd', 'Gerd Schaufelberger', 'gerd@php-tools.net', 'yes'); $package->addMaintainer('helper', 'luckec', 'Carsten Lucke', 'carsten@tool-garage.de'); $package->setPhpDep('4.3.0'); $package->setPearinstallerDep('1.4.0'); $package->addPackageDepWithChannel('required', 'patError', 'pear.php-tools.net', '1.1.0'); $package->addPackageDepWithChannel('required', 'Date', 'pear.php.net', '1.4.0'); $package->addDependencyGroup('pattemplate', 'Render your forms with patTemplate.'); $package->addGroupPackageDepWithChannel('package', 'pattemplate', 'patTemplate', 'pear.php-tools.net', '3.0.0'); $package->addDependencyGroup('flexy', 'Render your forms with Flexy.'); $package->addGroupPackageDepWithChannel('package', 'flexy', 'HTML_Template_Flexy', 'pear.net'); $package->addDependencyGroup('smarty', 'Render your forms with Smarty.'); $package->addGroupPackageDepWithChannel('package', 'smarty', 'Smarty', 'pearified.net'); $package->addDependencyGroup('storagedb', 'Automatically store submitted results in a database.'); $package->addGroupPackageDepWithChannel('package', 'storagedb', 'DB', 'pear.php.net', '1.7.0'); $package->addDependencyGroup('storagemail', 'Automatically email submitted results.'); $package->addGroupPackageDepWithChannel('package', 'storagemail', 'Mail', 'pear.php.net', '1.1.0'); $package->addDependencyGroup('validatemail', 'Advanced email validation by querying the mail-server.'); $package->addGroupPackageDepWithChannel('package', 'validatemail', 'Net_DNS', 'pear.php.net'); $package->addGroupPackageDepWithChannel('package', 'validatemail', 'Net_SMTP', 'pear.php.net'); $package->generateContents(); $result = $package->writePackageFile(); if (PEAR::isError($result)) { echo $result->getMessage(); die(); } ?>