RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/smc-rachana-fonts#e7386dd2782247e02bec8971e11f80c28651a4c0
This commit is contained in:
parent
93b9667ead
commit
9fbe1edc3e
3
.gitignore
vendored
3
.gitignore
vendored
@ -0,0 +1,3 @@
|
|||||||
|
rachana-Version*/
|
||||||
|
/rachana-Version7.0.1.tar.gz
|
||||||
|
/rachana-Version7.0.3.tar.gz
|
21
smc-rachana-fontconfig.conf
Normal file
21
smc-rachana-fontconfig.conf
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<match>
|
||||||
|
<test name="lang" compare="contains">
|
||||||
|
<string>ml</string>
|
||||||
|
</test>
|
||||||
|
<test name="family">
|
||||||
|
<string>serif</string>
|
||||||
|
</test>
|
||||||
|
<edit name="family" mode="prepend">
|
||||||
|
<string>Rachana</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<alias>
|
||||||
|
<family>Rachana</family>
|
||||||
|
<default>
|
||||||
|
<family>serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
86
smc-rachana-fonts.spec
Normal file
86
smc-rachana-fonts.spec
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
%global fontname smc-rachana
|
||||||
|
%global fontconf 65-0-%{fontname}.conf
|
||||||
|
|
||||||
|
Name: %{fontname}-fonts
|
||||||
|
Version: 7.0.3
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Open Type Fonts for Malayalam script
|
||||||
|
License: OFL
|
||||||
|
URL: https://gitlab.com/smc/fonts/rachana
|
||||||
|
Source0: %{url}/-/archive/Version%{version}/rachana-Version%{version}.tar.gz
|
||||||
|
Source1: %{fontname}-fontconfig.conf
|
||||||
|
Source2: %{fontname}.metainfo.xml
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: fontpackages-devel
|
||||||
|
BuildRequires: libappstream-glib
|
||||||
|
BuildRequires: brotli-devel
|
||||||
|
BuildRequires: fontforge-devel
|
||||||
|
BuildRequires: python3
|
||||||
|
BuildRequires: python3-fonttools
|
||||||
|
Requires: fontpackages-filesystem
|
||||||
|
Obsoletes: smc-fonts-common < 6.1-11
|
||||||
|
|
||||||
|
%description
|
||||||
|
Rachana is Malayalam font designed by Hussain K H.
|
||||||
|
The project was part of Rachana Aksharavedi for the original script
|
||||||
|
of Malayalam in the digital computing.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n rachana-Version%{version}
|
||||||
|
chmod 644 *.txt
|
||||||
|
rm -rf ttf
|
||||||
|
|
||||||
|
%build
|
||||||
|
make PY=python3
|
||||||
|
|
||||||
|
%install
|
||||||
|
|
||||||
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||||
|
install -m 0644 -p build/*.ttf %{buildroot}%{_fontdir}
|
||||||
|
|
||||||
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||||
|
%{buildroot}%{_fontconfig_confdir}
|
||||||
|
|
||||||
|
install -m 0644 -p %{SOURCE1} \
|
||||||
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||||
|
|
||||||
|
install -Dm 0644 -p %{SOURCE2} \
|
||||||
|
%{buildroot}%{_datadir}/metainfo/%{fontname}.metainfo.xml
|
||||||
|
|
||||||
|
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||||
|
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||||
|
|
||||||
|
%check
|
||||||
|
appstream-util validate-relax --nonet \
|
||||||
|
%{buildroot}%{_datadir}/metainfo/%{fontname}.metainfo.xml
|
||||||
|
|
||||||
|
%_font_pkg -f %{fontconf} *.ttf
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE.txt
|
||||||
|
%{_datadir}/metainfo/%{fontname}.metainfo.xml
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Feb 17 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 7.0.3-1
|
||||||
|
- New release smc-rachana-fonts-7.0.3
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 24 2019 Vishal Vijayraghavan <vishalvijayraghavan@gmail.com> - 7.0.1-4
|
||||||
|
- Font CI test added
|
||||||
|
|
||||||
|
* Mon Feb 25 2019 Vishal Vijayraghavan <vishalvijayraghavan@gmail.com> - 7.0.1-3
|
||||||
|
- Build font from sources
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Nov 28 2018 Vishal Vijayraghavan <vishalvijayraghavan@gmail.com> - 7.0.1-1
|
||||||
|
- first release of smc-rachana fonts
|
||||||
|
|
21
smc-rachana.metainfo.xml
Normal file
21
smc-rachana.metainfo.xml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="font">
|
||||||
|
<id>com.smcrachana</id>
|
||||||
|
<metadata_license>CC-BY-3.0</metadata_license>
|
||||||
|
<project_license>OFL-1.1</project_license>
|
||||||
|
<name>smc-rachana</name>
|
||||||
|
<summary>Open Type Fonts for Malayalam script.</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
Rachana is Malayalam font designed by Hussain K H. The project was part of Rachana
|
||||||
|
Aksharavedi for the original script of Malayalam in the digital computing.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<updatecontact>vishalvijayraghavan_at_gmail_dot_com</updatecontact>
|
||||||
|
<url type="homepage">https://gitlab.com/smc/fonts/rachana</url>
|
||||||
|
<provides>
|
||||||
|
<font>Rachana Bold</font>
|
||||||
|
<font>Rachana Regular</font>
|
||||||
|
</provides>
|
||||||
|
</component>
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (rachana-Version7.0.3.tar.gz) = fa9e2898975c35e1f0f8144870b9aada4d9a66e761b1a7ee80863075e46aa5dd22c4a413641aa5025b9bb75a829adfa1ae7031db2504872a7a9fadd2977f1fc6
|
45
tests/fonttest_playbook.yml
Normal file
45
tests/fonttest_playbook.yml
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
vars:
|
||||||
|
config:
|
||||||
|
fontname: smc-rachana
|
||||||
|
lang: ["ml"]
|
||||||
|
testgiturl: https://pagure.io/font_ci_testing.git
|
||||||
|
testgitclonepath: fonttest
|
||||||
|
testfilename: fonttest.py
|
||||||
|
testfilepath: /usr/local/bin
|
||||||
|
logfilepath: /tmp/test.log
|
||||||
|
artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
|
||||||
|
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
|
||||||
|
remote_user: root
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Install required package
|
||||||
|
dnf:
|
||||||
|
name:
|
||||||
|
- git
|
||||||
|
- "{{ config.fontname }}-fonts"
|
||||||
|
- python3
|
||||||
|
- fontconfig
|
||||||
|
|
||||||
|
- name: git clone the tests
|
||||||
|
git:
|
||||||
|
repo: "{{ config.testgiturl }}"
|
||||||
|
dest: "{{ config.testgitclonepath }}"
|
||||||
|
force: yes
|
||||||
|
|
||||||
|
- name: Test Execution
|
||||||
|
block:
|
||||||
|
- name: Execute the tests
|
||||||
|
command: python3 {{ config.testgitclonepath }}/tests/{{ config.testfilename }} "{{ config }}"
|
||||||
|
|
||||||
|
always:
|
||||||
|
- name: Pull out the artifacts
|
||||||
|
fetch:
|
||||||
|
dest: "{{ config.artifacts }}/"
|
||||||
|
src: "{{ item }}"
|
||||||
|
flat: yes
|
||||||
|
with_items:
|
||||||
|
- "{{ config.logfilepath }}"
|
1
tests/tests.yml
Normal file
1
tests/tests.yml
Normal file
@ -0,0 +1 @@
|
|||||||
|
- import_playbook: fonttest_playbook.yml
|
Loading…
Reference in New Issue
Block a user