rpms/php-pear-Structures-DataGrid-DataSource-Array/devel php-pear-Structures-DataGrid-DataSource-Array.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Christopher Stone (xulchris)
fedora-extras-commits at redhat.com
Sat Dec 2 20:19:37 UTC 2006
Author: xulchris
Update of /cvs/extras/rpms/php-pear-Structures-DataGrid-DataSource-Array/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25750/devel
Modified Files:
.cvsignore sources
Added Files:
php-pear-Structures-DataGrid-DataSource-Array.spec
Log Message:
auto-import php-pear-Structures-DataGrid-DataSource-Array-0.1.0-1 on branch devel from php-pear-Structures-DataGrid-DataSource-Array-0.1.0-1.src.rpm
--- NEW FILE php-pear-Structures-DataGrid-DataSource-Array.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name Structures_DataGrid_DataSource_Array
Name: php-pear-Structures-DataGrid-DataSource-Array
Version: 0.1.0
Release: 1%{?dist}
Summary: DataSource driver using arrays
Group: Development/Libraries
License: PHP License
URL: http://pear.php.net/package/Structures_DataGrid_DataSource_Array
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) php-pear(Structures_DataGrid)
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides: php-pear(%{pear_name}) = %{version}
%description
This is a DataSource driver for Structures_DataGrid using arrays. It is a
base package for some other DataSource drivers like CSV or XML.
%prep
%setup -q -c
[ -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
# 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 %{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,-)
%{pear_xmldir}/%{pear_name}.xml
%{pear_phpdir}/Structures/DataGrid/DataSource
%changelog
* Sun Oct 29 2006 Christopher Stone <chris.stone at gmail.com> 0.1.0-1
- Initial Release
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Structures-DataGrid-DataSource-Array/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 2 Dec 2006 20:18:48 -0000 1.1
+++ .cvsignore 2 Dec 2006 20:19:07 -0000 1.2
@@ -0,0 +1 @@
+Structures_DataGrid_DataSource_Array-0.1.0.tgz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Structures-DataGrid-DataSource-Array/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 2 Dec 2006 20:18:48 -0000 1.1
+++ sources 2 Dec 2006 20:19:07 -0000 1.2
@@ -0,0 +1 @@
+9f9a76d291ee8d99134c71173bb84bdb Structures_DataGrid_DataSource_Array-0.1.0.tgz
More information about the scm-commits
mailing list