[packages/php-pear-MDB2_TableBrowser] - up to 0.1.3
glen
glen at pld-linux.org
Tue Aug 28 22:33:42 CEST 2012
commit fb9053710151b0d9d00b6755448f356e4f386ea1
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Aug 28 23:33:40 2012 +0300
- up to 0.1.3
paths.patch | 53 -----------------------------------------
php-pear-MDB2_TableBrowser.spec | 30 +++++++++++------------
2 files changed, 15 insertions(+), 68 deletions(-)
---
diff --git a/php-pear-MDB2_TableBrowser.spec b/php-pear-MDB2_TableBrowser.spec
index 875f2f0..ae2a099 100644
--- a/php-pear-MDB2_TableBrowser.spec
+++ b/php-pear-MDB2_TableBrowser.spec
@@ -1,20 +1,19 @@
+%define status alpha
+%define pearname MDB2_TableBrowser
%include /usr/lib/rpm/macros.php
-%define _status alpha
-%define _pearname MDB2_TableBrowser
-Summary: %{_pearname} - Database table abstraction library
-Summary(pl.UTF-8): %{_pearname} - biblioteka abstrakcji tabeli bazy danych
-Name: php-pear-%{_pearname}
-Version: 0.1.2
-Release: 2
+Summary: %{pearname} - Database table abstraction library
+Summary(pl.UTF-8): %{pearname} - biblioteka abstrakcji tabeli bazy danych
+Name: php-pear-%{pearname}
+Version: 0.1.3
+Release: 1
License: PHP License
Group: Development/Languages/PHP
-Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 738fdba9d00476964905333a60223fba
-Patch0: paths.patch
+Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5: d5fc8947e973dbeb04011cd1d03a8bd2
URL: http://pear.php.net/package/MDB2_TableBrowser/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
-BuildRequires: rpmbuild(macros) >= 1.300
+BuildRequires: rpmbuild(macros) >= 1.580
Requires: php-pear
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,7 +32,7 @@ Currently only the single table browser is implemented. If you need to
work with data that spans multiple tables, you can build a table view
as this library works with them as well.
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
%description -l pl.UTF-8
Obiekty opisujące tabele baz danych pozwalają na obsługę tabel w
@@ -50,11 +49,12 @@ istnieje potrzeba obsługi danych rozrzuconych na kilka tabel,
konieczne będzie stworzenie widoku, z którym klasa ta współpracuje
równie dobrze.
-Ta klasa ma w PEAR status: %{_status}.
+Ta klasa ma w PEAR status: %{status}.
%prep
%pear_package_setup
-%patch0 -p1
+
+mv .%{php_pear_dir}/data/MDB2_TableBrowser/README .
%install
rm -rf $RPM_BUILD_ROOT
@@ -66,7 +66,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc install.log
+%doc install.log README
%{php_pear_dir}/.registry/*.reg
%{php_pear_dir}/MDB2/TableBrowser
%{php_pear_dir}/MDB2/TableBrowser.php
diff --git a/paths.patch b/paths.patch
deleted file mode 100644
index 46140b8..0000000
--- a/paths.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- MDB2_TableBrowser-0.1.2/usr/share/pear/MDB2/TableBrowser/Single.php~ 2010-11-16 15:34:19.000000000 +0200
-+++ MDB2_TableBrowser-0.1.2/usr/share/pear/MDB2/TableBrowser/Single.php 2010-11-16 15:36:10.731923492 +0200
-@@ -12,13 +12,13 @@
- * @version SVN:<svn_id>
- * @link http://code.google.com/p/mdb2tablebrowser/source/browse/trunk/MDB2_TableBrowser/TableBrowser/DBException.php
- */
--require_once 'Interfaces.php';
--require_once 'ParameterException.php';
--require_once 'DBException.php';
--require_once 'TableValidator.php';
--require_once 'FilterManager.php';
--require_once 'ColumnManager.php';
--require_once 'MultipleFliterManager.php';
-+require_once 'MDB2/TableBrowser/Interfaces.php';
-+require_once 'MDB2/TableBrowser/ParameterException.php';
-+require_once 'MDB2/TableBrowser/DBException.php';
-+require_once 'MDB2/TableBrowser/TableValidator.php';
-+require_once 'MDB2/TableBrowser/FilterManager.php';
-+require_once 'MDB2/TableBrowser/ColumnManager.php';
-+require_once 'MDB2/TableBrowser/MultipleFliterManager.php';
-
-
- /**
---- MDB2_TableBrowser-0.1.2/usr/share/pear/MDB2/TableBrowser/FilterManager.php~ 2010-11-16 15:36:47.000000000 +0200
-+++ MDB2_TableBrowser-0.1.2/usr/share/pear/MDB2/TableBrowser/FilterManager.php 2010-11-16 15:37:46.034316377 +0200
-@@ -13,9 +13,9 @@
- * @link http://code.google.com/p/mdb2tablebrowser/source/browse/trunk/MDB2_TableBrowser/TableBrowser/FilterManager.php
- */
-
--require_once 'Interfaces.php';
-+require_once 'MDB2/TableBrowser/Interfaces.php';
- require_once 'MDB2.php';
--require_once 'DBException.php';
-+require_once 'MDB2/TableBrowser/DBException.php';
-
- /**
- * This class implements the whereClauseGenerator interface
---- MDB2_TableBrowser-0.1.2/usr/share/pear/MDB2/TableBrowser/MultipleFliterManager.php~ 2010-11-16 15:36:47.000000000 +0200
-+++ MDB2_TableBrowser-0.1.2/usr/share/pear/MDB2/TableBrowser/MultipleFliterManager.php 2010-11-16 15:38:16.109279189 +0200
-@@ -13,10 +13,10 @@
- * @link http://code.google.com/p/mdb2tablebrowser/source/browse/trunk/MDB2_TableBrowser/TableBrowser/FilterManager.php
- */
-
--require_once 'Interfaces.php';
-+require_once 'MDB2/TableBrowser/Interfaces.php';
- require_once 'MDB2.php';
--require_once 'DBException.php';
--require_once 'FilterManager.php';
-+require_once 'MDB2/TableBrowser/DBException.php';
-+require_once 'MDB2/TableBrowser/FilterManager.php';
-
- /**
- * This class implements the MDB2_TableBrowser_InterfaceMultipleWhereClauseGenerator interface
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-MDB2_TableBrowser.git/commitdiff/fb9053710151b0d9d00b6755448f356e4f386ea1
More information about the pld-cvs-commit
mailing list