[packages/dqlite] - pl, updated dependencies, drop .la file; release 2

qboosh qboosh at pld-linux.org
Tue Jan 5 20:52:33 CET 2021


commit 9e21e1725a8031ffabdb53d6dfc1c1e5a7f956c1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 5 20:52:28 2021 +0100

    - pl, updated dependencies, drop .la file; release 2

 dqlite.spec | 64 ++++++++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 42 insertions(+), 22 deletions(-)
---
diff --git a/dqlite.spec b/dqlite.spec
index 38b24d5..0aff8c4 100644
--- a/dqlite.spec
+++ b/dqlite.spec
@@ -1,56 +1,74 @@
-Summary:	dqlite library
-Summary(pl.UTF-8):	Biblioteka dqlite
+Summary:	dqlite library - distributed SQLite engine
+Summary(pl.UTF-8):	Biblioteka dqlite - rozproszony silnik SQLite
 Name:		dqlite
 Version:	1.6.0
-Release:	1
-License:	LGPLv3
+Release:	2
+License:	LGPL v3 with exception
 Group:		Libraries
+#Source0Download: https://github.com/canonical/dqlite/releases
 Source0:	https://github.com/canonical/dqlite/archive/v%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	f5735eabb1f7176351d8bafd3bb9a055
 URL:		https://github.com/canonical/dqlite
-BuildRequires:	autoconf >= 2.50
-BuildRequires:	automake
-BuildRequires:	libtool
+BuildRequires:	autoconf >= 2.60
+BuildRequires:	automake >= 1:1.11
+BuildRequires:	libtool >= 2:2
+BuildRequires:	libuv-devel >= 1.8.0
+BuildRequires:	pkgconfig
 BuildRequires:	raft-devel >= 0.9.25
-BuildRequires:	sqlite3-devel
-Requires:	sqlite3
+BuildRequires:	sqlite3-devel >= 3.22.0
+Requires:	libuv >= 1.8.0
+Requires:	raft >= 0.9.25
+Requires:	sqlite3 >= 3.22.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This repository provides the dqlite C library (libdqlite), which can
-be used to expose a %{name} database over the network and replicate it
+This package provides the dqlite C library (libdqlite), which can be
+used to expose a dqlite database over the network and replicate it
 across a cluster of peers, using the Raft algorithm.
 
+%description -l pl.UTF-8
+Ten pakiet zawiera bibliotekę C dqlite (libdqlite), którą można
+wykorzystywać do udostępnienia bazy danych dqlite przez sieć i
+replikować ją na klaster partnerów przy użyciu algorytmu Raft.
+
 %package devel
-Summary:	Header files for %{name} development
-Summary(pl.UTF-8):	Pliki nagłówkowe %{name}
+Summary:	Header files for dqlite development
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki dqlite
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	sqlite3-devel
+Requires:	libuv-devel >= 1.8.0
+Requires:	raft-devel >= 0.9.25
+Requires:	sqlite3-devel>= 3.22.0
 
 %description devel
-This package contains development files for the %{name} library.
+This package contains development files for the dqlite library.
+
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe biblioteki dqlite.
 
 %package static
-Summary:	Static libraries for %{name} development
-Summary(pl.UTF-8):	Statyczne biblioteki %{name}
+Summary:	Static dqlite library
+Summary(pl.UTF-8):	Statyczna biblioteka dqlite
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
-This package contains static %{name} library.
+This package contains static dqlite library.
+
+%description static -l pl.UTF-8
+Ten pakiet zawiera bibliotekę statyczną dqlite.
 
 %prep
 %setup -q
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
-
 %configure \
 	--disable-silent-rules
+
 %{__make}
 
 %install
@@ -59,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libdqlite.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -67,14 +88,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.md
+%doc AUTHORS LICENSE README.md
 %attr(755,root,root) %{_libdir}/libdqlite.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libdqlite.so.0
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libdqlite.so
-%{_libdir}/libdqlite.la
 %{_includedir}/dqlite.h
 %{_pkgconfigdir}/dqlite.pc
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dqlite.git/commitdiff/9e21e1725a8031ffabdb53d6dfc1c1e5a7f956c1



More information about the pld-cvs-commit mailing list