diff --git a/lilv.spec b/lilv.spec index ed1d7e0..64d8e90 100644 --- a/lilv.spec +++ b/lilv.spec @@ -3,7 +3,7 @@ Name: lilv Version: 0.24.12 -Release: 1%{?dist} +Release: 2%{?dist} Summary: An LV2 Resource Description Framework Library License: MIT @@ -37,9 +37,18 @@ Requires: lv2 >= 1.18.0 for applications. Lilv is the successor to SLV2, rewritten to be significantly faster and have minimal dependencies. +%package libs +Summary: Libraries for %{name} + +%description libs +%{name} is a lightweight C library for Resource Description Syntax which +supports reading and writing Turtle and NTriples. + +This package contains the libraries for %{name}. + %package devel Summary: Development libraries and headers for %{name} -Requires: %{name}%{_isa} = %{version}-%{release} +Requires: %{name}-libs%{_isa} = %{version}-%{release} %description devel %{name} is a lightweight C library for Resource Description Syntax which @@ -50,7 +59,7 @@ This package contains the headers and development libraries for %{name}. %package -n python3-%{name} %{?python_provide:%python_provide python3-%{name}} Summary: Python bindings for %{name} -Requires: %{name}%{_isa} = %{version}-%{release} +Requires: %{name}-libs%{_isa} = %{version}-%{release} %description -n python3-%{name} %{name} is a lightweight C library for Resource Description Syntax which @@ -83,10 +92,7 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.* %{python3} waf test %files -%doc AUTHORS NEWS README.md -%license COPYING %exclude %{_pkgdocdir}/%{name}-%{maj}/ -%{_libdir}/lib%{name}-%{maj}.so.* %{_bindir}/lilv-bench %{_bindir}/lv2info %{_bindir}/lv2ls @@ -95,6 +101,11 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.* %{_sysconfdir}/bash_completion.d/lilv %{_mandir}/man1/* +%files libs +%doc AUTHORS NEWS README.md +%license COPYING +%{_libdir}/lib%{name}-%{maj}.so.* + %files devel %{_libdir}/lib%{name}-%{maj}.so %{_libdir}/pkgconfig/%{name}-%{maj}.pc @@ -106,6 +117,9 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.* %{python3_sitelib}/__pycache__/* %changelog +* Mon Jan 10 2022 Adam Williamson - 0.24.12-2 +- Split library into a separate package (#2032115) + * Fri Nov 26 2021 Guido Aulisi - 0.24.12-1 - Update to 0.24.12