diff --git a/SOURCES/BSD-3-Clause.txt b/SOURCES/BSD-3-Clause.txt new file mode 100644 index 0000000..ea890af --- /dev/null +++ b/SOURCES/BSD-3-Clause.txt @@ -0,0 +1,11 @@ +Copyright (c) . + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/SPECS/kf5.spec b/SPECS/kf5.spec index eea57e1..d56acd5 100644 --- a/SPECS/kf5.spec +++ b/SPECS/kf5.spec @@ -1,17 +1,21 @@ Name: kf5 -Version: 5.108.0 +Version: 5.115.0 Release: 1%{?dist} Summary: Filesystem and RPM macros for KDE Frameworks 5 -License: BSD +License: BSD-3-Clause URL: http://www.kde.org Source0: macros.kf5 +Source1: BSD-3-Clause.txt %description Filesystem and RPM macros for KDE Frameworks 5 %package filesystem Summary: Filesystem for KDE Frameworks 5 +%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10 +Requires: kde-filesystem >= 5 +%endif # noarch -> arch transition Obsoletes: kf5-filesystem < 5.10.0-2 %{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}} @@ -38,22 +42,27 @@ BuildArch: noarch %description rpm-macros RPM macros for building KDE Frameworks 5 packages. +%prep +cp %{S:1} LICENSE %install # See macros.kf5 where the directories are specified mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt5/plugins/kf5/ -mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/kconf_update_bin mkdir -p %{buildroot}%{_includedir}/KF5 -mkdir -p %{buildroot}%{_datadir}/{config.kcfg,kconf_update,kf5,kservicetypes5} -mkdir -p %{buildroot}%{_datadir}/kpackage/{genericqml,kcms} +mkdir -p %{buildroot}%{_datadir}/{kf5,kservicetypes5} mkdir -p %{buildroot}%{_datadir}/kservices5/ServiceMenus -mkdir -p %{buildroot}%{_datadir}/knsrcfiles/ mkdir -p %{buildroot}%{_datadir}/qlogging-categories5/ -mkdir -p %{buildroot}%{_datadir}/solid/{actions,devices} mkdir -p %{buildroot}%{_docdir}/qt5 mkdir -p %{buildroot}%{_libexecdir}/kf5 +mkdir -p %{buildroot}%{_datadir}/locale/tok +%if ! (0%{?fedora} >= 40 || 0%{?rhel} >= 10) +mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/kconf_update_bin +mkdir -p %{buildroot}%{_datadir}/{config.kcfg,kconf_update} +mkdir -p %{buildroot}%{_datadir}/kpackage/{genericqml,kcms} +mkdir -p %{buildroot}%{_datadir}/knsrcfiles/ +mkdir -p %{buildroot}%{_datadir}/solid/{actions,devices} mkdir -p %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/{env,shutdown} - +%endif install -Dpm644 %{_sourcedir}/macros.kf5 %{buildroot}%{_rpmconfigdir}/macros.d/macros.kf5 sed -i \ -e "s|@@KF5_VERSION@@|%{version}|g" \ @@ -64,32 +73,69 @@ sed -i \ %files filesystem -%{_sysconfdir}/xdg/plasma-workspace/ +%license LICENSE %{_prefix}/lib/qt5/plugins/kf5/ %{_prefix}/%{_lib}/qt5/plugins/kf5/ -%{_prefix}/lib/kconf_update_bin/ -%{_prefix}/%{_lib}/kconf_update_bin/ %{_includedir}/KF5/ %{_libexecdir}/kf5/ -%{_datadir}/config.kcfg/ -%{_datadir}/kconf_update/ %{_datadir}/kf5/ -%{_datadir}/kpackage/ %{_datadir}/kservices5/ %{_datadir}/kservicetypes5/ -%{_datadir}/knsrcfiles/ %{_datadir}/qlogging-categories5/ -%{_datadir}/solid/ %{_docdir}/qt5/ +%{_datadir}/locale/tok +%if ! (0%{?fedora} >= 40 || 0%{?rhel} >= 10) +%{_sysconfdir}/xdg/plasma-workspace/ +%{_prefix}/lib/kconf_update_bin/ +%{_prefix}/%{_lib}/kconf_update_bin/ +%{_datadir}/config.kcfg/ +%{_datadir}/kconf_update/ +%{_datadir}/kpackage/ +%{_datadir}/knsrcfiles/ +%{_datadir}/solid/ +%endif %files rpm-macros %{_rpmconfigdir}/macros.d/macros.kf5 %changelog -* Wed Jul 26 2023 Arkady L. Shane - 5.108.0-1 +* Sat Feb 10 2024 Marc Deop i Argemí - 5.115.0-1 +- 5.115.0 + +* Wed Jan 24 2024 Fedora Release Engineering - 5.113.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 5.113.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Dec 08 2023 Marc Deop i Argemí - 5.113.0-1 +- 5.113.0 + +* Mon Oct 30 2023 Steve Cossette - 5.111.0-2 +- Added SPDX licensing information + +* Tue Oct 10 2023 Marc Deop i Argemí - 5.111.0-1 +- 5.111.0 + +* Sun Oct 08 2023 Steve Cossette - 5.110.0-3 +- Added kf5-filesystem ownership of /usr/share/locale/tok (Toki Pona). + +* Thu Sep 14 2023 Yaakov Selkowitz - 5.110.0-2 +- Use kde-filesystem for unversioned directories in F40+ + +* Tue Sep 05 2023 Marc Deop i Argemí - 5.110.0-1 +- 5.110.0 + +* Sat Aug 05 2023 Marc Deop i Argemí - 5.109.0-1 +- 5.109.0 + +* Wed Jul 26 2023 Arkady L. Shane - 5.108.0-2 - Rebuilt for MSVSphere 9.2 +* Thu Jul 20 2023 Fedora Release Engineering - 5.108.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sun Jul 02 2023 Marc Deop i Argemí - 5.108.0-1 - 5.108.0