]> git.pld-linux.org Git - packages/php-pear-MDB2_Driver_sqlite3.git/blob - php-pear-MDB2_Driver_sqlite3.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-MDB2_Driver_sqlite3.git] / php-pear-MDB2_Driver_sqlite3.spec
1 %define         status          beta
2 %define         pearname        MDB2_Driver_sqlite3
3 Summary:        %{pearname} - sqlite MDB2 driver
4 Summary(pl.UTF-8):      %{pearname} - sterownik sqlite dla MDB2
5 Name:           php-pear-%{pearname}
6 Version:        0.1
7 Release:        1
8 License:        BSD License
9 Group:          Development/Languages/PHP
10 Source0:        MDB2_Driver_sqlite3.tar.bz2
11 # Source0-md5:  1db962da9d548c5506d6ec598b1e737e
12 #URL:           https://github.com/owncloud/core/tree/master/lib/MDB2/Driver
13 URL:            http://thread.gmane.org/gmane.comp.php.pear.devel/50535
14 BuildRequires:  php-pear-PEAR >= 1:1.9.1
15 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
16 BuildRequires:  rpmbuild(macros) >= 1.300
17 BuildRequires:  sed >= 4.0
18 Requires:       php(core) >= 4.3.0
19 Requires:       php(sqlite3)
20 Requires:       php-pear
21 Requires:       php-pear-MDB2 >= 1:2.5.0-0.b4
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This is the SQLite3 MDB2 driver.
27
28 In PEAR status of this package is: %{status}.
29
30 %description -l pl.UTF-8
31 Sterownik SQLite3 dla MDB2.
32
33 Ta klasa ma w PEAR status: %{status}.
34
35 %prep
36 %setup -c
37 grep -rl PEAR::isError . | xargs sed -i -e 's,PEAR::isError,MDB2::isError,'
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{php_pear_dir}/MDB2/Driver
42 cp -a %{pearname}/* $RPM_BUILD_ROOT%{php_pear_dir}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 #%doc install.log
50 #%{php_pear_dir}/.registry/*.reg
51 %{php_pear_dir}/MDB2/Driver/Datatype/sqlite3.php
52 %{php_pear_dir}/MDB2/Driver/Manager/sqlite3.php
53 %{php_pear_dir}/MDB2/Driver/Native/sqlite3.php
54 %{php_pear_dir}/MDB2/Driver/Reverse/sqlite3.php
55 %{php_pear_dir}/MDB2/Driver/Function/sqlite3.php
56 %{php_pear_dir}/MDB2/Driver/sqlite3.php
This page took 0.182091 seconds and 3 git commands to generate.