]> git.pld-linux.org Git - SPECS.git/blob - virtualpg.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / virtualpg.spec
1 Summary:        VirtualPostgres driver for SQLite DBMS
2 Summary(pl.UTF-8):      Sterownik VirtualPostgres dla systemu baz danych SQLite
3 Name:           virtualpg
4 Version:        1.0.1
5 Release:        1
6 License:        MPL v1.1 or GPL v2+ or LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://www.gaia-gis.it/gaia-sins/virtualpg-sources/%{name}-%{version}.tar.gz
9 # Source0-md5:  17a02d93e6a089083cb884553c90a7c8
10 URL:            https://www.gaia-gis.it/fossil/virtualpg
11 BuildRequires:  postgresql-devel
12 BuildRequires:  sqlite3-devel >= 3
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 virtualpg is a dynamic extension for the SQLite DBMS. It implements
17 the VirtualPostgres driver, allowing to directly exchange data between
18 SQLite and PostgreSQL; if SpatiaLite is available even PostGIS
19 geometries can ben exchanged from one Spatial DBMS and the other.
20
21 %description -l pl.UTF-8
22 virtualpg to dynamiczne rozszerzenie dla systemu baz danych SQLite.
23 Implementuje sterownik VirtualPostgres, pozwalający bezpośrednio
24 wymieniać dane między bazami SQLite a PostgreSQL; jeśli dostępne jest
25 SpatiaLite, można wymieniać także geometrie PostGIS-a.
26
27 %prep
28 %setup -q
29
30 %build
31 %configure
32
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make} install \
39         DESTDIR=$RPM_BUILD_ROOT
40
41 %{__rm} $RPM_BUILD_ROOT%{_libdir}/mod_virtualpg.la
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc AUTHORS README
49 %attr(755,root,root) %{_libdir}/mod_virtualpg.so*
This page took 0.040528 seconds and 3 git commands to generate.