rpms/php-ezc-EventLogDatabaseTiein/devel import.log, NONE, 1.1 php-ezc-EventLogDatabaseTiein.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Guillaume Kulakowski llaumgui at fedoraproject.org
Sat Dec 19 12:23:17 UTC 2009


Author: llaumgui

Update of /cvs/pkgs/rpms/php-ezc-EventLogDatabaseTiein/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv652/devel

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



--- NEW FILE import.log ---
php-ezc-EventLogDatabaseTiein-1_0_2-1_fc12:HEAD:php-ezc-EventLogDatabaseTiein-1.0.2-1.fc12.src.rpm:1261225369


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

Name:           php-ezc-EventLogDatabaseTiein
Version:        1.0.2
Release:        1%{?dist}
Summary:        Contains the database writer backend for the EventLog component

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}/Database) >= 1.2
Requires:       php-pear(%{channel}/EventLog) >= 1.0.3
Requires(post): %{__pear}
Requires(postun): %{__pear}

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


%description
The EventLogDatabaseTiein component provides an API to log events and audit
trails using a database connection.

ezcLogDatabaseWriter is the log writer that writes log messages to the database.

To write log messages to the database, the Database component is used. The table
to which the log is written should already exist.


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


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


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/php-ezc-EventLogDatabaseTiein/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	3 Dec 2009 06:29:13 -0000	1.1
+++ .cvsignore	19 Dec 2009 12:23:17 -0000	1.2
@@ -0,0 +1 @@
+EventLogDatabaseTiein-1.0.2.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-ezc-EventLogDatabaseTiein/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	3 Dec 2009 06:29:13 -0000	1.1
+++ sources	19 Dec 2009 12:23:17 -0000	1.2
@@ -0,0 +1 @@
+d261edd630fe9741cfc6be0cf3c41f93  EventLogDatabaseTiein-1.0.2.tgz




More information about the scm-commits mailing list