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

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Thu Nov 16 04:06:26 UTC 2006


Author: xulchris

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

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


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

Name:           php-pear-Structures-DataGrid-Renderer-Smarty
Version:        0.1.2
Release:        1%{?dist}
Summary:        Renderer driver using Smarty

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

%description
This is a Rendering driver for Structures_DataGrid using Smarty. It adds the
necessary variables and functions to a Smarty instance, in order to build a
full-featured DataGrid within a Smarty template.


%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/Renderer/Smarty.php


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


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Structures-DataGrid-Renderer-Smarty/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Nov 2006 04:05:34 -0000	1.1
+++ .cvsignore	16 Nov 2006 04:05:55 -0000	1.2
@@ -0,0 +1 @@
+Structures_DataGrid_Renderer_Smarty-0.1.2.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Structures-DataGrid-Renderer-Smarty/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Nov 2006 04:05:34 -0000	1.1
+++ sources	16 Nov 2006 04:05:55 -0000	1.2
@@ -0,0 +1 @@
+a5e209d09588b82c3e46b6f4d7fef242  Structures_DataGrid_Renderer_Smarty-0.1.2.tgz




More information about the scm-commits mailing list