[packages/libdjinterop] - new

qboosh qboosh at pld-linux.org
Sat Sep 28 20:58:40 CEST 2024


commit 96a4a1102a89de6e4b095a731f504f82cb071e55
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 28 21:01:40 2024 +0200

    - new

 libdjinterop.spec | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)
---
diff --git a/libdjinterop.spec b/libdjinterop.spec
new file mode 100644
index 0000000..2cbb3ad
--- /dev/null
+++ b/libdjinterop.spec
@@ -0,0 +1,84 @@
+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.21.0
+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:	1b9fb484069230302a2beeeb42867a45
+URL:		https://github.com/xsco/libdjinterop
+BuildRequires:	boost-devel >= 1.65.1
+BuildRequires:	cmake >= 3.10
+# C++17
+BuildRequires:	libstdc++-devel >= 6:7
+BuildRequires:	rpmbuild(macros) >= 1.605
+BuildRequires:	sqlite3-devel >= 3.11
+BuildRequires:	zlib-devel >= 1.2.8
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libdjinterop is a C++ library that allows access to database formats
+used to store information about DJ record libraries.
+
+This library currently supports:
+- Engine Library, as used on "Prime"-series DJ equipment.
+
+%description -l pl.UTF-8
+libdjinterop to biblioteka C++ umożliwiająca dostęp do formatów baz
+danych używanych do przechowywania informacji o bibliotekach płyt dla
+DJ-ów.
+
+Biblioteka obecnie obsługuje:
+- bibliotekę Engine, używaną przez sprzęt DJ z serii Prime.
+
+%package devel
+Summary:	Header files for DjInterop library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki DjInterop
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	libstdc++-devel >= 6:7
+Requires:	sqlite3-devel >= 3.11
+Requires:	zlib-devel >= 1.2.8
+
+%description devel
+Header files for DjInterop library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki DjInterop.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake ..
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_libdir}/libdjinterop.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libdjinterop.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libdjinterop.so
+%{_includedir}/djinterop
+%{_pkgconfigdir}/djinterop.pc
+%{_libdir}/cmake/DjInterop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libdjinterop.git/commitdiff/96a4a1102a89de6e4b095a731f504f82cb071e55



More information about the pld-cvs-commit mailing list