reverted back to 2.0.0.-snapshot version
[logging-log4php.git] / package-config.php
1 <?php
2 /**
3 * Licensed to the Apache Software Foundation (ASF) under one or more
4 * contributor license agreements. See the NOTICE file distributed with
5 * this work for additional information regarding copyright ownership.
6 * The ASF licenses this file to You under the Apache License, Version 2.0
7 * (the "License"); you may not use this file except in compliance with
8 * the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19 // parse pom.xml to get version in sync
20 preg_match("/<version>(.+?)(-(incubating))?(-SNAPSHOT)?<\/version>/", file_get_contents("../../pom.xml"), $pom_version);
21
22 $name = 'Apache_log4php';
23 $summary = 'log4php is a PHP port of log4j framework';
24 $version = $pom_version[1].(empty($pom_version[3]) ? '' : $pom_version[3]);
25 $versionBuild = 'b1';
26 $apiVersion = '2.0.0';
27 $state = empty($pom_version[4]) ? 'stable' : 'snapshot';
28 $apiStability = 'stable';
29
30 $description = <<<EOT
31 log4php is a PHP port of log4j framework. It supports XML configuration,
32 logging to files, stdout/err, syslog, socket, configurable output layouts
33 and logging levels.
34 EOT;
35
36 $notes = 'Please see CHANGELOG and changes.xml!';
37
38 $options = array(
39 'license' => 'Apache License 2.0',
40 //'filelistgenerator' => 'svn',
41 'ignore' => array('package.php', 'package-config.php'),
42 'simpleoutput' => true,
43 'baseinstalldir' => '/',
44 'packagedirectory' => '.',
45 'dir_roles' => array(
46 'examples' => 'doc',
47 ),
48 'exceptions' => array(
49 'changes.xml' => 'doc',
50 'CHANGELOG' => 'doc',
51 'LICENSE' => 'doc',
52 'README' => 'doc',
53 'NOTICE' => 'doc',
54 ),
55 );
56
57 $license = array(
58 'name' => 'Apache License 2.0',
59 'url' => 'http://www.apache.org/licenses/LICENSE-2.0'
60 );
61
62 $maintainer = array();
63 $maintainer[] = array(
64 'role' => 'lead',
65 'handle' => 'kurdalen',
66 'name' => 'Knut Urdalen',
67 'email' => 'kurdalen@apache.org',
68 'active' => 'yes'
69 );
70 $maintainer[] = array(
71 'role' => 'lead',
72 'handle' => 'grobmeier',
73 'name' => 'Christian Grobmeier',
74 'email' => 'grobmeier@apache.org',
75 'active' => 'yes'
76 );
77 $maintainer[] = array(
78 'role' => 'developer',
79 'handle' => 'chammers',
80 'name' => 'Christian Hammers',
81 'email' => 'chammers@apache.org',
82 'active' => 'yes'
83 );
84
85 $dependency = array();
86
87 $channel = 'pear.php.net';
88 $require = array(
89 'php' => '5.2.0',
90 'pear_installer' => '1.8.0',
91 );