rpms/php-pear-CAS/EL-5 php-pear-CAS-systemlibs.patch, NONE, 1.1 php-pear-CAS.spec, NONE, 1.1 sources, 1.1, 1.2
Remi Collet
remi at fedoraproject.org
Thu May 20 15:25:14 UTC 2010
- Previous message: rpms/kernel/devel acpi-ec-add-delay-before-write.patch, 1.1, 1.2 disable-i8042-check-on-apple-mac.patch, NONE, 1.1 drm-1024x768-85.patch, NONE, 1.1 drm-intel-gen5-dither.patch, NONE, 1.1 drm-intel-sdvo-fix-2.patch, NONE, 1.1 drm-intel-sdvo-fix.patch, NONE, 1.1 drm-nouveau-drm-fixed-header.patch, NONE, 1.1 iwlwifi-fix-internal-scan-race.patch, NONE, 1.1 iwlwifi-recalculate-average-tpt-if-not-current.patch, NONE, 1.1 linux-2.6-acpi-video-export-edid.patch, NONE, 1.1 linux-2.6-intel-iommu-igfx.patch, NONE, 1.1 linux-2.6-phylib-autoload.patch, 1.1, 1.2 linux-2.6-v4l-dvb-add-kworld-a340-support.patch, 1.1, 1.2 linux-2.6-v4l-dvb-add-lgdt3304-support.patch, 1.1, 1.2 ssb_check_for_sprom.patch, 1.1, 1.2 add-appleir-usb-driver.patch, 1.1, 1.2 kernel.spec, 1.1994, 1.1995 linux-2.6-block-silently-error-unsupported-empty-barriers-too.patch, 1.1, NONE linux-2.6-ksm-kvm.patch, 1.3, NONE linux-2.6-rfkill-all.patch, 1.3, NONE linux-2.6-rt2x00-asus-leds.patch, 1.1, NONE linux-2.6-userspace_kvmclock_offset.patch, 1.2, NONE linux-2.6-x86-64-fbdev-primary.patch, 1.1, NONE linux-2.6.31-modules-ro-nx.patch, 1.2, NONE linux-2.6.31-nx-data.patch, 1.1, NONE vhost_net-rollup.patch, 1.1, NONE
- Next message: rpms/php-pear-CAS/EL-6 php-pear-CAS-systemlibs.patch, NONE, 1.1 php-pear-CAS.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: remi
Update of /cvs/pkgs/rpms/php-pear-CAS/EL-5
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv12036
Modified Files:
sources
Added Files:
php-pear-CAS-systemlibs.patch php-pear-CAS.spec
Log Message:
new package
php-pear-CAS-systemlibs.patch:
CAS.php | 2 +-
php-pear-CAS.xml | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
--- NEW FILE php-pear-CAS-systemlibs.patch ---
diff -up CAS-1.1.0/CAS.php.systemlib CAS-1.1.0/CAS.php
--- CAS-1.1.0/CAS.php.systemlib 1970-01-01 10:13:08.000000000 +0100
+++ CAS-1.1.0/CAS.php 2010-05-20 07:24:32.000000000 +0200
@@ -14,7 +14,7 @@ if (!$_SERVER['REQUEST_URI']) {
// another one by Vangelis Haniotakis also to make phpCAS work with PHP5
//
if (version_compare(PHP_VERSION,'5','>=')) {
- require_once(dirname(__FILE__).'/CAS/domxml-php4-to-php5.php');
+ require_once('/usr/share/php/domxml-php4-php5/domxml-php4-to-php5.php');
}
/**
diff -up CAS-1.1.0/php-pear-CAS.xml.systemlib CAS-1.1.0/php-pear-CAS.xml
--- CAS-1.1.0/php-pear-CAS.xml.systemlib 1970-01-01 10:13:08.000000000 +0100
+++ CAS-1.1.0/php-pear-CAS.xml 2010-05-20 07:28:39.000000000 +0200
@@ -51,7 +51,6 @@ see http://www.ja-sig.org/wiki/display/C
<file baseinstalldir="/" md5sum="f71651bcf7f38df0be9adcbbcc29d6de" name="CAS/PGTStorage/pgt-file.php" role="php" />
<file baseinstalldir="/" md5sum="16f3bbe28e42bda1aa564e3e4adbd16c" name="CAS/PGTStorage/pgt-main.php" role="php" />
<file baseinstalldir="/" md5sum="847a18ae84ab86a8b1d80298593e1b4b" name="CAS/client.php" role="php" />
- <file baseinstalldir="/" md5sum="e9ce7e11f871d8206b0abc2f608b0277" name="CAS/domxml-php4-to-php5.php" role="php" />
<file baseinstalldir="/" md5sum="b84b09fb9be8422318e35cccf6749308" name="docs/api/annotated.html" role="doc" />
<file baseinstalldir="/" md5sum="7694258cded297b9c94945c2d3dcd8a0" name="docs/api/CAS_8php.html" role="doc" />
<file baseinstalldir="/" md5sum="bbf786cc48739382c686c629b7910df3" name="docs/api/CAS_8php_source.html" role="doc" />
@@ -191,7 +190,7 @@ see http://www.ja-sig.org/wiki/display/C
<file baseinstalldir="/" md5sum="1a784b7c0c46e6791ccf7b22a7e486c2" name="docs/ChangeLog" role="doc" />
<file baseinstalldir="/" md5sum="8b55ff8b0efc4d70a30e3d282f4ef188" name="docs/index.html" role="doc" />
<file baseinstalldir="/" md5sum="d153a0effa32fbccded9387ea5310df6" name="docs/README" role="doc" />
- <file baseinstalldir="/" md5sum="d0a189aced5e0205942b304363a1a3d0" name="CAS.php" role="php" />
+ <file baseinstalldir="/" md5sum="417009f38e6d6ef51091809343431650" name="CAS.php" role="php" />
</dir>
</contents>
<dependencies>
--- NEW FILE php-pear-CAS.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name CAS
%global channel __uri
#global prever RC7
Name: php-pear-CAS
Version: 1.1.0
Release: %{?prever:0.}1%{?prever:.}%{?prever}%{?dist}
Summary: Central Authentication Service client library in php
Group: Development/Libraries
License: BSD
URL: http://www.ja-sig.org/wiki/display/CASC/phpCAS
Source0: http://www.ja-sig.org/downloads/cas-clients/php/%{version}%{?prever}/%{pear_name}-%{version}%{?prever}.tgz
Patch0: php-pear-CAS-systemlibs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-pear >= 1:1.4.9-1.2
Requires(post): %{__pear}
Requires(postun): %{__pear}
Requires: php-pear(DB) >= 1.4.0
Requires: php-pear(PEAR) >= 1.4.3
Requires: php-domxml-php4-php5
Provides: php-pear(%{channel}/%{pear_name}) = %{version}
# this library is mostly known as phpCAS
Provides: phpCAS = %{version}-%{release}
%description
This package is a PEAR library for using a Central Authentication Service.
%prep
%setup -q -c
# Package is V2
mv package.xml %{pear_name}-%{version}%{?prever}/%{name}.xml
cd %{pear_name}-%{version}%{?prever}
%patch0 -p1 -b .systemlib
%build
cd %{pear_name}-%{version}%{?prever}
# Empty build section, most likely nothing required.
%install
rm -rf $RPM_BUILD_ROOT docdir
cd %{pear_name}-%{version}%{?prever}
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
# Move documentation
mv $RPM_BUILD_ROOT%{pear_docdir}/%{pear_name} ../docdir
for fic in ../docdir/docs/examples/example*.php; do
sed -i -e 's/\r//' $fic
done
# Clean up unnecessary files
rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
# Install XML package description
mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
install -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
%clean
rm -rf $RPM_BUILD_ROOT
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{name}.xml >/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
%{__pear} uninstall --nodeps --ignore-errors --register-only \
%{channel}/%{pear_name} >/dev/null || :
fi
%files
%defattr(-,root,root,-)
%doc docdir/docs/*
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/CAS
%{pear_phpdir}/CAS.php
%changelog
* Thu May 20 2010 Remi Collet <Fedora at FamilleCollet.com> - 1.1.0-1
- update to 1.1.0 finale
* Sun Mar 14 2010 Remi Collet <Fedora at FamilleCollet.com> - 1.1.0-0.1.RC7
- initial packaging (using pear make-rpm-spec CAS-1.1.0RC7.tgz)
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-pear-CAS/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 18 May 2010 18:27:04 -0000 1.1
+++ sources 20 May 2010 15:25:14 -0000 1.2
@@ -0,0 +1 @@
+6343fcd73c347461c6b55fe7ba72ac08 CAS-1.1.0.tgz
- Previous message: rpms/kernel/devel acpi-ec-add-delay-before-write.patch, 1.1, 1.2 disable-i8042-check-on-apple-mac.patch, NONE, 1.1 drm-1024x768-85.patch, NONE, 1.1 drm-intel-gen5-dither.patch, NONE, 1.1 drm-intel-sdvo-fix-2.patch, NONE, 1.1 drm-intel-sdvo-fix.patch, NONE, 1.1 drm-nouveau-drm-fixed-header.patch, NONE, 1.1 iwlwifi-fix-internal-scan-race.patch, NONE, 1.1 iwlwifi-recalculate-average-tpt-if-not-current.patch, NONE, 1.1 linux-2.6-acpi-video-export-edid.patch, NONE, 1.1 linux-2.6-intel-iommu-igfx.patch, NONE, 1.1 linux-2.6-phylib-autoload.patch, 1.1, 1.2 linux-2.6-v4l-dvb-add-kworld-a340-support.patch, 1.1, 1.2 linux-2.6-v4l-dvb-add-lgdt3304-support.patch, 1.1, 1.2 ssb_check_for_sprom.patch, 1.1, 1.2 add-appleir-usb-driver.patch, 1.1, 1.2 kernel.spec, 1.1994, 1.1995 linux-2.6-block-silently-error-unsupported-empty-barriers-too.patch, 1.1, NONE linux-2.6-ksm-kvm.patch, 1.3, NONE linux-2.6-rfkill-all.patch, 1.3, NONE linux-2.6-rt2x00-asus-leds.patch, 1.1, NONE linux-2.6-userspace_kvmclock_offset.patch, 1.2, NONE linux-2.6-x86-64-fbdev-primary.patch, 1.1, NONE linux-2.6.31-modules-ro-nx.patch, 1.2, NONE linux-2.6.31-nx-data.patch, 1.1, NONE vhost_net-rollup.patch, 1.1, NONE
- Next message: rpms/php-pear-CAS/EL-6 php-pear-CAS-systemlibs.patch, NONE, 1.1 php-pear-CAS.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list