From caf017b61aba34d30ca8227fed59e473ff601dc8 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 17 May 2022 06:16:20 -0400 Subject: [PATCH] import smc-rachana-fonts-7.0.3-5.el9 --- .gitignore | 1 + .smc-rachana-fonts.metadata | 1 + SOURCES/smc-rachana-fontconfig.conf | 21 +++++++ SOURCES/smc-rachana.metainfo.xml | 21 +++++++ SPECS/smc-rachana-fonts.spec | 97 +++++++++++++++++++++++++++++ 5 files changed, 141 insertions(+) create mode 100644 .gitignore create mode 100644 .smc-rachana-fonts.metadata create mode 100644 SOURCES/smc-rachana-fontconfig.conf create mode 100644 SOURCES/smc-rachana.metainfo.xml create mode 100644 SPECS/smc-rachana-fonts.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0f2037a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/rachana-Version7.0.3.tar.gz diff --git a/.smc-rachana-fonts.metadata b/.smc-rachana-fonts.metadata new file mode 100644 index 0000000..e6a5f7e --- /dev/null +++ b/.smc-rachana-fonts.metadata @@ -0,0 +1 @@ +46f88887a7599928adb428d3a46653ad2ea918f1 SOURCES/rachana-Version7.0.3.tar.gz diff --git a/SOURCES/smc-rachana-fontconfig.conf b/SOURCES/smc-rachana-fontconfig.conf new file mode 100644 index 0000000..9cd98fa --- /dev/null +++ b/SOURCES/smc-rachana-fontconfig.conf @@ -0,0 +1,21 @@ + + + + + + ml + + + serif + + + Rachana + + + + Rachana + + serif + + + diff --git a/SOURCES/smc-rachana.metainfo.xml b/SOURCES/smc-rachana.metainfo.xml new file mode 100644 index 0000000..6b6291c --- /dev/null +++ b/SOURCES/smc-rachana.metainfo.xml @@ -0,0 +1,21 @@ + + + com.smcrachana + CC-BY-3.0 + OFL-1.1 + smc-rachana + Open Type Fonts for Malayalam script. + +

+ 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. +

+
+ + vishalvijayraghavan_at_gmail_dot_com + https://gitlab.com/smc/fonts/rachana + + Rachana Bold + Rachana Regular + +
diff --git a/SPECS/smc-rachana-fonts.spec b/SPECS/smc-rachana-fonts.spec new file mode 100644 index 0000000..8c831f0 --- /dev/null +++ b/SPECS/smc-rachana-fonts.spec @@ -0,0 +1,97 @@ +%global fontname smc-rachana +%global fontconf 65-0-%{fontname}.conf + +Name: %{fontname}-fonts +Version: 7.0.3 +Release: 5%{?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: make +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 +* Tue Aug 10 2021 Mohan Boddu - 7.0.3-5 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 7.0.3-4 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Wed Jan 27 2021 Fedora Release Engineering - 7.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 7.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Feb 17 2020 Vishal Vijayraghavan - 7.0.3-1 +- New release smc-rachana-fonts-7.0.3 + +* Thu Jan 30 2020 Fedora Release Engineering - 7.0.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 7.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jul 24 2019 Vishal Vijayraghavan - 7.0.1-4 +- Font CI test added + +* Mon Feb 25 2019 Vishal Vijayraghavan - 7.0.1-3 +- Build font from sources + +* Sat Feb 02 2019 Fedora Release Engineering - 7.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Nov 28 2018 Vishal Vijayraghavan - 7.0.1-1 +- first release of smc-rachana fonts +