rpms/php-channel-phing/F-7 channel.xml, NONE, 1.1 php-channel-phing.spec, NONE, 1.1
Alexander Kahl (akahl)
fedora-extras-commits at redhat.com
Thu Sep 27 01:08:27 UTC 2007
Author: akahl
Update of /cvs/pkgs/rpms/php-channel-phing/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16023/F-7
Added Files:
channel.xml php-channel-phing.spec
Log Message:
initial import
--- NEW FILE channel.xml ---
<?xml version="1.0" encoding="ISO-8859-1" ?>
<channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pear.php.net/dtd/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd">
<name>pear.phpdb.org</name>
<summary>Channel for Propel and Creole releases</summary>
<suggestedalias>phpdb</suggestedalias>
<servers>
<primary>
<rest>
<baseurl type="REST1.0">http://pear.phpdb.org/Chiara_PEAR_Server_REST/</baseurl>
<baseurl type="REST1.1">http://pear.phpdb.org/Chiara_PEAR_Server_REST/</baseurl>
</rest>
</primary>
</servers>
</channel>
--- NEW FILE php-channel-phing.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
Name: php-channel-phing
Version: 1.0.0
Release: 4%{?dist}
Summary: Adds phing channel to PEAR
Group: Development/Languages
License: LGPLv2
URL: http://phing.info/
Source0: http://pear.phing.info/channel.xml
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-pear >= 1:1.4.9-1.2
Requires: php-cli
Requires: php-pear(PEAR)
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides: php-channel(pear.phing.info)
%description
This package adds the phing channel which allows
PEAR packages from this channel to be installed.
%prep
%setup -q -c -T
%build
# Empty build section, nothing to build
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__mkdir_p} $RPM_BUILD_ROOT%{pear_xmldir}
%{__install} -pm 644 %{SOURCE0} $RPM_BUILD_ROOT%{pear_xmldir}/pear.phing.info.xml
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%post
if [ $1 -eq 1 ] ; then
%{__pear} channel-add %{pear_xmldir}/pear.phing.info.xml > /dev/null || :
else
%{__pear} channel-update %{pear_xmldir}/pear.phing.info.xml > /dev/null ||:
fi
%postun
if [ $1 -eq 0 ] ; then
%{__pear} channel-delete pear.phing.info > /dev/null || :
fi
%files
%defattr(-,root,root,-)
%{pear_xmldir}/*
%changelog
* Tue Sep 25 2007 Alexander Kahl <akahl at iconmobile.com> - 1.0.0-4
- removed version number in virtual provides
- replaced static commands with macros wherever applicable
- added post/postun requires for pear
- removed redundant version number requirement for php-cli
* Mon Sep 3 2007 Alexander Kahl <akahl at iconmobile.com> - 1.0.0-3
- Added valid license.
* Tue Aug 21 2007 Alexander Kahl <akahl at iconmobile.com> - 1.0.0-2
- Fedora channel naming adaption.
* Thu Jun 28 2007 Alexander Kahl <akahl at iconmobile.com> - 1.0.0-1
- Fedora 7 version bump
* Fri May 25 2007 Alexander Kahl <akahl at iconmobile.com> - 1.0.0-0
- Initial RPM release.
More information about the fedora-extras-commits
mailing list