diff options
author | Jakub Bogusz | 2012-12-15 13:22:04 (GMT) |
---|---|---|
committer | Jakub Bogusz | 2012-12-15 13:22:04 (GMT) |
commit | 10189f1ac694ec5b633c5a6d5766a3e64925cb97 (patch) | |
tree | 33c4ca40686601d7261a001a087bc595f957792d | |
download | postgresql-module-pldebugger-master.zip postgresql-module-pldebugger-master.tar.gz |
-rw-r--r-- | postgresql-module-pldebugger.spec | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/postgresql-module-pldebugger.spec b/postgresql-module-pldebugger.spec new file mode 100644 index 0000000..4233909 --- /dev/null +++ b/postgresql-module-pldebugger.spec @@ -0,0 +1,60 @@ +Summary: PL/pgSQL debugger server-side code +Summary(pl.UTF-8): Debugger PL/pgSQL - kod działający po stronie serwera +Name: postgresql-module-pldebugger +%define snap 20121215 +# version from pldbgapi.control - is it OK? +Version: 1.0 +Release: 0.%{snap}.1 +License: Artistic +Group: Applications/Databases +# git clone git://git.postgresql.org/git/pldebugger.git +# (master was equal to AS92_UPD-REL-9_2_2_4 tag) +Source0: pldebugger.tar.xz +# Source0-md5: 4a3e881076df1844dc2d5c7f7dffbcc0 +URL: http://git.postgresql.org/gitweb/?p=pldebugger.git +BuildRequires: postgresql-backend-devel >= 9.2 +BuildRequires: tar >= 1:1.22 +BuildRequires: xz +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module is a shared library which implements an API for debugging +PL/pgSQL functions on PostgreSQL 8.4 and above. The pgAdmin III +project (http://www.pgadmin.org/) provides a client user interface as +part of pgAdmin III v1.10.0 and above. + +%description -l pl.UTF-8 +Ten moduł to biblioteka współdzielona implementująca API dla funkcji +diagnostycznych PL/pgSQL serwera PostgreSQL w wersji 8.4 i nowszych. +Projekt pgAdmin III (http://www.pgadmin.org/) udostępnia interfejs +kliencki jako część pgAdmina III w wersji 1.10.0 i nowszych. + +%prep +%setup -q -n pldebugger + +%build +%{__make} \ + USE_PGXS=1 \ + CC="%{__cc}" \ + CUSTOM_COPT="%{rpmcflags}" + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + USE_PGXS=1 + +# packaged as %doc +%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/postgresql + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README.pldebugger +%attr(755,root,root) %{_libdir}/postgresql/plugin_debugger.so +%{_datadir}/postgresql/extension/pldbgapi--1.0.sql +%{_datadir}/postgresql/extension/pldbgapi--unpackaged--1.0.sql +%{_datadir}/postgresql/extension/pldbgapi.control |