rpms/php-pear-Auth-RADIUS/devel import.log, NONE, 1.1 php-pear-Auth-RADIUS.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Sun Jun 22 19:30:45 UTC 2008


Author: xulchris

Update of /cvs/extras/rpms/php-pear-Auth-RADIUS/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11616/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log php-pear-Auth-RADIUS.spec 
Log Message:
initial checkin


--- NEW FILE import.log ---
php-pear-Auth-RADIUS-1_0_6-1_fc9:HEAD:php-pear-Auth-RADIUS-1.0.6-1.fc9.src.rpm:1214162639


--- NEW FILE php-pear-Auth-RADIUS.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name Auth_RADIUS

Name:           php-pear-Auth-RADIUS
Version:        1.0.6
Release:        1%{?dist}
Summary:        Wrapper Classes for the RADIUS PECL

Group:          Development/Libraries
License:        BSD
URL:            http://pear.php.net/package/Auth_RADIUS
Source0:        http://pear.php.net/get/%{pear_name}-%{version}.tgz
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(hint): php-pear(Crypt_CHAP) php-mhash php-mcrypt
Requires:       php-pecl(radius) >= 1.2.5
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides:       php-pear(%{pear_name}) = %{version}

%description
%{summary}.


%prep
%setup -qc
[ -f package2.xml ] || mv package.xml package2.xml
mv package2.xml %{pear_name}-%{version}/%{pear_name}.xml
cd %{pear_name}-%{version}


%build
cd %{pear_name}-%{version}
# Empty build section, most likely nothing required.


%install
cd %{pear_name}-%{version}
rm -rf $RPM_BUILD_ROOT docdir
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml

# Move documentation
mkdir -p docdir
mv $RPM_BUILD_ROOT%{pear_docdir}/* docdir

# Clean up unnecessary files
rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*

# Install XML package description
install -d $RPM_BUILD_ROOT%{pear_xmldir}
install -pm 644 %{pear_name}.xml $RPM_BUILD_ROOT%{pear_xmldir}


%clean
rm -rf $RPM_BUILD_ROOT


%post
%{__pear} install --nodeps --soft --force --register-only \
    %{pear_xmldir}/%{pear_name}.xml >/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    %{__pear} uninstall --nodeps --ignore-errors --register-only \
        %{pear_name} >/dev/null || :
fi


%files
%defattr(-,root,root,-)
%doc %{pear_name}-%{version}/docdir/%{pear_name}/*
%{pear_xmldir}/%{pear_name}.xml
%dir %{pear_phpdir}/Auth
%{pear_phpdir}/Auth/*


%changelog
* Thu Jun 19 2008 Christopher Stone <chris.stone at gmail.com> 1.0.6-1
- Initial Fedora release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Auth-RADIUS/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	22 Jun 2008 15:57:03 -0000	1.1
+++ .cvsignore	22 Jun 2008 19:29:56 -0000	1.2
@@ -0,0 +1 @@
+Auth_RADIUS-1.0.6.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Auth-RADIUS/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	22 Jun 2008 15:57:03 -0000	1.1
+++ sources	22 Jun 2008 19:29:56 -0000	1.2
@@ -0,0 +1 @@
+01624816b44e8eaebc71e9a582d16838  Auth_RADIUS-1.0.6.tgz




More information about the fedora-extras-commits mailing list