[packages/virtualpg] - updated to 2.0.1
qboosh
qboosh at pld-linux.org
Tue Jan 24 19:13:45 CET 2023
commit 4587fc3e640bf33695ad421bce9d8e132559f58c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jan 24 19:15:02 2023 +0100
- updated to 2.0.1
virtualpg.spec | 45 +++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 43 insertions(+), 2 deletions(-)
---
diff --git a/virtualpg.spec b/virtualpg.spec
index d61a654..b906146 100644
--- a/virtualpg.spec
+++ b/virtualpg.spec
@@ -1,12 +1,12 @@
Summary: VirtualPostgres driver for SQLite DBMS
Summary(pl.UTF-8): Sterownik VirtualPostgres dla systemu baz danych SQLite
Name: virtualpg
-Version: 1.0.1
+Version: 2.0.1
Release: 1
License: MPL v1.1 or GPL v2+ or LGPL v2.1+
Group: Libraries
Source0: http://www.gaia-gis.it/gaia-sins/virtualpg-sources/%{name}-%{version}.tar.gz
-# Source0-md5: 17a02d93e6a089083cb884553c90a7c8
+# Source0-md5: c90fc631ba99a64a6f225b31172d6b5d
URL: https://www.gaia-gis.it/fossil/virtualpg
BuildRequires: postgresql-devel
BuildRequires: sqlite3-devel >= 3
@@ -24,6 +24,31 @@ Implementuje sterownik VirtualPostgres, pozwalający bezpośrednio
wymieniać dane między bazami SQLite a PostgreSQL; jeśli dostępne jest
SpatiaLite, można wymieniać także geometrie PostGIS-a.
+%package devel
+Summary: Header file for VirtualPG library
+Summary(pl.UTF-8): Plik nagłówkowy biblioteki VirtualPG
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: postgresql-devel
+
+%description devel
+Header file for VirtualPG library.
+
+%description devel -l pl.UTF-8
+Plik nagłówkowy biblioteki VirtualPG.
+
+%package static
+Summary: Static VirtualPG library
+Summary(pl.UTF-8): Statyczna biblioteka VirtualPG
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static VirtualPG library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka VirtualPG.
+
%prep
%setup -q
@@ -38,12 +63,28 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libvirtualpg.la
%{__rm} $RPM_BUILD_ROOT%{_libdir}/mod_virtualpg.la
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%doc AUTHORS README
+%attr(755,root,root) %{_libdir}/libvirtualpg.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libvirtualpg.so.0
%attr(755,root,root) %{_libdir}/mod_virtualpg.so*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libvirtualpg.so
+%{_includedir}/virtualpg.h
+%{_pkgconfigdir}/virtualpg.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libvirtualpg.a
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/virtualpg.git/commitdiff/4587fc3e640bf33695ad421bce9d8e132559f58c
More information about the pld-cvs-commit
mailing list