rpms/php-channel-swift/F-12 channel.xml, NONE, 1.1 import.log, NONE, 1.1 php-channel-swift.spec, NONE, 1.1

Christof Damian cdamian at fedoraproject.org
Sun Jan 24 19:15:09 UTC 2010


Author: cdamian

Update of /cvs/pkgs/rpms/php-channel-swift/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5029/F-12

Added Files:
	channel.xml import.log php-channel-swift.spec 
Log Message:
import



--- NEW FILE channel.xml ---
<?xml version="1.0" encoding="UTF-8" ?>
<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/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd">
  <name>pear.swiftmailer.org</name>
  <summary>Swift Mailer PEAR channel</summary>
  <suggestedalias>swift</suggestedalias>
  <servers>
    <primary>
      <rest>
        <baseurl type="REST1.0">http://pear.swiftmailer.org//rest/</baseurl>
        <baseurl type="REST1.1">http://pear.swiftmailer.org//rest/</baseurl>
        <baseurl type="REST1.2">http://pear.swiftmailer.org//rest/</baseurl>
        <baseurl type="REST1.3">http://pear.swiftmailer.org//rest/</baseurl>
      </rest>
    </primary>
  </servers>
</channel>

--- NEW FILE import.log ---
php-channel-swift-1_3-2_fc12:F-12:php-channel-swift-1.3-2.fc12.src.rpm:1264360458


--- NEW FILE php-channel-swift.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}

Name:		php-channel-swift
Version:	1.3
Release:	2%{?dist}
Summary:	Adds swift mailer project channel to PEAR

Group:		Development/Languages
License:	LGPLv3
URL:		http://www.swiftmailer.org/
Source0:	http://pear.swiftmailer.org/channel.xml
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:	noarch
BuildRequires:	php-pear >= 1:1.4.9-1.2
Requires:	php-pear(PEAR)

Requires(post): %{__pear}
Requires(postun): %{__pear}

Provides:	php-channel(pear.swiftmailer.org)

%description
This package adds the swift mailer 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}/%{name}.xml


%clean
%{__rm} -rf $RPM_BUILD_ROOT

%post
if [ $1 -eq  1 ] ; then
	%{__pear} channel-add %{pear_xmldir}/%{name}.xml > /dev/null || :
else
	%{__pear} channel-update %{pear_xmldir}/%{name}.xml > /dev/null ||:
fi


%postun
if [ $1 -eq 0 ] ; then
	%{__pear} channel-delete pear.swiftmailer.org > /dev/null || :
fi


%files
%defattr(-,root,root,-)
%{pear_xmldir}/*


%changelog
* Sun Jan 24 2010 Christof Damian <christof at damian.net> 1.3-2
- forgot to rename the channel xml in post

* Sun Jan 24 2010 Christof Damian <christof at damian.net> 1.3-1
- removed php-cli requirement, which is covered by php-pear requirement
- changed name of channel xml name
- using rest version as version now

* Tue Dec 1 2009 Christof Damian <christof at damian.net> - 1.0.0-1
- initial release



More information about the scm-commits mailing list