[packages/libdjinterop] Up to 0.27.1
arekm
arekm at pld-linux.org
Thu Nov 26 08:47:19 CET 2026
commit eb48522063e7a6d70e4c3d556d44e1b79746e3b7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 26 01:40:03 2026 +0100
Up to 0.27.1
libdjinterop.spec | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/libdjinterop.spec b/libdjinterop.spec
index a8eeb28..c3af05d 100644
--- a/libdjinterop.spec
+++ b/libdjinterop.spec
@@ -1,16 +1,22 @@
+#
+# Conditional build:
+%bcond_without tests # unit tests
+#
Summary: C++ library providing access to DJ record libraries
Summary(pl.UTF-8): Biblioteka C++ zapewniająca dostęp do bibliotek płyt dla DJ-ów
Name: libdjinterop
-Version: 0.26.1
+Version: 0.27.1
Release: 1
License: LGPL v3+
Group: Libraries
#Source0Download: https://github.com/xsco/libdjinterop/tags
Source0: https://github.com/xsco/libdjinterop/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 66159683690bc3ed12314ee23d10aa7e
+# Source0-md5: 1d855bee5905ab57ca180710a5fb42fb
Patch0: %{name}-cmake.patch
URL: https://github.com/xsco/libdjinterop
-BuildRequires: boost-devel >= 1.65.1
+%if %{with tests}
+BuildRequires: boost-devel >= 1.71.0
+%endif
BuildRequires: cmake >= 3.10
# C++17
BuildRequires: libstdc++-devel >= 6:7
@@ -60,6 +66,10 @@ cd build
%{__make}
+%if %{with tests}
+%{__make} test
+%endif
+
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libdjinterop.git/commitdiff/eb48522063e7a6d70e4c3d556d44e1b79746e3b7
More information about the pld-cvs-commit
mailing list