]> git.pld-linux.org Git - packages/dqlite.git/commitdiff
- pl, updated dependencies, drop .la file; release 2 auto/th/dqlite-1.6.0-2
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 5 Jan 2021 19:52:28 +0000 (20:52 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 5 Jan 2021 19:52:28 +0000 (20:52 +0100)
dqlite.spec

index 38b24d5ccd8853c4e3998fa1565c8057197d1bec..0aff8c4cf85d24416e3b3d0b18b017674e8aa694 100644 (file)
@@ -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
 
This page took 0.122973 seconds and 4 git commands to generate.