[packages/php-pear-MDB2_Driver_sqlite3: 25/25] craeted based on code from owncloud repo
glen
glen at pld-linux.org
Wed Jan 23 00:05:37 CET 2013
commit c71241a46b8431f5a9d25964ce5dd55aef8b67ec
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jan 23 01:02:07 2013 +0200
craeted based on code from owncloud repo
php-pear-MDB2_Driver_sqlite.spec | 58 ---------------------------------------
php-pear-MDB2_Driver_sqlite3.spec | 55 +++++++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+), 58 deletions(-)
---
diff --git a/php-pear-MDB2_Driver_sqlite.spec b/php-pear-MDB2_Driver_sqlite.spec
deleted file mode 100644
index 1c3d090..0000000
--- a/php-pear-MDB2_Driver_sqlite.spec
+++ /dev/null
@@ -1,58 +0,0 @@
-%define _status beta
-%define _pearname MDB2_Driver_sqlite
-%define subver b4
-%define rel 1
-%include /usr/lib/rpm/macros.php
-Summary: %{_pearname} - sqlite MDB2 driver
-Summary(pl.UTF-8): %{_pearname} - sterownik sqlite dla MDB2
-Name: php-pear-%{_pearname}
-Version: 1.5.0
-Release: 0.%{subver}.%{rel}
-License: BSD License
-Group: Development/Languages/PHP
-Source0: http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
-# Source0-md5: 266234565071b41646d0dfe0290004a9
-URL: http://pear.php.net/package/MDB2_Driver_sqlite/
-BuildRequires: php-pear-PEAR >= 1:1.9.1
-BuildRequires: rpm-php-pearprov >= 4.4.2-11
-BuildRequires: rpmbuild(macros) >= 1.300
-Requires: php(core) >= 4.3.0
-Requires: php(sqlite)
-Requires: php-pear
-Requires: php-pear-MDB2 >= 1:2.5.0-0.b4
-Obsoletes: php-pear-MDB2_Driver_sqlite-tests
-BuildArch: noarch
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-This is the SQLite MDB2 driver.
-
-In PEAR status of this package is: %{_status}.
-
-%description -l pl.UTF-8
-Sterownik SQLite dla MDB2.
-
-Ta klasa ma w PEAR status: %{_status}.
-
-%prep
-%pear_package_setup
-
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}
-%pear_package_install
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(644,root,root,755)
-%doc install.log
-%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/MDB2/Driver/Datatype/sqlite.php
-%{php_pear_dir}/MDB2/Driver/Manager/sqlite.php
-%{php_pear_dir}/MDB2/Driver/Native/sqlite.php
-%{php_pear_dir}/MDB2/Driver/Reverse/sqlite.php
-%{php_pear_dir}/MDB2/Driver/Function/sqlite.php
-%{php_pear_dir}/MDB2/Driver/sqlite.php
-%{php_pear_dir}/data/MDB2_Driver_sqlite
diff --git a/php-pear-MDB2_Driver_sqlite3.spec b/php-pear-MDB2_Driver_sqlite3.spec
new file mode 100644
index 0000000..77812ca
--- /dev/null
+++ b/php-pear-MDB2_Driver_sqlite3.spec
@@ -0,0 +1,55 @@
+%define status beta
+%define pearname MDB2_Driver_sqlite3
+%include /usr/lib/rpm/macros.php
+Summary: %{pearname} - sqlite MDB2 driver
+Summary(pl.UTF-8): %{pearname} - sterownik sqlite dla MDB2
+Name: php-pear-%{pearname}
+Version: 0.1
+Release: 1
+License: BSD License
+Group: Development/Languages/PHP
+Source0: MDB2_Driver_sqlite3.tar.bz2
+# Source0-md5: 1db962da9d548c5506d6ec598b1e737e
+#URL: https://github.com/owncloud/core/tree/master/lib/MDB2/Driver
+URL: http://thread.gmane.org/gmane.comp.php.pear.devel/50535
+BuildRequires: php-pear-PEAR >= 1:1.9.1
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.300
+Requires: php(core) >= 4.3.0
+Requires: php(sqlite3)
+Requires: php-pear
+Requires: php-pear-MDB2 >= 1:2.5.0-0.b4
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is the SQLite3 MDB2 driver.
+
+In PEAR status of this package is: %{status}.
+
+%description -l pl.UTF-8
+Sterownik SQLite3 dla MDB2.
+
+Ta klasa ma w PEAR status: %{status}.
+
+%prep
+%setup -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}/MDB2/Driver
+cp -a %{pearname}/* $RPM_BUILD_ROOT%{php_pear_dir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+#%doc install.log
+#%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/MDB2/Driver/Datatype/sqlite3.php
+%{php_pear_dir}/MDB2/Driver/Manager/sqlite3.php
+%{php_pear_dir}/MDB2/Driver/Native/sqlite3.php
+%{php_pear_dir}/MDB2/Driver/Reverse/sqlite3.php
+%{php_pear_dir}/MDB2/Driver/Function/sqlite3.php
+%{php_pear_dir}/MDB2/Driver/sqlite3.php
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-MDB2_Driver_sqlite3.git/commitdiff/c71241a46b8431f5a9d25964ce5dd55aef8b67ec
More information about the pld-cvs-commit
mailing list