2024-01-05 18:42:45 +01:00
|
|
|
%define gitver %(echo %version | tr _ - | tr . _)
|
2024-01-05 18:42:45 +01:00
|
|
|
Name: ttf-noto-emoji
|
2024-01-05 18:42:48 +01:00
|
|
|
Epoch: 1
|
2024-01-05 18:42:57 +01:00
|
|
|
Version: 2.042
|
2024-01-05 18:42:45 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Google Noto emoji fonts
|
|
|
|
Group: System/Fonts
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 18:42:48 +01:00
|
|
|
URL: https://github.com/googlefonts/noto-emoji
|
|
|
|
Source: https://github.com/googlefonts/noto-emoji.git/v%{version}/noto-emoji-%{version}.tar.bz2
|
2024-01-05 18:42:45 +01:00
|
|
|
Source1: 66-noto-color-emoji.conf
|
|
|
|
License: OFL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires(post): fontconfig
|
|
|
|
|
|
|
|
%description
|
|
|
|
Google Noto emoji fonts.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n noto-emoji-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
install -D -m644 fonts/NotoColorEmoji.ttf %{buildroot}%{_datadir}/fonts/truetype/NotoColorEmoji.ttf
|
2024-01-05 18:42:45 +01:00
|
|
|
install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/fonts/conf.avail/66-noto-color-emoji.conf
|
|
|
|
install -d -m0755 %{buildroot}%{_sysconfdir}/fonts/conf.d
|
|
|
|
ln -s ../conf.avail/66-noto-color-emoji.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/66-noto-color-emoji.conf
|
2024-01-05 18:42:45 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 18:42:45 +01:00
|
|
|
%pre
|
|
|
|
if [ $1 -gt 1 ]; then
|
|
|
|
[ -L %{_sysconfdir}/fonts/conf.d/66-noto-color-emoji.conf ] || rm -f %{_sysconfdir}/fonts/conf.d/66-noto-color-emoji.conf
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
2024-01-05 18:42:45 +01:00
|
|
|
%post
|
|
|
|
[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache
|
|
|
|
:
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 18:42:45 +01:00
|
|
|
%{_sysconfdir}/fonts/conf.avail/66-noto-color-emoji.conf
|
2024-01-05 18:42:45 +01:00
|
|
|
%{_sysconfdir}/fonts/conf.d/66-noto-color-emoji.conf
|
|
|
|
%{_datadir}/fonts/truetype/NotoColorEmoji.ttf
|
|
|
|
%doc AUTHORS LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:42:57 +01:00
|
|
|
* Thu Nov 30 2023 Automatic Build System <autodist@mambasoft.it> 2.042-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:42:53 +01:00
|
|
|
* Tue Nov 28 2023 Automatic Build System <autodist@mambasoft.it> 2.041-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:42:51 +01:00
|
|
|
* Sat Nov 18 2023 Automatic Build System <autodist@mambasoft.it> 2.040-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:42:48 +01:00
|
|
|
* Fri Jul 07 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.038-1mamba
|
|
|
|
- update to 2.038
|
|
|
|
|
2024-01-05 18:42:45 +01:00
|
|
|
* Wed Mar 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2020_09_16_unicode13.1-1mamba
|
|
|
|
- update to 2020_09_16_unicode13.1
|
|
|
|
- fix 66-noto-color-emoji.conf (replace append with append_last) to fix bad rendering with DejaVu fonts seend on Firefox
|
|
|
|
|
2024-01-05 18:42:45 +01:00
|
|
|
* Mon Apr 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2019_11_19_unicode12-1mamba
|
|
|
|
- package created using the webbuild interface
|