package created using the webbuild interface [release 2.138-1mamba;Sun Mar 10 2024]
This commit is contained in:
parent
3fc54074c8
commit
7ae2b65288
25
64-google-roboto-condensed-fontconfig.conf
Normal file
25
64-google-roboto-condensed-fontconfig.conf
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Roboto Condensed</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Roboto Condensed</family>
|
||||
<default>
|
||||
<family>sans-serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
<match target="scan">
|
||||
<test name="family">
|
||||
<string>Roboto Condensed</string>
|
||||
</test>
|
||||
<edit name="width">
|
||||
<const>condensed</const>
|
||||
</edit>
|
||||
</match>
|
||||
</fontconfig>
|
||||
|
49
64-google-roboto-fontconfig.conf
Normal file
49
64-google-roboto-fontconfig.conf
Normal file
@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Roboto</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Roboto</family>
|
||||
<default>
|
||||
<family>sans-serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
<match target="scan">
|
||||
<test name="style">
|
||||
<string>Thin</string>
|
||||
</test>
|
||||
<edit name="weight">
|
||||
<const>thin</const>
|
||||
</edit>
|
||||
</match>
|
||||
<match target="scan">
|
||||
<test name="style">
|
||||
<string>Thin Italic</string>
|
||||
</test>
|
||||
<edit name="weight">
|
||||
<const>thin</const>
|
||||
</edit>
|
||||
</match>
|
||||
<match target="scan">
|
||||
<test name="style">
|
||||
<string>Black</string>
|
||||
</test>
|
||||
<edit name="weight">
|
||||
<const>black</const>
|
||||
</edit>
|
||||
</match>
|
||||
<match target="scan">
|
||||
<test name="style">
|
||||
<string>Black Italic</string>
|
||||
</test>
|
||||
<edit name="weight">
|
||||
<const>black</const>
|
||||
</edit>
|
||||
</match>
|
||||
</fontconfig>
|
||||
|
@ -1,2 +1,4 @@
|
||||
# ttf-roboto
|
||||
|
||||
Google’s signature family of fonts, the default font on Android and Chrome OS, and the recommended font for Google’s visual language, Material Design.
|
||||
|
||||
|
6
google-roboto-condensed.metainfo.xml
Normal file
6
google-roboto-condensed.metainfo.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="font">
|
||||
<id>google-roboto-condensed</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<extends>google-roboto</extends>
|
||||
</component>
|
15
google-roboto.metainfo.xml
Normal file
15
google-roboto.metainfo.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="font">
|
||||
<id>google-roboto</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<name>Roboto</name>
|
||||
<summary>Roboto font family</summary>
|
||||
<description>
|
||||
<p>Roboto is a sans-serif typeface family introduced with Android Ice Cream
|
||||
Sandwich operating system. Google describes the font as "modern, yet
|
||||
approachable" and "emotional".
|
||||
</p>
|
||||
</description>
|
||||
<update_contact>dtardon@redhat.com</update_contact>
|
||||
<url type="homepage">https://www.google.com/fonts/specimen/Roboto</url>
|
||||
</component>
|
69
ttf-roboto.spec
Normal file
69
ttf-roboto.spec
Normal file
@ -0,0 +1,69 @@
|
||||
Name: ttf-roboto
|
||||
Version: 2.138
|
||||
Release: 1mamba
|
||||
Summary: Google’s signature family of fonts
|
||||
Group: System/Fonts
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://material.google.com/style/typography.html
|
||||
Source: https://sources.archlinux.org/other/packages/ttf-roboto/ttf-roboto-hinted-%{version}.zip
|
||||
Source1: 64-google-roboto-fontconfig.conf
|
||||
Source2: 64-google-roboto-condensed-fontconfig.conf
|
||||
Source3: google-roboto.metainfo.xml
|
||||
Source4: google-roboto-condensed.metainfo.xml
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
%description
|
||||
Google’s signature family of fonts, the default font on Android and Chrome OS, and the recommended font for Google’s visual language, Material Design.
|
||||
|
||||
%prep
|
||||
%setup -q -c %{name}-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
# install fonts (From Arch)
|
||||
install -Dm644 *.ttf -t %{buildroot}%{_datadir}/fonts/TTF
|
||||
|
||||
# install fontconfig files (from Fedora)
|
||||
install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/fonts/conf.avail/64-google-roboto.conf
|
||||
install -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/fonts/conf.avail/64-google-roboto-condensed.conf
|
||||
install -d -m0755 %{buildroot}%{_sysconfdir}/fonts/conf.d
|
||||
ln -s ../conf.avail/64-google-roboto.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/64-google-roboto.conf
|
||||
ln -s ../conf.avail/64-google-roboto-condensed.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/64-google-roboto-condensed.conf
|
||||
|
||||
# install appdata (from Fedora)
|
||||
install -m 0755 -d %{buildroot}%{_datadir}/appdata
|
||||
install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata
|
||||
|
||||
%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.d/64-google-roboto.conf
|
||||
%{_sysconfdir}/fonts/conf.d/64-google-roboto-condensed.conf
|
||||
%{_sysconfdir}/fonts/conf.avail/64-google-roboto-condensed.conf
|
||||
%{_sysconfdir}/fonts/conf.avail/64-google-roboto.conf
|
||||
%{_datadir}/appdata/google-roboto-condensed.metainfo.xml
|
||||
%{_datadir}/appdata/google-roboto.metainfo.xml
|
||||
%{_datadir}/fonts/TTF/Roboto-*.ttf
|
||||
%{_datadir}/fonts/TTF/RobotoCondensed-*.ttf
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Sun Mar 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.138-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user