import gubbi-fonts-1.3-2.el8

This commit is contained in:
CentOS Sources 2019-05-07 09:29:06 -04:00 committed by Andrew Lukoshko
commit aab99e107f
5 changed files with 129 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/gubbi-1.3.tar.gz

1
.gubbi-fonts.metadata Normal file
View File

@ -0,0 +1 @@
f3a39df54c1b0c4fc218fcebc583ce54043ac214 SOURCES/gubbi-1.3.tar.gz

22
SOURCES/65-0-gubbi.conf Normal file
View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>kn</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Gubbi</string>
</edit>
</match>
<alias>
<family>Gubbi</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>gubbi</id>
<metadata_license>CC-BY-3.0</metadata_license>
<name>Gubbi</name>
<summary>Free Kannada opentype serif font</summary>
<description>
<p>
This package provides a free Kannada serif opentype font.
</p>
</description>
<updatecontact>psatpute_at_redhat_dot_com</updatecontact>
<url type="homepage">https://github.com/aravindavk/Gubbi</url>
</component>

91
SPECS/gubbi-fonts.spec Normal file
View File

@ -0,0 +1,91 @@
%global fontname gubbi
%global fontconf 65-0-%{fontname}.conf
Name: %{fontname}-fonts
Version: 1.3
Release: 2%{?dist}
Summary: Free Kannada Opentype serif font
License: GPLv3+ with exceptions
URL: https://github.com/aravindavk/Gubbi
Source0: https://github.com/aravindavk/Gubbi/archive/v%{version}.tar.gz#/%{fontname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: fontforge
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
Source1: 65-0-gubbi.conf
Source2: %{fontname}.metainfo.xml
%description
This package provides a free Kannada opentype serif font.
%prep
%autosetup -n Gubbi-%{version}
%build
make
%install
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE1} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
# Add AppStream metadata
install -Dm 0644 -p %{SOURCE2} \
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
%_font_pkg -f %{fontconf} *.ttf
%doc ChangeLog README
%license COPYING
%{_datadir}/appdata/%{fontname}.metainfo.xml
%changelog
* Thu Jul 12 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 1.3-2
- Update License tag
- add appstream metainfo
* Wed Jul 11 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 1.3-1
- Update to new upstream 1.3 release
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Aug 13 2012 Pravin Satpute <psatpute@redhat.com> - 1.1-1
- Resolves bug 842962
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Jan 10 2012 Pravin Satpute <psatpute@redhat.com> - 1.0-1
- Initial build