rpms/php-pear-Structures-DataGrid/devel php-pear-Structures-DataGrid.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Tue Nov 14 03:51:05 UTC 2006


Author: xulchris

Update of /cvs/extras/rpms/php-pear-Structures-DataGrid/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7629/devel

Modified Files:
	.cvsignore sources 
Added Files:
	php-pear-Structures-DataGrid.spec 
Log Message:
auto-import php-pear-Structures-DataGrid-0.7.2-1 on branch devel from php-pear-Structures-DataGrid-0.7.2-1.src.rpm


--- NEW FILE php-pear-Structures-DataGrid.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name Structures_DataGrid

Name:           php-pear-Structures-DataGrid
Version:        0.7.2
Release:        1%{?dist}
Summary:        A tabular structure for converting data

Group:          Development/Libraries
License:        PHP License
URL:            http://pear.php.net/package/Structures_DataGrid
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(post): %{__pear}
Requires(postun): %{__pear}
Provides:       php-pear(%{pear_name}) = %{version}

%description
This package offers a toolkit to render out a datagrid in HTML format as well
as many other formats such as an XML Document, an Excel Spreadsheet, an XUL
Document and more. It also offers paging and sorting functionallity to limit
the data that is presented and processed. This concept is based on the .NET
Framework DataGrid control and works very well with database and XML result
sets.


%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}/*


%changelog
* Sun Oct 29 2006 Christopher Stone <chris.stone at gmail.com> 0.7.2-1
- Initial Release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Structures-DataGrid/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Nov 2006 03:50:16 -0000	1.1
+++ .cvsignore	14 Nov 2006 03:50:35 -0000	1.2
@@ -0,0 +1 @@
+Structures_DataGrid-0.7.2.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Structures-DataGrid/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Nov 2006 03:50:16 -0000	1.1
+++ sources	14 Nov 2006 03:50:35 -0000	1.2
@@ -0,0 +1 @@
+bb51347f4b792d733c22f6ffd594766c  Structures_DataGrid-0.7.2.tgz




More information about the scm-commits mailing list