From 29570831a7a265ee10fcac39f2a3b241fc9bac0c Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 26 Nov 2024 16:20:45 +0300 Subject: [PATCH] import hicolor-icon-theme-0.17-19.el10 --- .gitignore | 1 + .hicolor-icon-theme.metadata | 1 + SOURCES/b3f1207.patch | 28 ++++ SPECS/hicolor-icon-theme.spec | 270 ++++++++++++++++++++++++++++++++++ 4 files changed, 300 insertions(+) create mode 100644 .gitignore create mode 100644 .hicolor-icon-theme.metadata create mode 100644 SOURCES/b3f1207.patch create mode 100644 SPECS/hicolor-icon-theme.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..04895f8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/hicolor-icon-theme-0.17.tar.xz diff --git a/.hicolor-icon-theme.metadata b/.hicolor-icon-theme.metadata new file mode 100644 index 0000000..e81a81d --- /dev/null +++ b/.hicolor-icon-theme.metadata @@ -0,0 +1 @@ +192d95efc13adf1fd35442d086733df25826cf2c SOURCES/hicolor-icon-theme-0.17.tar.xz diff --git a/SOURCES/b3f1207.patch b/SOURCES/b3f1207.patch new file mode 100644 index 0000000..17b2865 --- /dev/null +++ b/SOURCES/b3f1207.patch @@ -0,0 +1,28 @@ +From b3f1207ccff5ce0ab45ead38031f98fc1abe9731 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= +Date: Fri, 7 Jan 2022 10:23:20 +0100 +Subject: [PATCH] Create HiDPI directories + +Support has been added since version 0.16 but we were still not generating them, +simply add them in Makefile. +--- + Makefile.am | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index c370b81..591d5f3 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,5 +1,8 @@ + ICON_SIZES = 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 \ +- 128x128 192x192 256x256 512x512 scalable ++ 128x128 192x192 256x256 512x512 16x16@2 22x22@2 24x24@2 32x32@2 \ ++ 36x36@2 48x48@2 64x64@2 72x72@2 96x96@2 128x128@2 192x192@2 256x256@2 \ ++ 512x512@2 scalable ++ + ICON_CONTEXTS = actions animations apps categories devices emblems emotes \ + filesystems intl mimetypes places status stock + STOCK_SUBS = chart code data form image io media navigation net object table text +-- +GitLab + diff --git a/SPECS/hicolor-icon-theme.spec b/SPECS/hicolor-icon-theme.spec new file mode 100644 index 0000000..6159f8e --- /dev/null +++ b/SPECS/hicolor-icon-theme.spec @@ -0,0 +1,270 @@ +Name: hicolor-icon-theme +Version: 0.17 +Release: 19%{?dist} +Summary: Basic requirement for icon themes + +License: GPL-2.0-or-later +URL: https://www.freedesktop.org/wiki/Software/icon-theme/ +Source0: https://icon-theme.freedesktop.org/releases/%{name}-%{version}.tar.xz + +# upstream patch to include directories for @2 scaled icons +Patch0: https://gitlab.freedesktop.org/xdg/default-icon-theme/-/commit/b3f1207.patch + +BuildArch: noarch + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: make + +%description +Contains the basic directories and files needed for icon theme support. + +%prep +%setup -q +%patch0 -p1 + +# for some reason this file is executable in the tarball +chmod 0644 COPYING + +%build +autoreconf -vfi +%configure + +%install +%make_install + +touch $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache + +%transfiletriggerin -- %{_datadir}/icons/hicolor +gtk-update-icon-cache --force %{_datadir}/icons/hicolor &>/dev/null || : + +%transfiletriggerpostun -- %{_datadir}/icons/hicolor +gtk-update-icon-cache --force %{_datadir}/icons/hicolor &>/dev/null || : + +%files +%license COPYING +%doc README +%dir %{_datadir}/icons/hicolor +%{_datadir}/icons/hicolor/16x16/ +%{_datadir}/icons/hicolor/16x16@2/ +%{_datadir}/icons/hicolor/22x22/ +%{_datadir}/icons/hicolor/22x22@2/ +%{_datadir}/icons/hicolor/24x24/ +%{_datadir}/icons/hicolor/24x24@2/ +%{_datadir}/icons/hicolor/32x32/ +%{_datadir}/icons/hicolor/32x32@2/ +%{_datadir}/icons/hicolor/36x36/ +%{_datadir}/icons/hicolor/36x36@2/ +%{_datadir}/icons/hicolor/48x48/ +%{_datadir}/icons/hicolor/48x48@2/ +%{_datadir}/icons/hicolor/64x64/ +%{_datadir}/icons/hicolor/64x64@2/ +%{_datadir}/icons/hicolor/72x72/ +%{_datadir}/icons/hicolor/72x72@2/ +%{_datadir}/icons/hicolor/96x96/ +%{_datadir}/icons/hicolor/96x96@2/ +%{_datadir}/icons/hicolor/128x128/ +%{_datadir}/icons/hicolor/128x128@2/ +%{_datadir}/icons/hicolor/192x192/ +%{_datadir}/icons/hicolor/192x192@2/ +%{_datadir}/icons/hicolor/256x256/ +%{_datadir}/icons/hicolor/256x256@2/ +%{_datadir}/icons/hicolor/512x512/ +%{_datadir}/icons/hicolor/512x512@2/ +%{_datadir}/icons/hicolor/scalable/ +%{_datadir}/icons/hicolor/symbolic/ +%{_datadir}/icons/hicolor/index.theme +%ghost %{_datadir}/icons/hicolor/icon-theme.cache + +%changelog +* Tue Nov 26 2024 MSVSphere Packaging Team - 0.17-19 +- Rebuilt for MSVSphere 10 + +* Mon Jun 24 2024 Troy Dawson - 0.17-19 +- Bump release for June 2024 mass rebuild + +* Wed Jan 24 2024 Fedora Release Engineering - 0.17-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jan 20 2024 Fedora Release Engineering - 0.17-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jul 20 2023 Fedora Release Engineering - 0.17-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 0.17-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 0.17-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat May 21 2022 Fabio Valentini - 0.17-13 +- Include upstream patch to include directories for @2 scaled icons. + +* Thu Jan 20 2022 Fedora Release Engineering - 0.17-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 0.17-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.17-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.17-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 0.17-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 0.17-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Mar 7 2019 Tim Landscheidt - 0.17-6 +- Remove obsolete requirements for %%post/%%postun scriptlets + +* Fri Feb 08 2019 Kalev Lember - 0.17-5 +- Fix /usr/share/icons/hicolor directory ownership + +* Fri Feb 01 2019 Fedora Release Engineering - 0.17-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.17-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 31 2017 Kalev Lember - 0.17-1 +- Update to 0.17 + +* Tue Aug 22 2017 Kalev Lember - 0.16-1 +- Update to 0.16 + +* Wed Jul 26 2017 Fedora Release Engineering - 0.15-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Jun 22 2017 Kalev Lember - 0.15-5 +- Add file triggers for gtk-update-icon-cache + +* Fri Feb 10 2017 Fedora Release Engineering - 0.15-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 03 2016 Fedora Release Engineering - 0.15-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Mar 24 2015 Kalev Lember - 0.15-1 +- Update to 0.15 +- Use license macro for the COPYING file + +* Wed Dec 10 2014 David King - 0.14-1 +- Update to 0.14, own 512x512 directory (#1044771) + +* Sat Jun 07 2014 Fedora Release Engineering - 0.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Feb 27 2014 Dan Mashal - 0.13-1 +- Update to 0.13 (#1044407) + +* Sat Aug 03 2013 Fedora Release Engineering - 0.12-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.12-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.12-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sat May 07 2011 Christopher Aillon - 0.12-3 +- Update icon cache scriptlet + +* Wed Feb 09 2011 Fedora Release Engineering - 0.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jan 13 2010 Alexander Larsson - 0.12-1 +- Update to 0.12 + +* Fri Sep 25 2009 Alexander Larsson - 0.11-1 +- Update to 0.11 + +* Fri Jul 24 2009 Fedora Release Engineering - 0.10-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Feb 24 2009 Fedora Release Engineering - 0.10-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Jan 23 2009 Matthias Clasen - 0.10-5 +- Update URL +- Clean up scriptlets +- Include ChangeLog + +* Sun Nov 18 2007 Matthias Clasen - 0.10-4 +- Correct the license +- Include COPYING +- Add full source url + +* Tue Aug 7 2007 Matthias Clasen - 0.10-3 +- Update the license field + +* Fri Feb 23 2007 Matthias Clasen - 0.10-2 +- Own the icon cache + +* Thu Nov 23 2006 Alexander Larsson - 0.10-1 +- Update to 0.10 + +* Wed Jul 12 2006 Jesse Keating - 0.9-2.1 +- rebuild + +* Mon Feb 27 2006 Ray Strode 0.9-2 +- Remove Prereq on gtk. Prereq's complicate things, + and the gtk-update-icon-cache is already protected by + [ -x ... ] + +* Thu Jan 12 2006 Alexander Larsson 0.9-1 +- Update to 0.9, fixes scalable icons picked before bitmap icons + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Wed Nov 30 2005 Florian La Roche +- scripts need coreutils installed + +* Tue Apr 19 2005 Matthias Clasen 0.8-2 +- Silence %%post + +* Thu Apr 14 2005 John (J5) Palmieri +- Update to 0.8 + +* Mon Mar 28 2005 Christopher Aillon +- rebuilt + +* Fri Mar 25 2005 Christopher Aillon 0.7-2 +- Update the GTK+ theme icon cache on (un)install + +* Fri Feb 4 2005 Alexander Larsson - 0.7-1 +- Update to 0.7 + +* Wed Feb 2 2005 Alexander Larsson - 0.6-1 +- Update to 0.6 + +* Thu Jan 27 2005 Matthias Clasen - 0.5-1 +- Update to 0.5 + +* Wed Sep 29 2004 GNOME - 0.3-3 +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Wed Feb 4 2004 Alexander Larsson 0.3-1 +- update to 0.3 + +* Fri Jan 16 2004 Alexander Larsson 0.2-1 +- Initial build. + +