fixed name of libkcddb5 subpackages [release 24.02.1-2mamba;Tue Mar 26 2024]

This commit is contained in:
Silvan Calarco 2024-03-29 18:54:06 +01:00
parent f93504ebf6
commit 2528509f89

View File

@ -1,24 +1,37 @@
Name: libkcddb Name: libkcddb
Version: 23.08.5 Version: 24.02.1
Release: 1mamba Release: 2mamba
Summary: KDE CDDB library Summary: KDE CDDB library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/ URL: https://kde.org/
Source: http://download.kde.org/stable/release-service/%{version}/src/libkcddb-%{version}.tar.xz Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/libkcddb-%{version}.tar.xz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libkauth-devel BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel BuildRequires: libkcoreaddons-devel
BuildRequires: libkf6-kcmutils-devel
BuildRequires: libkf6-kcolorscheme-devel
BuildRequires: libkf6-kcompletion-devel
BuildRequires: libkf6-kconfig-devel
BuildRequires: libkf6-kconfigwidgets-devel
BuildRequires: libkf6-kcoreaddons-devel
BuildRequires: libkf6-ki18n-devel
BuildRequires: libkf6-kio-devel
BuildRequires: libkf6-kjobwidgets-devel
BuildRequires: libkf6-kservice-devel
BuildRequires: libkf6-kwidgetsaddons-devel
BuildRequires: libkf6-solid-devel
BuildRequires: libki18n-devel BuildRequires: libki18n-devel
BuildRequires: libkio-devel BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel BuildRequires: libkjobwidgets-devel
@ -29,6 +42,9 @@ BuildRequires: libmusicbrainz-devel
BuildRequires: libsolid-devel BuildRequires: libsolid-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qt5compat-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtdeclarative-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libmusicbrainz-devel >= 5.1.0 BuildRequires: libmusicbrainz-devel >= 5.1.0
Obsoletes: libkdemultimedia < 21.04.0 Obsoletes: libkdemultimedia < 21.04.0
@ -39,8 +55,8 @@ BuildRequires: cmake
KDE CDDB library. KDE CDDB library.
%package devel %package devel
Group: Development/Libraries
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: libkdemultimedia-devel < 21.04.0 Obsoletes: libkdemultimedia-devel < 21.04.0
Obsoletes: libkcddb4-devel < 21.04.0 Obsoletes: libkcddb4-devel < 21.04.0
@ -48,20 +64,47 @@ Obsoletes: libkcddb4-devel < 21.04.0
%description devel %description devel
This package contains libraries and header files for developing applications that use %{name}. This package contains libraries and header files for developing applications that use %{name}.
%package -n %{name}5
Summary: KDE CDDB library
Group: System/Libraries
Provides: libkcddb-libkcddb5
Obsoletes: libkcddb-libkcddb5 < 24.02.1-2mamba
%description -n %{name}5
KDE CDDB library.
%package -n %{name}5-devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}5 = %{?epoch:%epoch:}%{version}-%{release}
Provides: libkcddb-libkcddb5-devel
Obsoletes: libkcddb-libkcddb5-devel < 24.02.1-2mamba
%description -n %{name}5-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package %debug_package
%prep %prep
%setup -q %setup -q
%build %build
%cmake_kde5 -d build %cmake_kf6 \
-DQT_MAJOR_VERSION=6
%cmake_build
%cmake -d build5
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build5
%find_lang %{name}5_qt --with-qt --with-html --all-name || touch %{name}5_qt.lang %cmake_install
%find_lang %{name} --with-qt --with-html --all-name || touch %{name}.lang
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -69,32 +112,66 @@ This package contains libraries and header files for developing applications tha
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files -f %{name}5_qt.lang %post -n %{name}5 -p /sbin/ldconfig
%postun -n %{name}5 -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_kde5_libdir}/libKF5Cddb.so.* %{_libdir}/libKCddb6.so.*
%{_libdir}/qt5/plugins/plasma/kcms/systemsettings_qwidgets/kcm_cddb.so %{_libdir}/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_cddb.so
%{_datadir}/applications/kcm_cddb.desktop %{_datadir}/applications/kcm_cddb.desktop
%{_datadir}/config.kcfg/libkcddb5.kcfg %{_datadir}/config.kcfg/libkcddb5.kcfg
%{_datadir}/qlogging-categories5/libkcddb.categories %{_datadir}/qlogging-categories6/libkcddb.categories
%doc LICENSES %doc LICENSES
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/KCddb6
%dir %{_includedir}/KCddb6/KCDDB
%{_includedir}/KCddb6/KCDDB/*
%dir %{_includedir}/KCddb6/kcddb
%{_includedir}/KCddb6/kcddb/*
%{_includedir}/KCddb6/kcddb_version.h
%{_libdir}/libKCddb6.so
%dir %{_libdir}/cmake/KCddb6
%{_libdir}/cmake/KCddb6/KCddb6*.cmake
%{_qt6_archdatadir}/mkspecs/modules/qt_KCddb.pri
%files -n %{name}5
%defattr(-,root,root)
%{_kde5_libdir}/libKF5Cddb.so.*
%{_qt5_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_cddb.so
%doc LICENSES
%files -n %{name}5-devel
%defattr(-,root,root)
%dir %{_includedir}/KCddb5
%{_includedir}/KCddb5/*
%dir %{_kde5_includedir}/KCddb %dir %{_kde5_includedir}/KCddb
%{_kde5_includedir}/KCddb/* %{_kde5_includedir}/KCddb/*
%dir %{_includedir}/KCddb5
%dir %{_includedir}/KCddb5/KCDDB
%{_includedir}/KCddb5/KCDDB/*
%dir %{_includedir}/KCddb5/kcddb
%{_includedir}/KCddb5/kcddb/*
%{_includedir}/KCddb5/kcddb_version.h
%dir %{_kde5_libdir}/cmake/KF5Cddb
%{_kde5_libdir}/cmake/KF5Cddb/KF5Cddb*.cmake
%{_kde5_libdir}/libKF5Cddb.so %{_kde5_libdir}/libKF5Cddb.so
%{_kde5_mkspecsdir}/qt_KCddb.pri %{_kde5_mkspecsdir}/qt_KCddb.pri
#%doc TODO %dir %{_kde5_libdir}/cmake/KF5Cddb
%{_kde5_libdir}/cmake/KF5Cddb/KF5Cddb*.cmake
%{_kde5_mkspecsdir}/qt_KCddb.pri
%{_datadir}/qlogging-categories5/libkcddb.categories
%changelog %changelog
* Tue Mar 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.02.1-2mamba
- fixed name of libkcddb5 subpackages
* Sun Mar 24 2024 Automatic Build System <autodist@openmamba.org> 24.02.1-1mamba
- automatic version update by autodist
* Wed Mar 13 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.02.0-3mamba
- rebuilt with qt5 legacy subpackages
* Mon Mar 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.02.0-2mamba
- rebuilt with qt6
* Sat Mar 02 2024 Automatic Build System <autodist@openmamba.org> 24.02.0-1mamba
- automatic version update by autodist
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 23.08.5-1mamba * Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 23.08.5-1mamba
- automatic version update by autodist - automatic version update by autodist