[packages/codec2] - updated to 1.2.0 (new soname)
qboosh
qboosh at pld-linux.org
Fri Feb 16 17:25:24 CET 2024
commit ae39a1f4a86d4d1958ee981dd2e8546116c40b56
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Feb 16 16:53:49 2024 +0100
- updated to 1.2.0 (new soname)
codec2.spec | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/codec2.spec b/codec2.spec
index 8212183..0d73873 100644
--- a/codec2.spec
+++ b/codec2.spec
@@ -6,15 +6,15 @@
Summary: Speech codec for 2400 bit/s and below
Summary(pl.UTF-8): Kodek mowy do przesyłania danych 2400 bitów/s i poniżej
Name: codec2
-Version: 1.0.5
+Version: 1.2.0
Release: 1
License: LGPL v2.1
Group: Libraries
#Source0Download: https://github.com/drowe67/codec2/releases
-Source0: https://github.com/drowe67/codec2/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 16a09b210409bad137c91bb18eb7cb92
+Source0: https://github.com/drowe67/codec2/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 8186452c6d3cfc89cc6c880a6a7130d0
URL: http://rowetel.com/codec2.html
-BuildRequires: cmake >= 3.0
+BuildRequires: cmake >= 3.13
%{?with_lpcnet:BuildRequires: lpcnetfreedv-devel >= 0.3}
%if %{with tests}
BuildRequires: libsamplerate-devel
@@ -62,15 +62,13 @@ Narzędzia do kodowania i dekodowania w formacie Codec 2.
%setup -q
%build
-install -d build
-cd build
-%cmake .. \
+%cmake -B build \
-DCMAKE_INSTALL_INCLUDEDIR=include \
-DCMAKE_INSTALL_LIBDIR=%{_lib} \
%{?with_lpcnet:-DLPCNET=ON} \
%{!?with_tests:-DUNITTEST=OFF}
-%{__make}
+%{__make} -C build
%install
rm -rf $RPM_BUILD_ROOT
@@ -90,7 +88,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README*
-%attr(755,root,root) %{_libdir}/libcodec2.so.1.0
+%attr(755,root,root) %{_libdir}/libcodec2.so.1.2
%files devel
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/codec2.git/commitdiff/ae39a1f4a86d4d1958ee981dd2e8546116c40b56
More information about the pld-cvs-commit
mailing list