Package init
This commit is contained in:
commit
b8c8acff93
BIN
hicolor-icon-theme-0.17.tar.xz
Normal file
BIN
hicolor-icon-theme-0.17.tar.xz
Normal file
Binary file not shown.
47
hicolor-icon-theme.spec
Normal file
47
hicolor-icon-theme.spec
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user