[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/php-pear-HTML-QuickForm-ElementGrid/FC-6 php-pear-HTML-QuickForm-ElementGrid.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2



Author: xulchris

Update of /cvs/extras/rpms/php-pear-HTML-QuickForm-ElementGrid/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8090/FC-6

Modified Files:
	.cvsignore sources 
Added Files:
	php-pear-HTML-QuickForm-ElementGrid.spec 
Log Message:
initial checkin


--- NEW FILE php-pear-HTML-QuickForm-ElementGrid.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name HTML_QuickForm_ElementGrid

Name:           php-pear-HTML-QuickForm-ElementGrid
Version:        0.1.0
Release:        1%{?dist}
Summary:        Meta-element which holds any other element in a grid

Group:          Development/Languages
License:        LGPL
URL:            http://pear.php.net/package/HTML_QuickForm_ElementGrid
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:       php-pear(HTML_QuickForm) >= 3.2.5
Requires:       php-pear(HTML_Table) >= 1.7.5
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides:       php-pear(%{pear_name}) = %{version}

%description
An HTML_QuickForm meta-element which holds multiple HTML_QuickForm elements in
an HTML_Table. The elements in the table should behave exactly like normal
elements in a form, such as freezing and getting defaults and submitted values
correctly.


%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

# 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
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,-)
%doc %{pear_name}-%{version}/docdir/%{pear_name}/*
%{pear_xmldir}/%{pear_name}.xml
%{pear_phpdir}/HTML/QuickForm/ElementGrid.php


%changelog
* Sun Jan 14 2007 Christopher Stone <chris stone gmail com> 0.1.0-1
- Initial Fedora release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pear-HTML-QuickForm-ElementGrid/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 May 2007 05:37:37 -0000	1.1
+++ .cvsignore	6 May 2007 16:39:14 -0000	1.2
@@ -0,0 +1 @@
+HTML_QuickForm_ElementGrid-0.1.0.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-HTML-QuickForm-ElementGrid/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 May 2007 05:37:37 -0000	1.1
+++ sources	6 May 2007 16:39:14 -0000	1.2
@@ -0,0 +1 @@
+f3937daeeb3251cf92cc78599d103277  HTML_QuickForm_ElementGrid-0.1.0.tgz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]