kf6-breeze-icons/kf6-breeze-icons.spec

497 lines
19 KiB
RPMSpec

%define framework breeze-icons
%define majver %(echo %version | cut -d. -f1-2)
Name: kf6-breeze-icons
Version: 6.3.0
Release: 2mamba
Summary: KDE Frameworks 6 freedesktop.org compatible icon theme
Group: Graphical Desktop/Look 'n' feel
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://invent.kde.org/frameworks/breeze-icons
Source: https://download.kde.org/%{stable_kf6}/frameworks/%{majver}/breeze-icons-%{version}.tar.xz
Source1: openmamba.svg
Patch0: kf6-breeze-icons-6.3.0-x86-revert-use_normal_resource_adding.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: kf6-rpm-macros
BuildRequires: extra-cmake-modules
BuildRequires: python-lxml-py3
Requires: breeze-icons-custom-logo
Provides: breeze-icons
Obsoletes: breeze-icons < 5.248.0
%description
Breeze-icons is a freedesktop.org compatible icon theme.
%package -n lib%{name}
Group: System/Libraries
Summary: KDE Frameworks 6 breeze icon theme library
%description -n lib%{name}
KDE Frameworks 6 breeze icon theme library.
This package contains libraries and header files for developing applications that use %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for lib%{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package custom-logo
Group: Graphical Desktop/Look 'n' feel
Summary: openmamba customized distribution logo for Breeze icons
Provides: breeze-icons-custom-logo
Obsoletes: breeze-icons-custom-logo < 5.248.0
%description custom-logo
openmamba customized distribution logo for Breeze icons.
%debug_package
%prep
%setup -q -n %{framework}-%{version}
%ifarch %{ix86}
%patch 0 -R -p1 -b .x86-revert-use_normal_resource_adding
%endif
%build
%cmake_kf6 \
%ifnarch %{ix86}
-DBINARY_ICONS_RESOURCE=ON \
%endif
-DBUILD_TESTING=OFF
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
# Add 32/go-home.svg required e.g. by quicksynergy
cp %{buildroot}%{_datadir}/icons/breeze/actions/64/go-home.svg \
%{buildroot}%{_datadir}/icons/breeze/actions/32/go-home.svg
cp %{buildroot}%{_datadir}/icons/breeze-dark/actions/64/go-home.svg \
%{buildroot}%{_datadir}/icons/breeze-dark/actions/32/go-home.svg
# replace start-here-kde-symbolic with openmamba icon (main menu icon)
for s in 16 22 32 48 64 96; do
# #convert -background none -resize $s %{SOURCE1} \
# # %{buildroot}%{_datadir}/icons/breeze/apps/$s/openmamba.png
rm -f %{buildroot}%{_datadir}/icons/breeze/places/$s/start-here-kde-symbolic.svg
install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/breeze/places/$s/start-here-kde-symbolic.svg
rm -f %{buildroot}%{_datadir}/icons/breeze-dark/places/$s/start-here-kde-symbolic.svg
install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/breeze-dark/places/$s/start-here-kde-symbolic.svg
rm -f %{buildroot}%{_datadir}/icons/breeze/places/$s/start-here-kde.svg
install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/breeze/places/$s/start-here-kde.svg
rm -f %{buildroot}%{_datadir}/icons/breeze-dark/places/$s/start-here-kde.svg
install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/breeze-dark/places/$s/start-here-kde.svg
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
gtk-update-icon-cache %{_datadir}/icons/breeze >/dev/null 2>&1
gtk-update-icon-cache %{_datadir}/icons/breeze-dark >/dev/null 2>&1
:
%post custom-logo
gtk-update-icon-cache %{_datadir}/icons/breeze >/dev/null 2>&1
gtk-update-icon-cache %{_datadir}/icons/breeze-dark >/dev/null 2>&1
:
## trigger-based scriptlets
%transfiletriggerin -- %{_datadir}/icons/breeze
gtk-update-icon-cache --force %{_datadir}/icons/breeze &>/dev/null || :
%transfiletriggerin -- %{_datadir}/icons/breeze-dark
gtk-update-icon-cache --force %{_datadir}/icons/breeze-dark &>/dev/null || :
%transfiletriggerpostun -- %{_datadir}/icons/breeze
gtk-update-icon-cache --force %{_datadir}/icons/breeze &>/dev/null || :
%transfiletriggerpostun -- %{_datadir}/icons/breeze-dark
gtk-update-icon-cache --force %{_datadir}/icons/breeze-dark &>/dev/null || :
%files
%defattr(-,root,root)
%dir %{_datadir}/icons/breeze
%{_datadir}/icons/breeze/*
%exclude %{_datadir}/icons/breeze/places/*/start-here-kde-symbolic.svg
%exclude %{_datadir}/icons/breeze/places/*/start-here-kde.svg
%dir %{_datadir}/icons/breeze-dark
%{_datadir}/icons/breeze-dark/*
%exclude %{_datadir}/icons/breeze-dark/places/*/start-here-kde-symbolic.svg
%exclude %{_datadir}/icons/breeze-dark/places/*/start-here-kde.svg
%dir %{_kf6_libdir}/cmake/KF6BreezeIcons
%{_kf6_libdir}/cmake/KF6BreezeIcons/KF6BreezeIconsConfig*.cmake
%doc COPYING.LIB
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libKF6BreezeIcons.so.*
%doc COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_kf6_includedir}/BreezeIcons
%{_kf6_includedir}/BreezeIcons/*
%{_libdir}/libKF6BreezeIcons.so
%dir %{_libdir}/cmake/KF6BreezeIcons
%{_libdir}/cmake/KF6BreezeIcons/KF6BreezeIcons*.cmake
%files custom-logo
%defattr(-,root,root)
%{_datadir}/icons/breeze/places/*/start-here-kde-symbolic.svg
%{_datadir}/icons/breeze/places/*/start-here-kde.svg
%exclude %{_datadir}/icons/breeze/places/*@*/start-here-kde-symbolic.svg
%exclude %{_datadir}/icons/breeze/places/*@*/start-here-kde.svg
%{_datadir}/icons/breeze-dark/places/*/start-here-kde-symbolic.svg
%{_datadir}/icons/breeze-dark/places/*/start-here-kde.svg
%exclude %{_datadir}/icons/breeze-dark/places/*@*/start-here-kde-symbolic.svg
%exclude %{_datadir}/icons/breeze-dark/places/*@*/start-here-kde.svg
%changelog
* Mon Jun 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.3.0-2mamba
- custom-logo: exclude conflicting files in symlink dirs and add start-here-kde.svg
* Sun Jun 09 2024 Automatic Build System <autodist@openmamba.org> 6.3.0-1mamba
- automatic version update by autodist
* Sun May 12 2024 Automatic Build System <autodist@openmamba.org> 6.2.0-1mamba
- automatic version update by autodist
* Sat Apr 13 2024 Automatic Build System <autodist@openmamba.org> 6.1.0-1mamba
- automatic version update by autodist
* Sat Mar 16 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.0-2mamba
- icon to replace with custom loco for app menu is start-here-kde-symbolic.svg instead of start-here-kde.svg
* Fri Mar 01 2024 Automatic Build System <autodist@openmamba.org> 6.0.0-1mamba
- automatic version update by autodist
* Wed Feb 07 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.249.0-2mamba
- rebuilt with BINARY_ICONS_RESOURCE=ON and upstream patch to fix cmake without ICONS_LIBRARY=ON
* Fri Feb 02 2024 Automatic Build System <autodist@openmamba.org> 5.249.0-1mamba
- automatic version update by autodist
* Sat Jan 13 2024 Automatic Build System <autodist@mambasoft.it> 5.248.0-1mamba
- automatic version update by autodist
* Mon Dec 18 2023 Automatic Build System <autodist@mambasoft.it> 5.113.0-1mamba
- automatic version update by autodist
* Thu Nov 16 2023 Automatic Build System <autodist@mambasoft.it> 5.112.0-1mamba
- automatic version update by autodist
* Thu Oct 19 2023 Automatic Build System <autodist@mambasoft.it> 5.111.0-1mamba
- automatic version update by autodist
* Sun Sep 10 2023 Automatic Build System <autodist@mambasoft.it> 5.110.0-1mamba
- automatic version update by autodist
* Fri Aug 18 2023 Automatic Build System <autodist@mambasoft.it> 5.109.0-1mamba
- automatic version update by autodist
* Sun Jul 09 2023 Automatic Build System <autodist@mambasoft.it> 5.108.0-1mamba
- automatic version update by autodist
* Sun Jun 11 2023 Automatic Build System <autodist@mambasoft.it> 5.107.0-1mamba
- automatic version update by autodist
* Sun May 14 2023 Automatic Build System <autodist@mambasoft.it> 5.106.0-1mamba
- automatic version update by autodist
* Sun Apr 09 2023 Automatic Build System <autodist@mambasoft.it> 5.105.0-1mamba
- automatic version update by autodist
* Sat Mar 11 2023 Automatic Build System <autodist@mambasoft.it> 5.104.0-1mamba
- automatic version update by autodist
* Sun Feb 12 2023 Automatic Build System <autodist@mambasoft.it> 5.103.0-1mamba
- automatic version update by autodist
* Mon Jan 16 2023 Automatic Build System <autodist@mambasoft.it> 5.102.0-1mamba
- automatic version update by autodist
* Sat Dec 10 2022 Automatic Build System <autodist@mambasoft.it> 5.101.0-1mamba
- automatic version update by autodist
* Tue Nov 15 2022 Automatic Build System <autodist@mambasoft.it> 5.100.0-1mamba
- automatic version update by autodist
* Tue Oct 11 2022 Automatic Build System <autodist@mambasoft.it> 5.99.0-1mamba
- automatic version update by autodist
* Mon Sep 12 2022 Automatic Build System <autodist@mambasoft.it> 5.98.0-1mamba
- automatic version update by autodist
* Tue Aug 16 2022 Automatic Build System <autodist@mambasoft.it> 5.97.0-1mamba
- automatic version update by autodist
* Sun Jul 10 2022 Automatic Build System <autodist@mambasoft.it> 5.96.0-1mamba
- automatic version update by autodist
* Wed Jun 15 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.95.0-2mamba
- split customized distribution logo icons into a subpackage
* Mon Jun 13 2022 Automatic Build System <autodist@mambasoft.it> 5.95.0-1mamba
- automatic version update by autodist
* Sat May 14 2022 Automatic Build System <autodist@mambasoft.it> 5.94.0-1mamba
- automatic version update by autodist
* Sun Apr 10 2022 Automatic Build System <autodist@mambasoft.it> 5.93.0-1mamba
- automatic version update by autodist
* Sun Mar 13 2022 Automatic Build System <autodist@mambasoft.it> 5.92.0-1mamba
- automatic version update by autodist
* Mon Feb 14 2022 Automatic Build System <autodist@mambasoft.it> 5.91.0-1mamba
- automatic version update by autodist
* Sat Jan 08 2022 Automatic Build System <autodist@mambasoft.it> 5.90.0-1mamba
- automatic version update by autodist
* Tue Dec 14 2021 Automatic Build System <autodist@mambasoft.it> 5.89.0-1mamba
- automatic version update by autodist
* Sat Nov 13 2021 Automatic Build System <autodist@mambasoft.it> 5.88.0-1mamba
- automatic version update by autodist
* Tue Oct 12 2021 Automatic Build System <autodist@mambasoft.it> 5.87.0-1mamba
- automatic version update by autodist
* Sun Sep 12 2021 Automatic Build System <autodist@mambasoft.it> 5.86.0-1mamba
- automatic version update by autodist
* Sun Aug 15 2021 Automatic Build System <autodist@mambasoft.it> 5.85.0-1mamba
- automatic version update by autodist
* Sun Jul 11 2021 Automatic Build System <autodist@mambasoft.it> 5.84.0-1mamba
- automatic version update by autodist
* Sun Jun 13 2021 Automatic Build System <autodist@mambasoft.it> 5.83.0-1mamba
- automatic version update by autodist
* Sun May 09 2021 Automatic Build System <autodist@mambasoft.it> 5.82.0-1mamba
- automatic version update by autodist
* Sat Apr 10 2021 Automatic Build System <autodist@mambasoft.it> 5.81.0-1mamba
- automatic version update by autodist
* Wed Apr 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.80.0-2mamba
- add actions/32/go-home.svg required e.g. by quick-synergy
* Sun Mar 14 2021 Automatic Build System <autodist@mambasoft.it> 5.80.0-1mamba
- automatic version update by autodist
* Tue Feb 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.79.0-3mamba
- replace start-here-kde icons with openmamba
* Wed Feb 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.79.0-2mamba
- disable custom openmamba icons
* Sat Feb 13 2021 Automatic Build System <autodist@mambasoft.it> 5.79.0-1mamba
- automatic version update by autodist
* Thu Jan 14 2021 Automatic Build System <autodist@mambasoft.it> 5.78.0-1mamba
- automatic version update by autodist
* Wed Dec 23 2020 Automatic Build System <autodist@mambasoft.it> 5.77.0-1mamba
- automatic version update by autodist
* Mon Nov 16 2020 Automatic Build System <autodist@mambasoft.it> 5.76.0-1mamba
- automatic version update by autodist
* Tue Oct 13 2020 Automatic Build System <autodist@mambasoft.it> 5.75.0-1mamba
- automatic version update by autodist
* Mon Sep 14 2020 Automatic Build System <autodist@mambasoft.it> 5.74.0-1mamba
- automatic version update by autodist
* Mon Aug 10 2020 Automatic Build System <autodist@mambasoft.it> 5.73.0-1mamba
- automatic version update by autodist
* Tue Jul 14 2020 Automatic Build System <autodist@mambasoft.it> 5.72.0-1mamba
- automatic version update by autodist
* Wed Jun 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.71.0-2mamba
- update openmamba.svg icon and set as start-here-kde.svg
* Tue Jun 16 2020 Automatic Build System <autodist@mambasoft.it> 5.71.0-1mamba
- automatic version update by autodist
* Mon May 11 2020 Automatic Build System <autodist@mambasoft.it> 5.70.0-1mamba
- automatic version update by autodist
* Mon Apr 13 2020 Automatic Build System <autodist@mambasoft.it> 5.69.0-1mamba
- automatic version update by autodist
* Tue Mar 17 2020 Automatic Build System <autodist@mambasoft.it> 5.68.0-1mamba
- automatic version update by autodist
* Tue Feb 11 2020 Automatic Build System <autodist@mambasoft.it> 5.67.0-1mamba
- automatic version update by autodist
* Mon Jan 13 2020 Automatic Build System <autodist@mambasoft.it> 5.66.0-1mamba
- automatic version update by autodist
* Sun Dec 22 2019 Automatic Build System <autodist@mambasoft.it> 5.65.0-1mamba
- automatic version update by autodist
* Tue Nov 12 2019 Automatic Build System <autodist@mambasoft.it> 5.64.0-1mamba
- automatic version update by autodist
* Fri Oct 18 2019 Automatic Build System <autodist@mambasoft.it> 5.63.0-1mamba
- automatic version update by autodist
* Mon Sep 16 2019 Automatic Build System <autodist@mambasoft.it> 5.62.0-1mamba
- automatic version update by autodist
* Wed Aug 28 2019 Automatic Build System <autodist@mambasoft.it> 5.61.0-1mamba
- automatic version update by autodist
* Thu Jul 18 2019 Automatic Build System <autodist@mambasoft.it> 5.60.0-1mamba
- automatic version update by autodist
* Tue Jun 11 2019 Automatic Build System <autodist@mambasoft.it> 5.59.0-1mamba
- automatic version update by autodist
* Thu May 16 2019 Automatic Build System <autodist@mambasoft.it> 5.58.0-1mamba
- automatic version update by autodist
* Fri Apr 19 2019 Automatic Build System <autodist@mambasoft.it> 5.57.0-1mamba
- automatic version update by autodist
* Mon Mar 11 2019 Automatic Build System <autodist@mambasoft.it> 5.56.0-1mamba
- automatic version update by autodist
* Sat Feb 16 2019 Automatic Build System <autodist@mambasoft.it> 5.55.0-1mamba
- automatic version update by autodist
* Thu Jan 17 2019 Automatic Build System <autodist@mambasoft.it> 5.54.0-1mamba
- automatic version update by autodist
* Sat Dec 15 2018 Automatic Build System <autodist@mambasoft.it> 5.53.0-1mamba
- automatic version update by autodist
* Fri Nov 16 2018 Automatic Build System <autodist@mambasoft.it> 5.52.0-1mamba
- automatic version update by autodist
* Sun Oct 21 2018 Automatic Build System <autodist@mambasoft.it> 5.51.0-1mamba
- automatic version update by autodist
* Mon Sep 10 2018 Automatic Build System <autodist@mambasoft.it> 5.50.0-1mamba
- automatic version update by autodist
* Mon Aug 20 2018 Automatic Build System <autodist@mambasoft.it> 5.49.0-1mamba
- automatic version update by autodist
* Mon Jul 16 2018 Automatic Build System <autodist@mambasoft.it> 5.48.0-1mamba
- automatic version update by autodist
* Sat Jun 16 2018 Automatic Build System <autodist@mambasoft.it> 5.47.0-1mamba
- automatic version update by autodist
* Tue May 15 2018 Automatic Build System <autodist@mambasoft.it> 5.46.0-1mamba
- automatic version update by autodist
* Mon Apr 16 2018 Automatic Build System <autodist@mambasoft.it> 5.45.0-1mamba
- automatic version update by autodist
* Fri Mar 16 2018 Automatic Build System <autodist@mambasoft.it> 5.44.0-1mamba
- automatic version update by autodist
* Tue Feb 27 2018 Automatic Build System <autodist@mambasoft.it> 5.43.0-1mamba
- automatic version update by autodist
* Wed Jan 17 2018 Automatic Build System <autodist@mambasoft.it> 5.42.0-1mamba
- automatic version update by autodist
* Sat Dec 23 2017 Automatic Build System <autodist@mambasoft.it> 5.41.0-1mamba
- automatic version update by autodist
* Tue Nov 14 2017 Automatic Build System <autodist@mambasoft.it> 5.40.0-1mamba
- automatic version update by autodist
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 5.39.0-1mamba
- automatic version update by autodist
* Mon Sep 11 2017 Automatic Build System <autodist@mambasoft.it> 5.38.0-1mamba
- automatic version update by autodist
* Fri Aug 18 2017 Automatic Build System <autodist@mambasoft.it> 5.37.0-1mamba
- automatic version update by autodist
* Fri Aug 04 2017 Automatic Build System <autodist@mambasoft.it> 5.36.0-1mamba
- automatic version update by autodist
* Sat Jun 17 2017 Automatic Build System <autodist@mambasoft.it> 5.35.0-1mamba
- automatic version update by autodist
* Tue Mar 14 2017 Automatic Build System <autodist@mambasoft.it> 5.32.0-1mamba
- automatic version update by autodist
* Fri Feb 24 2017 Automatic Build System <autodist@mambasoft.it> 5.31.0-1mamba
- automatic version update by autodist
* Tue Jan 24 2017 Automatic Build System <autodist@mambasoft.it> 5.30.0-1mamba
- automatic version update by autodist
* Sun Dec 18 2016 Automatic Build System <autodist@mambasoft.it> 5.29.0-1mamba
- automatic version update by autodist
* Sun Nov 20 2016 Automatic Build System <autodist@mambasoft.it> 5.28.0-1mamba
- automatic version update by autodist
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 5.27.0-1mamba
- automatic version update by autodist
* Thu Sep 22 2016 Automatic Build System <autodist@mambasoft.it> 5.26.0-1mamba
- automatic version update by autodist
* Sat Aug 20 2016 Automatic Build System <autodist@mambasoft.it> 5.25.0-1mamba
- automatic version update by autodist
* Wed Jul 13 2016 Automatic Build System <autodist@mambasoft.it> 5.24.0-1mamba
- automatic version update by autodist
* Tue Jun 21 2016 Automatic Build System <autodist@mambasoft.it> 5.23.0-1mamba
- automatic version update by autodist
* Sun May 22 2016 Automatic Build System <autodist@mambasoft.it> 5.22.0-1mamba
- automatic version update by autodist
* Thu Apr 14 2016 Automatic Build System <autodist@mambasoft.it> 5.21.0-1mamba
- automatic version update by autodist
* Tue Mar 29 2016 Automatic Build System <autodist@mambasoft.it> 5.20.0-1mamba
- automatic version update by autodist
* Sat Feb 20 2016 Automatic Build System <autodist@mambasoft.it> 5.19.0-1mamba
- automatic version update by autodist
* Sat Jan 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.18.0-1mamba
- update to 5.18.0
* Sat Jan 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.17.0-2mamba
- replace start-here-kde.svg with openmamba logo
* Fri Dec 25 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.17.0-1mamba
- package created using the webbuild interface