From 33a31146c5e81743e1f0e1faca5056ae52de7491 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 15 Mar 2023 18:40:27 +0300 Subject: [PATCH] import lohit-bengali-fonts-2.91.5-13.el9 --- .gitignore | 1 + .lohit-bengali-fonts.metadata | 1 + SOURCES/bug-959994.patch | 25 +++++ SPECS/lohit-bengali-fonts.spec | 197 +++++++++++++++++++++++++++++++++ 4 files changed, 224 insertions(+) create mode 100644 .gitignore create mode 100644 .lohit-bengali-fonts.metadata create mode 100644 SOURCES/bug-959994.patch create mode 100644 SPECS/lohit-bengali-fonts.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8f73327 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lohit-bengali-2.91.5.tar.gz diff --git a/.lohit-bengali-fonts.metadata b/.lohit-bengali-fonts.metadata new file mode 100644 index 0000000..ccc5f3f --- /dev/null +++ b/.lohit-bengali-fonts.metadata @@ -0,0 +1 @@ +f71891875b5294df9d02420fa50908259f261ebd SOURCES/lohit-bengali-2.91.5.tar.gz diff --git a/SOURCES/bug-959994.patch b/SOURCES/bug-959994.patch new file mode 100644 index 0000000..5dce5dd --- /dev/null +++ b/SOURCES/bug-959994.patch @@ -0,0 +1,25 @@ +diff -rup lohit-bengali-2.5.3/65-0-lohit-bengali.conf lohit-bengali-2.5.3_mod/65-0-lohit-bengali.conf +--- lohit-bengali-2.5.3/65-0-lohit-bengali.conf 2013-01-30 17:31:46.000000000 +0530 ++++ lohit-bengali-2.5.3_mod/65-0-lohit-bengali.conf 2013-05-29 14:28:53.239651293 +0530 +@@ -22,6 +22,21 @@ + + + ++ ++ ++ Lohit Bengali ++ ++ ++ ++ lang ++ ++ as ++ ++ ++ ++ ++ ++ + + Lohit Bengali + diff --git a/SPECS/lohit-bengali-fonts.spec b/SPECS/lohit-bengali-fonts.spec new file mode 100644 index 0000000..d587db2 --- /dev/null +++ b/SPECS/lohit-bengali-fonts.spec @@ -0,0 +1,197 @@ +%global fontname lohit-bengali +%global fontconf 65-0-%{fontname}.conf +%global metainfo io.pagure.lohit.bengali.font.metainfo + +Name: %{fontname}-fonts +Version: 2.91.5 +Release: 13%{?dist} +Summary: Free Bengali script font +License: OFL +URL: https://pagure.io/lohit +Source0: https://releases.pagure.org/lohit/%{fontname}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: fontforge >= 20080429 +BuildRequires: fontpackages-devel +BuildRequires: python3-devel +BuildRequires: make +Requires: fontpackages-filesystem +Patch1: bug-959994.patch + + +%description +This package provides a free Bengali TrueType/OpenType font. + + +%prep +%setup -q -n %{fontname}-%{version} +mv 66-%{fontname}.conf 65-0-lohit-bengali.conf +%patch1 -p1 -b .1-removing-as-from-fc-cache + + +%build +make ttf %{?_smp_mflags} + +%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 %{fontconf} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf} +ln -s %{_fontconfig_templatedir}/%{fontconf} \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf} + +# Add AppStream metadata +install -Dm 0644 -p %{metainfo}.xml \ + %{buildroot}%{_datadir}/metainfo/%{metainfo}.xml + +%_font_pkg -f %{fontconf} *.ttf + +%doc ChangeLog COPYRIGHT OFL.txt AUTHORS README test-bengali.txt +%{_datadir}/metainfo/%{metainfo}.xml + + +%changelog +* Wed Mar 15 2023 MSVSphere Packaging Team - 2.91.5-13 +- Rebuilt for MSVSphere 9.1. + +* Mon Aug 09 2021 Mohan Boddu - 2.91.5-13 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 2.91.5-12 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Jan 26 2021 Fedora Release Engineering - 2.91.5-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 2.91.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 2.91.5-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 2.91.5-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Jul 16 2019 Vishal Vijayraghavan - 2.91.5-7 +- Added CI tests + +* Fri Feb 01 2019 Fedora Release Engineering - 2.91.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 2.91.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro HronĨok - 2.91.5-4 +- Rebuilt for Python 3.7 + +* Thu Feb 08 2018 Fedora Release Engineering - 2.91.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.91.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue May 30 2017 Pravin Satpute - 2.91.5-1 +- Upstream new release 2.91.5 +- Update metainfo file with latest specifications +- Changed location of metainfo to /usr/share/metainfo + +* Tue Mar 14 2017 Pravin Satpute - 2.91.4-1 +- Added BuildRequires: python3-devel. +- Resolves: #1423901 - FTBFS in rawhide. +- Migrated upstream from fedorahosted to pagure. + +* Fri Feb 10 2017 Fedora Release Engineering - 2.91.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 2.91.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Sep 29 2015 Pravin Satpute - 2.91.3-1 +- Upstream release 2.91.3 +- Added Unicode 8.0 characters. +- Removed Obsolete lohit-fonts-common. + +* Wed Jun 17 2015 Fedora Release Engineering - 2.91.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Mar 30 2015 Pravin Satpute - 2.91.2-1 +- Upstream release 2.91.2 +- Resolved issue of positioning #58 + +* Wed Dec 03 2014 Pravin Satpute - 2.91.1-1 +- Upstream new release with critical bugfixes. +- Resolves #1170135 Conjuncts rendering issue for some glyphs + +* Mon Oct 20 2014 Pravin Satpute - 2.91.0-2 +- Added metainfo for gnome-software + +* Mon Oct 13 2014 Pravin Satpute - 2.91.0-1 +- Upstream release 2.91.0 under lohit2 project +- Rewritten all GSUB rules. +- Open type feature available in .fea file for easy reusability. +- Developer friendly glyphname with following AGL guidelines. +- Font Information updated in sfd. +- Support bng2 and beng open type tags. +- "copy reference" feature implemented +- Automated testing support. +- Added test and README file. +- Done with lookup writings. +- Removed 38 unwanted glyphs. + +* Sat Jun 07 2014 Fedora Release Engineering - 2.5.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 2.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed May 29 2013 Pravin Satpute - 2.5.3-3 +- Resolved #959994 - Removed 'as' from fc-cache + +* Fri Apr 12 2013 Pravin Satpute - 2.5.3-2 +- Resolved #950523 + +* Thu Jan 31 2013 Pravin Satpute - 2.5.3-1 +- Upstream release 2.5.3 + +* Thu Nov 22 2012 Pravin Satpute - 2.5.2-2 +- Upstream release 2.5.2 + +* Thu Jul 19 2012 Fedora Release Engineering - 2.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Apr 23 2012 Pravin Satpute - 2.5.1-1 +- Upstream new release + +* Fri Jan 13 2012 Fedora Release Engineering - 2.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Oct 07 2011 Pravin Satpute - 2.5.0-1 +- Upstream new release with relicensing to OFL + +* Mon Jun 06 2011 Pravin Satpute - 2.4.3-8 +- fixed bug 705348 + +* Wed Apr 13 2011 Pravin Satpute - 2.4.3-7 +- fixed bug 692360 + +* Fri Feb 04 2011 Pravin Satpute - 2.4.3-6 +- fixed bug 673412, rupee sign + +* Fri Apr 16 2010 Pravin Satpute - 2.4.3-5 +- fixed bug 578030, conf file + +* Sun Dec 13 2009 Pravin Satpute - 2.4.3-4 +- fixed bug 548686, license field + +* Fri Sep 25 2009 Pravin Satpute - 2.4.3-3 +- updated specs + +* Wed Sep 09 2009 Pravin Satpute - 2.4.3-1 +- first release after lohit-fonts split in new tarball + +