commit b8c8acff934d890ce4bf4b5574e0a1ddcc34d12f Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:52:44 2019 -0400 Package init diff --git a/hicolor-icon-theme-0.17.tar.xz b/hicolor-icon-theme-0.17.tar.xz new file mode 100644 index 0000000..3d73dd7 Binary files /dev/null and b/hicolor-icon-theme-0.17.tar.xz differ diff --git a/hicolor-icon-theme.spec b/hicolor-icon-theme.spec new file mode 100644 index 0000000..a4919e9 --- /dev/null +++ b/hicolor-icon-theme.spec @@ -0,0 +1,47 @@ +Name: hicolor-icon-theme +Version: 0.17 +Release: 4 +Summary: The default icon theme + +License: GPLv2+ +URL: https://www.freedesktop.org/wiki/Software/icon-theme/ +Source0: https://icon-theme.freedesktop.org/releases/%{name}-%{version}.tar.xz +BuildArch: noarch + +Requires(post): coreutils +Requires(postun): coreutils + +%description +Icon-theme contains the standard also references the default +icon theme called hicolor. + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%configure +make %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} +touch %{buildroot}%{_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 +%doc README +%defattr(-,root,root) +%ghost %{_datadir}/icons/hicolor/icon-theme.cache +%{_datadir}/icons/hicolor/index.theme +%{_datadir}/icons/hicolor/*/* +%license COPYING + +%changelog +* Mon Aug 26 2019 openEuler Buildteam - 0.17-4 +- Package Init