mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
112 lines
2.7 KiB
RPMSpec
112 lines
2.7 KiB
RPMSpec
%global srcname icons
|
|
%global appname io.elementary.icons
|
|
|
|
Name: elementary-icon-theme
|
|
Summary: Icons from the Elementary Project
|
|
Version: 8.0.0
|
|
Release: 1%?dist
|
|
License: GPL-3.0-or-later
|
|
|
|
URL: https://github.com/elementary/icons
|
|
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: gettext
|
|
BuildRequires: libappstream-glib
|
|
# /usr/bin/rsvg-convert
|
|
BuildRequires: librsvg2-tools
|
|
BuildRequires: meson
|
|
BuildRequires: xcursorgen
|
|
BuildRequires: fdupes
|
|
|
|
%description
|
|
This is an icon theme designed to be smooth, sexy, clear, and efficient.
|
|
|
|
|
|
%package gimp-palette
|
|
Summary: Icons from the Elementary Project (GIMP palette)
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: gimp
|
|
|
|
%description gimp-palette
|
|
This is an icon theme designed to be smooth, sexy, clear, and efficient.
|
|
|
|
This package contains a palette file for the GIMP.
|
|
|
|
|
|
%package inkscape-palette
|
|
Summary: Icons from the Elementary Project (inkscape palette)
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: inkscape
|
|
|
|
%description inkscape-palette
|
|
This is an icon theme designed to be smooth, sexy, clear, and efficient.
|
|
|
|
This package contains a palette file for inkscape.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{srcname}-%{version} -p1
|
|
|
|
|
|
%build
|
|
# Clean up executable permissions
|
|
for i in $(find -type f -executable); do
|
|
chmod a-x $i;
|
|
done
|
|
|
|
%meson -Dvolume_icons=false
|
|
%meson_build
|
|
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
# Create icon cache file
|
|
touch %{buildroot}/%{_datadir}/icons/elementary/icon-theme.cache
|
|
|
|
%fdupes %buildroot%_datadir/icons/elementary/
|
|
|
|
|
|
%check
|
|
# ignore validation until appstream-glib knows the "icon-theme" component type
|
|
appstream-util validate-relax --nonet \
|
|
%{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml || :
|
|
|
|
|
|
%transfiletriggerin -- %{_datadir}/icons/elementary
|
|
gtk-update-icon-cache --force %{_datadir}/icons/elementary &>/dev/null || :
|
|
|
|
%transfiletriggerpostun -- %{_datadir}/icons/elementary
|
|
gtk-update-icon-cache --force %{_datadir}/icons/elementary &>/dev/null || :
|
|
|
|
|
|
%files
|
|
%doc README.md
|
|
%license COPYING
|
|
|
|
%dir %{_datadir}/icons/elementary
|
|
%ghost %{_datadir}/icons/elementary/icon-theme.cache
|
|
|
|
%{_datadir}/icons/elementary/*
|
|
|
|
%{_datadir}/icons/elementary/cursor.theme
|
|
%{_datadir}/icons/elementary/index.theme
|
|
|
|
%{_datadir}/metainfo/%{appname}.metainfo.xml
|
|
|
|
%files gimp-palette
|
|
%{_datadir}/gimp/2.0/palettes/elementary.gpl
|
|
|
|
%files inkscape-palette
|
|
%{_datadir}/inkscape/palettes/elementary.gpl
|
|
|
|
|
|
%changelog
|
|
* Thu Nov 17 2022 windowsboy111 <wboy111@outlook.com> - 7.1.0-1
|
|
- new version
|
|
|
|
* Sat Oct 15 2022 windowsboy111 <windowsboy111@fyralabs.com>
|
|
- Repackaged for Terra
|