From 469e93f4eb33a8a7c859570aa56bad008ff3cfd4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:51:44 +0100 Subject: [PATCH] rename from libkmahjongg5 and add provides/obsoletes [release 20.08.1-2mamba;Wed Sep 09 2020] --- libkmahjongg.spec | 258 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 240 insertions(+), 18 deletions(-) diff --git a/libkmahjongg.spec b/libkmahjongg.spec index 7a137d4..b5ddd9e 100644 --- a/libkmahjongg.spec +++ b/libkmahjongg.spec @@ -1,25 +1,33 @@ Name: libkmahjongg -Version: 4.14.3 -Release: 1mamba +Version: 20.08.1 +Release: 2mamba Summary: KDE library used for loading and rendering of Mahjongg tilesets and associated backgrounds Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org -Source: http://download.kde.org/stable/%{version}/src/libkmahjongg-%{version}.tar.xz +Source: http://download.kde.org/stable/release-service/%{version}/src/libkmahjongg-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: kdelibs-devel +BuildRequires: ldconfig BuildRequires: libgcc -BuildRequires: libkdegames-devel -BuildRequires: libqt4-devel +BuildRequires: libkauth-devel +BuildRequires: libkcodecs-devel +BuildRequires: libkcompletion-devel +BuildRequires: libkconfig-devel +BuildRequires: libkconfigwidgets-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libki18n-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: automoc4 BuildRequires: cmake -Requires: kdelibs%{?_kde4_version: >= %{_kde4_version}} +Provides: libkmahjongg5 +Obsoletes: libkmahjongg5 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -29,7 +37,8 @@ The library used for loading and rendering of Mahjongg tilesets and associated b Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} -Requires: kdelibs-devel +Provides: libkmahjongg5-devel +Obsoletes: libkmahjongg5-devel %description devel This package contains libraries and header files for developing applications that use %{name}. @@ -40,13 +49,15 @@ This package contains libraries and header files for developing applications tha %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -58,22 +69,233 @@ exit 0 /sbin/ldconfig exit 0 -%files +%files -f %{name}5_qt.lang %defattr(-,root,root) -%{_kde4_libdir}/libkmahjongglib.so.* -%dir %{_kde4_datadir}/kmahjongglib -%dir %{_kde4_datadir}/kmahjongglib/backgrounds -%{_kde4_datadir}/kmahjongglib/backgrounds/* -%dir %{_kde4_datadir}/kmahjongglib/tilesets -%{_kde4_datadir}/kmahjongglib/tilesets/* +%{_kde5_libdir}/libKF5KMahjongglib.so.* +%dir %{_kde5_datadir}/kmahjongglib +%dir %{_kde5_datadir}/kmahjongglib/backgrounds +%{_kde5_datadir}/kmahjongglib/backgrounds/* +%dir %{_kde5_datadir}/kmahjongglib/tilesets +%{_kde5_datadir}/kmahjongglib/tilesets/* +%{_datadir}/qlogging-categories5/libkmahjongg.categories %doc COPYING COPYING.DOC COPYING.LIB %files devel %defattr(-,root,root) -%{_kde4_includedir}/*.h -%{_kde4_libdir}/libkmahjongglib.so +%dir %{_kde5_includedir}/KF5KMahjongg +%{_kde5_includedir}/KF5KMahjongg/*.h +%dir %{_libdir}/cmake/KF5KMahjongglib +%{_libdir}/cmake/KF5KMahjongglib/KF5KMahjongg*.cmake +%{_libdir}/libKF5KMahjongglib.so %changelog +* Wed Sep 09 2020 Silvan Calarco 20.08.1-2mamba +- rename from libkmahjongg5 and add provides/obsoletes + +* Fri Sep 04 2020 Automatic Build System 20.08.1-1mamba +- automatic version update by autodist + +* Sat Aug 15 2020 Automatic Build System 20.08.0-1mamba +- automatic version update by autodist + +* Fri Jul 10 2020 Automatic Build System 20.04.3-1mamba +- automatic version update by autodist + +* Fri Jun 12 2020 Automatic Build System 20.04.2-1mamba +- automatic version update by autodist + +* Fri May 15 2020 Automatic Build System 20.04.1-1mamba +- automatic version update by autodist + +* Fri Apr 24 2020 Automatic Build System 20.04.0-1mamba +- automatic version update by autodist + +* Thu Mar 05 2020 Automatic Build System 19.12.3-1mamba +- automatic version update by autodist + +* Thu Feb 06 2020 Automatic Build System 19.12.2-1mamba +- automatic version update by autodist + +* Fri Jan 10 2020 Automatic Build System 19.12.1-1mamba +- automatic version update by autodist + +* Mon Dec 30 2019 Automatic Build System 19.12.0-1mamba +- automatic version update by autodist + +* Fri Nov 08 2019 Automatic Build System 19.08.3-1mamba +- automatic version update by autodist + +* Thu Oct 10 2019 Automatic Build System 19.08.2-1mamba +- automatic version update by autodist + +* Tue Sep 10 2019 Automatic Build System 19.08.1-1mamba +- automatic version update by autodist + +* Tue Sep 03 2019 Automatic Build System 19.08.0-1mamba +- automatic version update by autodist + +* Fri Jul 12 2019 Automatic Build System 19.04.3-1mamba +- automatic version update by autodist + +* Fri Jun 07 2019 Automatic Build System 19.04.2-1mamba +- automatic version update by autodist + +* Sat May 11 2019 Automatic Build System 19.04.1-1mamba +- automatic version update by autodist + +* Fri Apr 19 2019 Automatic Build System 19.04.0-1mamba +- automatic version update by autodist + +* Thu Mar 07 2019 Automatic Build System 18.12.3-1mamba +- automatic version update by autodist + +* Thu Feb 07 2019 Automatic Build System 18.12.2-1mamba +- automatic version update by autodist + +* Fri Jan 11 2019 Automatic Build System 18.12.1-1mamba +- automatic version update by autodist + +* Tue Dec 18 2018 Automatic Build System 18.12.0-1mamba +- automatic version update by autodist + +* Mon Nov 12 2018 Automatic Build System 18.08.3-1mamba +- automatic version update by autodist + +* Thu Oct 11 2018 Automatic Build System 18.08.2-1mamba +- automatic version update by autodist + +* Thu Sep 06 2018 Automatic Build System 18.08.1-1mamba +- automatic version update by autodist + +* Sat Aug 18 2018 Automatic Build System 18.08.0-1mamba +- automatic version update by autodist + +* Fri Jul 13 2018 Automatic Build System 18.04.3-1mamba +- automatic version update by autodist + +* Fri Jun 08 2018 Automatic Build System 18.04.2-1mamba +- automatic version update by autodist + +* Thu May 10 2018 Automatic Build System 18.04.1-1mamba +- automatic version update by autodist + +* Sun Apr 22 2018 Automatic Build System 18.04.0-1mamba +- automatic version update by autodist + +* Thu Mar 08 2018 Automatic Build System 17.12.3-1mamba +- automatic version update by autodist + +* Fri Feb 09 2018 Automatic Build System 17.12.2-1mamba +- automatic version update by autodist + +* Thu Jan 11 2018 Automatic Build System 17.12.1-1mamba +- automatic version update by autodist + +* Thu Dec 21 2017 Automatic Build System 17.12.0-1mamba +- automatic version update by autodist + +* Fri Nov 10 2017 Automatic Build System 17.08.3-1mamba +- automatic version update by autodist + +* Thu Oct 12 2017 Automatic Build System 17.08.2-1mamba +- automatic version update by autodist + +* Fri Sep 08 2017 Automatic Build System 17.08.1-1mamba +- automatic version update by autodist + +* Tue Aug 22 2017 Automatic Build System 17.08.0-1mamba +- automatic version update by autodist + +* Sat Aug 05 2017 Automatic Build System 17.04.3-1mamba +- automatic version update by autodist + +* Fri Mar 10 2017 Automatic Build System 16.12.3-1mamba +- automatic version update by autodist + +* Fri Feb 10 2017 Automatic Build System 16.12.2-1mamba +- automatic version update by autodist + +* Fri Jan 13 2017 Automatic Build System 16.12.1-1mamba +- automatic version update by autodist + +* Sat Dec 17 2016 Automatic Build System 16.12.0-1mamba +- automatic version update by autodist + +* Fri Nov 11 2016 Automatic Build System 16.08.3-1mamba +- automatic version update by autodist + +* Fri Oct 14 2016 Automatic Build System 16.08.2-1mamba +- automatic version update by autodist + +* Fri Sep 09 2016 Automatic Build System 16.08.1-1mamba +- automatic version update by autodist + +* Fri Aug 26 2016 Silvan Calarco 16.08.0-1mamba +- automatic version update by autodist + +* Wed Jul 13 2016 Automatic Build System 16.04.3-1mamba +- automatic version update by autodist + +* Wed Jun 15 2016 Automatic Build System 16.04.2-1mamba +- automatic version update by autodist + +* Wed May 11 2016 Automatic Build System 16.04.1-1mamba +- automatic version update by autodist + +* Sat Apr 23 2016 Automatic Build System 16.04.0-1mamba +- automatic version update by autodist + +* Wed Mar 16 2016 Automatic Build System 15.12.3-1mamba +- automatic version update by autodist + +* Tue Feb 16 2016 Automatic Build System 15.12.2-1mamba +- automatic version update by autodist + +* Tue Jan 12 2016 Automatic Build System 15.12.1-1mamba +- automatic version update by autodist + +* Wed Jan 06 2016 Silvan Calarco 15.12.0-3mamba +- renamed from libkmahjongg to libkmahjongg5 + +* Wed Jan 06 2016 Silvan Calarco 15.12.0-2mamba +- don't link to old libkmahjongg + +* Sun Dec 20 2015 Automatic Build System 15.12.0-1mamba +- automatic version update by autodist + +* Wed Nov 11 2015 Automatic Build System 15.08.3-1mamba +- automatic version update by autodist + +* Tue Oct 13 2015 Automatic Build System 15.08.2-1mamba +- automatic version update by autodist + +* Sun Sep 20 2015 Automatic Build System 15.08.1-1mamba +- automatic version update by autodist + +* Sun Aug 23 2015 Automatic Build System 15.08.0-1mamba +- automatic version update by autodist + +* Thu Jul 02 2015 Automatic Build System 15.04.3-1mamba +- automatic version update by autodist + +* Wed Jun 03 2015 Automatic Build System 15.04.2-1mamba +- automatic version update by autodist + +* Tue May 12 2015 Automatic Build System 15.04.1-1mamba +- automatic version update by autodist + +* Tue Apr 21 2015 Automatic Build System 15.04.0-1mamba +- automatic version update by autodist + +* Tue Mar 10 2015 Automatic Build System 14.12.3-1mamba +- automatic version update by autodist + +* Sat Feb 07 2015 Automatic Build System 14.12.2-1mamba +- automatic version update by autodist + +* Mon Jan 26 2015 Silvan Calarco 14.12.1-1mamba +- update to 14.12.1 + * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist