Convert to new fonts packaging guidelines
Migrate to SPDX license expression
This commit is contained in:
parent
8026069e6f
commit
3f3b417d11
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/gubbi-1.0.tar.gz
|
||||
/gubbi-1.1.tar.gz
|
||||
/gubbi-1.3.tar.gz
|
||||
/Gubbi-1.3.tar.gz
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<fontconfig>
|
||||
<match>
|
||||
<test name="lang" compare="contains">
|
@ -1,55 +1,48 @@
|
||||
%global fontname gubbi
|
||||
%global fontconf 65-0-%{fontname}.conf
|
||||
BuildRequires: fontforge
|
||||
BuildRequires: make
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 1.3
|
||||
Release: 12%{?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: make
|
||||
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.
|
||||
%global fontlicense GPL-3.0-or-later WITH exceptions
|
||||
%global fontlicenses COPYING
|
||||
|
||||
%global fontdocs ChangeLog README
|
||||
%global fontdocsex %{fontlicenses}
|
||||
|
||||
%global fontfamily Gubbi
|
||||
%global fontsummary Free Kannada Opentype serif font
|
||||
%global fonts *.ttf
|
||||
%global fontconfs %{SOURCE1}
|
||||
%global fontdescription %{expand:
|
||||
This package provides a free Kannada opentype serif font.}
|
||||
|
||||
Source0: https://github.com/aravindavk/Gubbi/archive/v%{version}.tar.gz#/%{fontfamily}-%{version}.tar.gz
|
||||
Source1: 65-0-%{fontpkgname}.conf
|
||||
|
||||
%fontpkg
|
||||
|
||||
%prep
|
||||
%autosetup -n Gubbi-%{version}
|
||||
%autosetup -n %{fontfamily}-%{version}
|
||||
|
||||
%build
|
||||
%fontbuild
|
||||
make
|
||||
|
||||
%install
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||
%fontinstall
|
||||
|
||||
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
|
||||
%check
|
||||
%fontcheck
|
||||
|
||||
%fontfiles
|
||||
|
||||
%changelog
|
||||
* Wed May 24 2023 Parag Nemade <pnemade AT fedoraproject DOT org> - 1.3-13
|
||||
- Convert to new fonts packaging guidelines
|
||||
- Migrate to SPDX license expression
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
|
@ -1,14 +0,0 @@
|
||||
<?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>
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (gubbi-1.3.tar.gz) = d964da421e9132e6ae849f7a838316ea3be1466c7085109fe0b4f8371e7aa945891fbaac2f595af6065259b45a8c331c9a4bef88b3e4e4d2bdcd0701ba1ec175
|
||||
SHA512 (Gubbi-1.3.tar.gz) = d964da421e9132e6ae849f7a838316ea3be1466c7085109fe0b4f8371e7aa945891fbaac2f595af6065259b45a8c331c9a4bef88b3e4e4d2bdcd0701ba1ec175
|
||||
|
@ -5,7 +5,7 @@
|
||||
- role: custom-test-fonts
|
||||
required_packages:
|
||||
- gubbi-fonts
|
||||
path_prefix: /usr/share/fonts/gubbi
|
||||
path_prefix: /usr/share/fonts/gubbi-fonts
|
||||
coverage:
|
||||
- kn
|
||||
families:
|
||||
|
Loading…
Reference in New Issue
Block a user