]> git.pld-linux.org Git - packages/php-pear-MDB2_Driver_sqlite3.git/commitdiff
craeted based on code from owncloud repo auto/th/php-pear-MDB2_Driver_sqlite3-0.1-1
authorElan Ruusamäe <glen@delfi.ee>
Tue, 22 Jan 2013 23:02:07 +0000 (01:02 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 22 Jan 2013 23:02:07 +0000 (01:02 +0200)
php-pear-MDB2_Driver_sqlite.spec [deleted file]
php-pear-MDB2_Driver_sqlite3.spec [new file with mode: 0644]

diff --git a/php-pear-MDB2_Driver_sqlite.spec b/php-pear-MDB2_Driver_sqlite.spec
deleted file mode 100644 (file)
index 1c3d090..0000000
+++ /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 (file)
index 0000000..77812ca
--- /dev/null
@@ -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
This page took 0.112233 seconds and 4 git commands to generate.