summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-26 10:47:37 +0100
committerRemi Collet <remi@remirepo.net>2018-01-26 10:47:37 +0100
commitd5d13837e4e4776b7d18fcbf52545161aee1ffc4 (patch)
treed2b03b6a1ad9d4474c2fe1a6d56cac95d99f7846
parent9c152511a76c8da0155c7b3ed96f66b0c7956d4d (diff)
add package.xml to easy archive generation
-rw-r--r--.gitignore3
-rw-r--r--package.xml82
2 files changed, 85 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 7c022dd..23246db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,3 +52,6 @@ modules
run-tests.php
run-tests.log
tmp-php.ini
+
+# Archives
+rpminfo-*.tgz
diff --git a/package.xml b/package.xml
new file mode 100644
index 0000000..b4121b2
--- /dev/null
+++ b/package.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package 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" packagerversion="1.8.0" version="2.0" 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>rpminfo</name>
+ <channel>pecl.php.net</channel>
+ <summary>RPM information</summary>
+ <description>Rerieve RPM information using librpm.</description>
+ <lead>
+ <name>Remi Collet</name>
+ <user>remi</user>
+ <email>remi@php.net</email>
+ <active>yes</active>
+ </lead>
+ <date>2018-01-26</date>
+ <version>
+ <release>0.1.0</release>
+ <api>0.1.0</api>
+ </version>
+ <stability>
+ <release>alpha</release>
+ <api>alpha</api>
+ </stability>
+ <license>PHP 3.01</license>
+ <notes>
+- first release with 2 functions:
+ int rpmvercmp(string evr1, string evr2);
+ array rpminfo(string path [, bool full]);
+ </notes>
+ <contents>
+ <dir name="/">
+ <!-- sources -->
+ <file name="config.m4" role="src"/>
+ <file name="php_rpminfo.h" role="src" />
+ <file name="rpminfo.c" role="src"/>
+ <!-- documentation -->
+ <file name="CREDITS" role="doc"/>
+ <file name="EXPERIMENTAL" role="doc"/>
+ <file name="LICENSE" role="doc"/>
+ <dir name ="examples">
+ <file name="repomanage.php" role="doc"/>
+ <file name="rpmvercmp.php" role="doc"/>
+ </dir>
+ <dir name ="tests">
+ <file name="001.phpt" role="test"/>
+ <file name="002.phpt" role="test"/>
+ <file name="003.phpt" role="test"/>
+ <file name="bidon.rpm" role="test"/>
+ <file name="bidon-src.rpm" role="test"/>
+ </dir>
+ </dir>
+ </contents>
+ <dependencies>
+ <required>
+ <php>
+ <min>7.0.0</min>
+ </php>
+ <pearinstaller>
+ <min>1.10.0</min>
+ </pearinstaller>
+ </required>
+ </dependencies>
+ <providesextension>rpminfo</providesextension>
+ <extsrcrelease/>
+ <changelog>
+ <release>
+ <date>2018-01-26</date>
+ <version>
+ <release>0.1.0</release>
+ <api>0.1.0</api>
+ </version>
+ <stability>
+ <release>beta</release>
+ <api>beta</api>
+ </stability>
+ <license>PHP 3.01</license>
+ <notes>
+- first release with 2 functions:
+ int rpmvercmp(string evr1, string evr2);
+ array rpminfo(string path [, bool full]);
+ </notes>
+ </release>
+ </changelog>
+</package>