Package init

This commit is contained in:
overweight 2019-09-30 10:52:44 -04:00
commit b8c8acff93
2 changed files with 47 additions and 0 deletions

Binary file not shown.

47
hicolor-icon-theme.spec Normal file
View File

@ -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 <buildteam@openeuler.org> - 0.17-4
- Package Init