package created using the webbuild interface [release 24.4.1-1mamba;Wed Apr 03 2024]
This commit is contained in:
parent
5fd8b0e589
commit
c7841a4e53
10
46-noto-mono.conf
Normal file
10
46-noto-mono.conf
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>Noto Sans Mono</family>
|
||||
<default>
|
||||
<family>monospace</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
10
46-noto-sans.conf
Normal file
10
46-noto-sans.conf
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>Noto Sans</family>
|
||||
<default>
|
||||
<family>sans-serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
10
46-noto-serif.conf
Normal file
10
46-noto-serif.conf
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>Noto Serif</family>
|
||||
<default>
|
||||
<family>serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
10
66-noto-mono.conf
Normal file
10
66-noto-mono.conf
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Noto Sans Mono</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
10
66-noto-sans.conf
Normal file
10
66-noto-sans.conf
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Noto Sans</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
10
66-noto-serif.conf
Normal file
10
66-noto-serif.conf
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>Noto Serif</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
87
ttf-noto-fonts.spec
Normal file
87
ttf-noto-fonts.spec
Normal file
@ -0,0 +1,87 @@
|
||||
Name: ttf-noto-fonts
|
||||
Version: 24.4.1
|
||||
Release: 1mamba
|
||||
Summary: Google TTF Noto fonts
|
||||
Group: System/Fonts
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://notofonts.github.io/
|
||||
Source: https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-%{version}.tar.gz
|
||||
Source1: 46-noto-mono.conf
|
||||
Source2: 46-noto-sans.conf
|
||||
Source3: 46-noto-serif.conf
|
||||
Source4: 66-noto-mono.conf
|
||||
Source5: 66-noto-sans.conf
|
||||
Source6: 66-noto-serif.conf
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
Requires(post): fontconfig
|
||||
|
||||
%description
|
||||
Google TTF Noto fonts.
|
||||
|
||||
%package extra
|
||||
Summary: Google TTF Noto extra fonts
|
||||
Group: System/Fonts
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description extra
|
||||
Google TTF Noto extra fonts.
|
||||
|
||||
%prep
|
||||
%setup -q -n notofonts.github.io-noto-monthly-release-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
install -D -m644 fonts/*/hinted/ttf/*.tt[fc] -t %{buildroot}%{_datadir}/fonts/noto
|
||||
|
||||
install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/fonts/conf.avail/46-noto-mono.conf
|
||||
install -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/fonts/conf.avail/46-noto-sans.conf
|
||||
install -D -m644 %{SOURCE3} %{buildroot}%{_sysconfdir}/fonts/conf.avail/46-noto-serif.conf
|
||||
install -D -m644 %{SOURCE4} %{buildroot}%{_sysconfdir}/fonts/conf.avail/66-noto-mono.conf
|
||||
install -D -m644 %{SOURCE5} %{buildroot}%{_sysconfdir}/fonts/conf.avail/66-noto-sans.conf
|
||||
install -D -m644 %{SOURCE6} %{buildroot}%{_sysconfdir}/fonts/conf.avail/66-noto-serif.conf
|
||||
|
||||
install -d -m0755 %{buildroot}%{_sysconfdir}/fonts/conf.d/
|
||||
ln -s ../conf.avail/46-noto-mono.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/
|
||||
ln -s ../conf.avail/46-noto-sans.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/
|
||||
ln -s ../conf.avail/46-noto-serif.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/
|
||||
ln -s ../conf.avail/66-noto-mono.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/
|
||||
ln -s ../conf.avail/66-noto-sans.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/
|
||||
ln -s ../conf.avail/66-noto-serif.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache
|
||||
:
|
||||
|
||||
%postun
|
||||
[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache
|
||||
:
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/fonts/conf.avail/*-noto-*.conf
|
||||
%{_sysconfdir}/fonts/conf.d/*-noto-*.conf
|
||||
%dir %{_datadir}/fonts/noto
|
||||
%{_datadir}/fonts/noto/Noto*.ttf
|
||||
%exclude %{_datadir}/fonts/noto/Noto*-Condensed*.ttf
|
||||
%exclude %{_datadir}/fonts/noto/Noto*-Extra*.ttf
|
||||
%exclude %{_datadir}/fonts/noto/Noto*-Semi*.ttf
|
||||
%doc LICENSE
|
||||
|
||||
%files extra
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/fonts/noto/Noto*-Condensed*.ttf
|
||||
%{_datadir}/fonts/noto/Noto*-Extra*.ttf
|
||||
%{_datadir}/fonts/noto/Noto*-Semi*.ttf
|
||||
|
||||
%changelog
|
||||
* Wed Apr 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.4.1-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user