rpms/php-ezc-DatabaseSchema/F-10 import.log, NONE, 1.1 php-ezc-DatabaseSchema.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Guillaume Kulakowski llaumgui at fedoraproject.org
Wed Nov 18 09:33:02 UTC 2009


Author: llaumgui

Update of /cvs/pkgs/rpms/php-ezc-DatabaseSchema/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19534/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log php-ezc-DatabaseSchema.spec 
Log Message:
Initial import



--- NEW FILE import.log ---
php-ezc-DatabaseSchema-1_4_2-1_fc11:F-10:php-ezc-DatabaseSchema-1.4.2-1.fc11.src.rpm:1258536736


--- NEW FILE php-ezc-DatabaseSchema.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name DatabaseSchema
%define channel components.ez.no

Name:           php-ezc-DatabaseSchema
Version:        1.4.2
Release:        1%{?dist}
Summary:        A set of classes that allow you to use information from a database schema

Group:          Development/Libraries
License:        BSD
URL:            http://ezcomponents.org/
Source0:        http://components.ez.no/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
BuildRequires:  php-channel(%{channel})
Requires:       php-common >= 5.2.1
Requires:       php-pear(%{channel}/Base) >= 1.6
Requires(post): %{__pear}
Requires(postun): %{__pear}

Provides:       php-pear(%{channel}/%{pear_name}) = %{version}


%description
The DatabaseSchema component provides a unified data structure to describe
relational databases. DatabaseSchema can read and write the structure from and
to several databases (such as MySQL, SQLite and Oracle) and also read and write
in two web language files (XML and PHP).

The main intention of the component is to extract an already existing schema
from a database, and compare it with either a predefined schema to check for
any changes. Although the component does allow you to create the schema manually
through the API, it is often easier to create the schema yourself in a database,
and then extract the data from it.


%prep
%setup -q -c
[ -f package2.xml ] || mv package.xml package2.xml
%{__mv} package2.xml %{pear_name}-%{version}/%{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 %{buildroot} docdir
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml

# Move documentation
%{__mv} %{buildroot}%{pear_docdir}/%{pear_name}/docs ./docdir
%{__rm} -rf %{buildroot}%{pear_docdir}

# Clean up unnecessary files
%{__rm} -rf %{buildroot}%{pear_phpdir}/.??*

# Install XML package description
%{__mkdir} -p %{buildroot}%{pear_xmldir}
%{__install} -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}


%clean
%{__rm} -rf %{buildroot}


%post
%{__pear} install --nodeps --soft --force --register-only \
    %{pear_xmldir}/%{name}.xml >/dev/null || :


%postun
if [ $1 -eq 0 ] ; then
    %{__pear} uninstall --nodeps --ignore-errors --register-only \
        %{channel}/%{pear_name} >/dev/null || :
fi


%files
%defattr(-,root,root,-)
%doc %{pear_name}-%{version}/docdir/*
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/data/%{pear_name}
%{pear_phpdir}/ezc/%{pear_name}
%{pear_phpdir}/ezc/autoload/db_schema_autoload.php


%changelog
* Mon Oct 12 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.4.2-1
- Initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/php-ezc-DatabaseSchema/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	16 Nov 2009 17:49:49 -0000	1.1
+++ .cvsignore	18 Nov 2009 09:33:01 -0000	1.2
@@ -0,0 +1 @@
+DatabaseSchema-1.4.2.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-ezc-DatabaseSchema/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	16 Nov 2009 17:49:49 -0000	1.1
+++ sources	18 Nov 2009 09:33:02 -0000	1.2
@@ -0,0 +1 @@
+9448d755177150cfe848ed27c41c3c38  DatabaseSchema-1.4.2.tgz




More information about the fedora-extras-commits mailing list