[packages/raft] - pl, updated dependencies, drop .la file - package apidocs - release 2
qboosh
qboosh at pld-linux.org
Tue Jan 5 17:30:52 CET 2021
commit ffa54267eaf4170f5435778f953bbe040845d819
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jan 5 17:30:49 2021 +0100
- pl, updated dependencies, drop .la file
- package apidocs
- release 2
raft.spec | 69 ++++++++++++++++++++++++++++++++++++++++++++++++---------------
1 file changed, 53 insertions(+), 16 deletions(-)
---
diff --git a/raft.spec b/raft.spec
index 77b9352..37cbdaa 100644
--- a/raft.spec
+++ b/raft.spec
@@ -1,16 +1,21 @@
Summary: Raft consensus protocol library
+Summary(pl.UTF-8): Biblioteka protokołu consensusu Raft
Name: raft
Version: 0.9.25
-Release: 1
-License: LGPLv3
+Release: 2
+License: LGPL v3 with exception
Group: Libraries
+#Source0Download: https://github.com/canonical/raft/releases
Source0: https://github.com/canonical/raft/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 2da527e4d935d94b84a7e6c0487c7f00
URL: https://github.com/canonical/raft
-BuildRequires: autoconf >= 2.50
+BuildRequires: autoconf >= 2.60
BuildRequires: automake
-BuildRequires: libtool
-BuildRequires: libuv-devel
+BuildRequires: libtool >= 2:2
+BuildRequires: libuv-devel >= 1.8.0
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.752
+Requires: libuv >= 1.8.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -22,23 +27,50 @@ that, a pluggable interface defines the I/O implementation for
networking (send/receive RPC messages) and disk persistence (store log
entries and snapshots).
+%description -l pl.UTF-8
+W pełni asynchroniczna implementacja w C protokołu consensusu Raft.
+
+Biblioteka jest zaprojektowana modułowo: główna część implementuje
+tylko podstawową logikę algorytmu Raft w sposób w pełni niezależny od
+platformy. Powyżej niej rozszerzalny interfejs definiuje implementację
+we/wy warstwy sieciowej (wysyłanie/odbiór komunikatów RPC) oraz
+przechowywanie na dysku (zapisywanie wpisów logu oraz migawek).
+
%package devel
-Summary: Header files for %{name} development
-Summary(pl.UTF-8): Pliki nagłówkowe %{name}
+Summary: Header files for Raft library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Raft
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
-This package contains development files for the %{name} library.
+This package contains development files for the Raft library.
+
+%description devel -l pl.UTF-8
+Ten pakiet zawiera biblioteki nagłówkowe biblioteki Raft.
%package static
-Summary: Static libraries for %{name} development
-Summary(pl.UTF-8): Statyczne biblioteki %{name}
+Summary: Static libraries for Raft library
+Summary(pl.UTF-8): Statyczne biblioteki Raft
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
-This package contains static %{name} library.
+This package contains static Raft library.
+
+%description static -l pl.UTF-8
+Ten pakiet zawiera statyczną bibliotekę Raft.
+
+%package apidocs
+Summary: API documentation for Raft library
+Summary(pl.UTF-8): Dokumentacja API biblioteki Raft
+Group: Documentation
+%{?noarchpackage}
+
+%description apidocs
+API documentation for Raft library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki Raft.
%prep
%setup -q
@@ -48,9 +80,9 @@ This package contains static %{name} library.
%{__aclocal}
%{__autoconf}
%{__automake}
-
%configure \
--disable-silent-rules
+
%{__make}
%install
@@ -59,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libraft.la
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -67,19 +102,21 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README.md
+%doc AUTHORS LICENSE README.md
%attr(755,root,root) %{_libdir}/libraft.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libraft.so.0
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libraft.so
-%{_libdir}/libraft.la
%{_includedir}/raft.h
-%dir %{_includedir}/raft
-%{_includedir}/raft/*.h
+%{_includedir}/raft
%{_pkgconfigdir}/raft.pc
%files static
%defattr(644,root,root,755)
%{_libdir}/libraft.a
+
+%files apidocs
+%defattr(644,root,root,755)
+%doc docs/build/{_static,*.html,*.js}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/raft.git/commitdiff/ffa54267eaf4170f5435778f953bbe040845d819
More information about the pld-cvs-commit
mailing list