]> git.pld-linux.org Git - SPECS.git/blob - postgresql-module-plphp.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / postgresql-module-plphp.spec
1 # TODO:
2 # - it seems that it requires static php library??
3 #   http://lists.commandprompt.com/pipermail/plphp/Week-of-Mon-20070326/000395.html
4 %define         _pgpl_lang              plphp
5 %define         _pgmoduledir            %{_libdir}/postgresql
6
7 Summary:        PL/PHP - PostgreSQL procedural language
8 Summary(pl.UTF-8):      PL/PHP - język proceduralny bazy danych PostgreSQL
9 Name:           postgresql-module-%{_pgpl_lang}
10 Version:        1.3.3
11 Release:        0.1
12 Epoch:          1
13 License:        BSD
14 Group:          Applications/Databases
15 Source0:        http://projects.commandprompt.com/public/plphp/attachment/wiki/Downloads/%{_pgpl_lang}-%{version}.tar.gz?format=raw
16 # Source0-md5:  54da4a6118a9294e7681c1aac712ecfa
17 Patch0:         %{name}-nophp_test.patch
18 #Patch1:                %{name}-tsrm.patch
19 URL:            http://projects.commandprompt.com/public/plphp/
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  php-devel
23 BuildRequires:  postgresql-backend-devel
24 %requires_eq_to postgresql postgresql-backend-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 PL/PHP - PostgreSQL procedural language.
29
30 %description -l pl.UTF-8
31 PL/PHP - język proceduralny bazy danych PostgreSQL.
32
33 %prep
34 %setup -q -n %{_pgpl_lang}-%{version}
35 %patch0 -p1
36 #%patch1 -p1
37
38 %build
39 %{__aclocal}
40 %{__autoconf}
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc sql/*
56 %attr(755,root,root) %{_pgmoduledir}/*.so
This page took 0.322178 seconds and 3 git commands to generate.