rpms/php-pear-HTML-Table/devel php-pear-HTML-Table.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Mon Nov 13 07:27:10 UTC 2006


Author: xulchris

Update of /cvs/extras/rpms/php-pear-HTML-Table/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25193/devel

Modified Files:
	.cvsignore sources 
Added Files:
	php-pear-HTML-Table.spec 
Log Message:
auto-import php-pear-HTML-Table-1.7.5-1 on branch devel from php-pear-HTML-Table-1.7.5-1.src.rpm


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

Name:           php-pear-HTML-Table
Version:        1.7.5
Release:        1%{?dist}
Summary:        Class to easily design HTML tables

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

%description
The PEAR::HTML_Table package provides methods for easy and efficient design
of HTML tables.
- Lots of customization options.
- Tables can be modified at any time.
- The logic is the same as standard HTML editors.
- Handles col and rowspans.
- PHP code is shorter, easier to read and to maintain.
- Tables options can be reused.


%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_testdir}/%{pear_name}
%{pear_phpdir}/HTML/Table*


%changelog
* Sat Nov 11 2006 Christopher Stone <chris.stone at gmail.com> 1.7.5-1
- Upstream Sync
- Add versioned requires

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


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pear-HTML-Table/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Nov 2006 07:26:09 -0000	1.1
+++ .cvsignore	13 Nov 2006 07:26:40 -0000	1.2
@@ -0,0 +1 @@
+HTML_Table-1.7.5.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-HTML-Table/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Nov 2006 07:26:09 -0000	1.1
+++ sources	13 Nov 2006 07:26:40 -0000	1.2
@@ -0,0 +1 @@
+d76f133550d326c33f7fc556afb59555  HTML_Table-1.7.5.tgz




More information about the fedora-extras-commits mailing list