diff --git a/taglib.spec b/taglib.spec index a5c4d8354d1ffd8e8c4bc89e33734e028cf9e6d0..50ae86b81e23e175c6bfbea1c76f1270d8d7a8b4 100644 --- a/taglib.spec +++ b/taglib.spec @@ -1,8 +1,8 @@ Name: taglib Summary: Audio Meta-Data Library Version: 1.13.1 -Release: 1 -License: LGPLv2 or MPLv1.1 +Release: 2 +License: (LGPL-2.1-only OR MPL-1.1) AND BSD-2-Clause AND LGPL-2.1-only URL: https://taglib.org/ Source0: https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -27,42 +27,33 @@ Files needed when building software with %{name}. %autosetup -n %{name}-%{version} -p1 %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake} .. -DCMAKE_BUILD_TYPE:STRING="Release" -popd +%{cmake} -DCMAKE_BUILD_TYPE:STRING="Release" -%make_build -C %{_target_platform} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} - -%check -export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig -test "$(pkg-config --modversion taglib)" = "%{version}" -test "$(pkg-config --modversion taglib_c)" = "%{version}" - -%ldconfig_scriptlets +%cmake_install %files -%defattr(-,root,root) %doc AUTHORS %license COPYING.LGPL COPYING.MPL %{_libdir}/libtag*.so.* %files devel -%defattr(-,root,root) %{_bindir}/%{name}-config %{_includedir}/%{name}/ %{_libdir}/libtag*.so %{_libdir}/pkgconfig/taglib*.pc %files help -%defattr(-,root,root) %doc NEWS examples %changelog +* Wed Nov 20 2024 Funda Wang - 1.13.1-2 +- adopt to new cmake macro +- cleanup spec + * Tue Aug 01 2023 wangqia - 1.13.1-1 - update to 1.13.1 diff --git a/taglib.yaml b/taglib.yaml index d8bfaf86ea70ed46a8f6fa61c053def308df1ab1..0e9bb4cccb2e3317ba7e6ce9b83ee39c27132956 100644 --- a/taglib.yaml +++ b/taglib.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: taglib/taglib tag_prefix: ^v -seperator: . +separator: .