rpms/php-pecl-radius/devel php-pecl-radius.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Christopher Stone (xulchris)
fedora-extras-commits at redhat.com
Tue Mar 13 05:25:20 UTC 2007
Author: xulchris
Update of /cvs/extras/rpms/php-pecl-radius/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14568/devel
Modified Files:
.cvsignore sources
Added Files:
php-pecl-radius.spec
Log Message:
auto-import php-pecl-radius-1.2.4-2 on branch devel from php-pecl-radius-1.2.4-2.src.rpm
--- NEW FILE php-pecl-radius.spec ---
%global php_apiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1)
%global php_extdir %(php-config --extension-dir 2>/dev/null || echo "undefined")
Name: php-pecl-radius
Version: 1.2.4
Release: 2%{?dist}
Summary: Radius client library
License: BSD
Group: Development/Languages
URL: http://pecl.php.net/package/radius
Source0: http://pecl.php.net/get/radius-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: php-devel
Provides: php-pecl(radius) = %{version}
%if %{?php_zend_api}0
# for fedora >= 6
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
%else
# for fedora <= 5
Requires: php-api = %{php_apiver}
%endif
%description
This package is based on the libradius of FreeBSD, with some modifications
and extensions. This PECL provides full support for RADIUS authentication
(RFC 2865) and RADIUS accounting (RFC 2866), works on Unix and on Windows.
Its an easy way to authenticate your users against the user-database of your
OS (for example against Windows Active-Directory via IAS).
%prep
%setup -qc
%build
cd radius-%{version}
phpize
%configure
make %{?_smp_mflags}
%install
cd radius-%{version}
rm -rf $RPM_BUILD_ROOT
make install INSTALL_ROOT=$RPM_BUILD_ROOT
# install config file
install -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/radius.ini << 'EOF'
; Enable radius extension module
extension=radius.so
EOF
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc radius-%{version}/CREDITS radius-%{version}/examples
%config(noreplace) %{_sysconfdir}/php.d/radius.ini
%{php_extdir}/radius.so
%changelog
* Sun Mar 11 2007 Christopher Stone <chris.stone at gmail.com> 1.2.4-2
- Use new ABI check for FC-6
- Create directory to untar sources
- Remove %%{release} from Provides
* Sat Jul 01 2006 Christopher Stone <chris.stone at gmail.com> 1.2.4-1
- Initial release
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-radius/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 13 Mar 2007 03:54:00 -0000 1.1
+++ .cvsignore 13 Mar 2007 05:24:47 -0000 1.2
@@ -0,0 +1 @@
+radius-1.2.4.tgz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-radius/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 13 Mar 2007 03:54:00 -0000 1.1
+++ sources 13 Mar 2007 05:24:47 -0000 1.2
@@ -0,0 +1 @@
+3d48ccb9486b9e8839d814d7ff318091 radius-1.2.4.tgz
More information about the fedora-extras-commits
mailing list