import smc-fonts-6.1-10.el8

This commit is contained in:
CentOS Sources 2019-05-07 07:25:10 -04:00 committed by Andrew Lukoshko
commit 7725316c37
10 changed files with 537 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/malayalam-fonts-6.1.tar.xz

1
.smc-fonts.metadata Normal file
View File

@ -0,0 +1 @@
6ae45584515162dab94eff5d4629222d39dcb591 SOURCES/malayalam-fonts-6.1.tar.xz

View 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>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Meera</string>
</edit>
</match>
<alias>
<family>Meera</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View 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>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang">
<string>ml-in</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>AnjaliOldLipi</string>
</edit>
</match>
<alias>
<family>AnjaliOldLipi</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang">
<string>ml-in</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Dyuthi</string>
</edit>
</match>
<alias>
<family>Dyuthi</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang">
<string>ml-in</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Kalyani</string>
</edit>
</match>
<alias>
<family>Kalyani</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang">
<string>ml-in</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>RaghuMalayalam</string>
</edit>
</match>
<alias>
<family>RaghuMalayalam</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang">
<string>ml-in</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>suruma</string>
</edit>
</match>
<alias>
<family>suruma</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

388
SPECS/smc-fonts.spec Normal file
View File

@ -0,0 +1,388 @@
%global fontname smc
# Common description
%global common_desc \
The SMC Fonts package contains fonts for the display of\
traditional and new Malayalam Script.
Name: %{fontname}-fonts
Version: 6.1
Release: 10%{?dist}
Summary: Open Type Fonts for Malayalam script
License: GPLv3+ with exceptions and GPLv2+ with exceptions and GPLv2+ and GPLv2 and GPL+
URL: http://savannah.nongnu.org/projects/smc
Source0: http://download.savannah.gnu.org/releases/smc/fonts/malayalam-fonts-%{version}.tar.xz
Source1: 65-0-smc-meera.conf
Source2: 67-smc-anjalioldlipi.conf
Source3: 67-smc-dyuthi.conf
Source4: 67-smc-kalyani.conf
Source5: 65-0-smc-rachana.conf
Source6: 67-smc-raghumalayalam.conf
Source7: 67-smc-suruma.conf
BuildArch: noarch
BuildRequires: fontpackages-devel > 1.13
BuildRequires: fontforge >= 20080429
%description
%common_desc
%package common
Summary: Common files for smc-fonts
Requires: fontpackages-filesystem
%description common
%common_desc
%package -n %{fontname}-dyuthi-fonts
Summary: Open Type Fonts for Malayalam script
Requires: %{name}-common = %{version}-%{release}
License: GPLv3+ with exceptions
%description -n %{fontname}-dyuthi-fonts
The Dyuthi font package contains fonts for the display of
traditional Malayalam Scripts.
%_font_pkg -n dyuthi -f 67-smc-dyuthi.conf Dyuthi*.ttf
%{_datadir}/appdata/smc-dyuthi.metainfo.xml
%doc Dyuthi/COPYING
%package -n %{fontname}-meera-fonts
Summary: Open Type Fonts for Malayalam script
Requires: %{name}-common = %{version}-%{release}
License: GPLv2+ with exceptions
%description -n %{fontname}-meera-fonts
The Meera font package contains fonts for the display of
traditional Malayalam Scripts.
%_font_pkg -n meera -f 65-0-smc-meera.conf Meera.ttf
%{_datadir}/appdata/smc-meera.metainfo.xml
%doc Meera/COPYING Meera/README
%package -n %{fontname}-rachana-fonts
Summary: Open Type Fonts for Malayalam script
Requires: %{name}-common = %{version}-%{release}
License: GPLv2+
%description -n %{fontname}-rachana-fonts
The Rachana font package contains fonts for the display of
traditional Malayalam Scripts.
%_font_pkg -n rachana -f 65-0-smc-rachana.conf Rachana.ttf
%{_datadir}/appdata/smc-rachana.metainfo.xml
%doc Rachana/COPYING Rachana/LICENSE Rachana/README
%package -n %{fontname}-raghumalayalam-fonts
Summary: Open Type Fonts for Malayalam script
Requires: %{name}-common = %{version}-%{release}
License: GPLv2
%description -n %{fontname}-raghumalayalam-fonts
The SMC Malayalam fonts package contains fonts for the display of
new Malayalam Scripts.
%_font_pkg -n raghumalayalam -f 67-smc-raghumalayalam.conf RaghuMalayalamSans.ttf
%{_datadir}/appdata/smc-raghumalayalam.metainfo.xml
%doc RaghuMalayalamSans/COPYING
%package -n %{fontname}-suruma-fonts
Summary: Open Type Fonts for Malayalam script
Requires: %{name}-common = %{version}-%{release}
License: GPLv3 with exceptions
%description -n %{fontname}-suruma-fonts
The Suruma font package contains fonts for the display of
traditional Malayalam Scripts.
%_font_pkg -n suruma -f 67-smc-suruma.conf Suruma.ttf
%{_datadir}/appdata/smc-suruma.metainfo.xml
%doc Suruma/COPYING Suruma/README
%package -n %{fontname}-kalyani-fonts
Summary: Open Type Fonts for Malayalam script
Requires: %{name}-common = %{version}-%{release}
License: GPLv3+ with exceptions
%description -n %{fontname}-kalyani-fonts
The Kalyani font package contains fonts for the display of
new Malayalam Scripts.
%_font_pkg -n kalyani -f 67-smc-kalyani.conf Kalyani.ttf
%{_datadir}/appdata/smc-kalyani.metainfo.xml
%doc Kalyani/COPYING
%package -n %{fontname}-anjalioldlipi-fonts
Summary: Open Type Fonts for Malayalam script
Requires: %{name}-common = %{version}-%{release}
License: OFL
%description -n %{fontname}-anjalioldlipi-fonts
The Anjali OldLipi package contains fonts for the display of
traditional Malayalam Scripts.
%_font_pkg -n anjalioldlipi -f 67-smc-anjalioldlipi.conf AnjaliOldLipi.ttf
%{_datadir}/appdata/smc-anjalioldlipi.metainfo.xml
%doc AnjaliOldLipi/COPYING
%prep
%setup -q -n fonts
sed -i 's/\r//' */COPYING
sed -i 's/\r//' Rachana/LICENSE
%build
chmod +x generate.pe
make
%install
#%%{_fontdir} is shared by all subpackages since they all are for malayalam script only
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p AnjaliOldLipi/*.ttf %{buildroot}%{_fontdir}
install -m 0644 -p Dyuthi/*.ttf %{buildroot}%{_fontdir}
install -m 0644 -p Kalyani/*.ttf %{buildroot}%{_fontdir}
install -m 0644 -p Meera/*.ttf %{buildroot}%{_fontdir}
install -m 0644 -p Rachana/*.ttf %{buildroot}%{_fontdir}
install -m 0644 -p RaghuMalayalamSans/*.ttf %{buildroot}%{_fontdir}
install -m 0644 -p Suruma/*.ttf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE1} \
%{buildroot}%{_fontconfig_templatedir}/65-0-smc-meera.conf
install -m 0644 -p %{SOURCE2} \
%{buildroot}%{_fontconfig_templatedir}/67-smc-anjalioldlipi.conf
install -m 0644 -p %{SOURCE3} \
%{buildroot}%{_fontconfig_templatedir}/67-smc-dyuthi.conf
install -m 0644 -p %{SOURCE4} \
%{buildroot}%{_fontconfig_templatedir}/67-smc-kalyani.conf
install -m 0644 -p %{SOURCE5} \
%{buildroot}%{_fontconfig_templatedir}/65-0-smc-rachana.conf
install -m 0644 -p %{SOURCE6} \
%{buildroot}%{_fontconfig_templatedir}/67-smc-raghumalayalam.conf
install -m 0644 -p %{SOURCE7} \
%{buildroot}%{_fontconfig_templatedir}/67-smc-suruma.conf
for fconf in 65-0-smc-meera.conf \
67-smc-anjalioldlipi.conf \
67-smc-dyuthi.conf \
67-smc-kalyani.conf \
65-0-smc-rachana.conf \
67-smc-raghumalayalam.conf \
67-smc-suruma.conf ; do
ln -s %{_fontconfig_templatedir}/$fconf \
%{buildroot}%{_fontconfig_confdir}/$fconf
done
# Add AppStream data
install -Dm 0644 -p smc.metainfo.xml \
%{buildroot}%{_datadir}/appdata/smc.metainfo.xml
install -Dm 0644 -p AnjaliOldLipi/smc-anjalioldlipi.metainfo.xml \
%{buildroot}%{_datadir}/appdata/smc-anjalioldlipi.metainfo.xml
install -Dm 0644 -p Dyuthi/smc-dyuthi.metainfo.xml \
%{buildroot}%{_datadir}/appdata/smc-dyuthi.metainfo.xml
install -Dm 0644 -p Kalyani/smc-kalyani.metainfo.xml \
%{buildroot}%{_datadir}/appdata/smc-kalyani.metainfo.xml
install -Dm 0644 -p Meera/smc-meera.metainfo.xml \
%{buildroot}%{_datadir}/appdata/smc-meera.metainfo.xml
install -Dm 0644 -p Rachana/smc-rachana.metainfo.xml \
%{buildroot}%{_datadir}/appdata/smc-rachana.metainfo.xml
install -Dm 0644 -p RaghuMalayalamSans/smc-raghumalayalam.metainfo.xml \
%{buildroot}%{_datadir}/appdata/smc-raghumalayalam.metainfo.xml
install -Dm 0644 -p Suruma/smc-suruma.metainfo.xml \
%{buildroot}%{_datadir}/appdata/smc-suruma.metainfo.xml
%files common
%{_datadir}/appdata/%{fontname}.metainfo.xml
%doc ChangeLog
%changelog
* Thu Jul 12 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 6.1-10
- Update Source tag
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Nov 6 2014 Rajeesh K V <rajeeshknambiar@fedoraproject.org> 6.1-4
- Fix synatx issue with appstream metafile in new release 6.1
* Wed Nov 5 2014 Rajeesh K V <rajeeshknambiar@fedoraproject.org> 6.1-3
- Updated license for AnjaliOldLipi to OFL 1.1
- Drop the email confirmation on AnjaliOldLipi license
* Tue Oct 21 2014 Rajeesh K V <rajeeshknambiar@fedoraproject.org> 6.1-2
- Bugfixes to AppStream files
* Fri Oct 17 2014 Rajeesh K V <rajeeshknambiar@fedoraproject.org> 6.1-1
- New upstream release with many enhancements and bugfixes
- Metainfo file for AppData/Software Center
- Drop patch for Fedora bug#803234 which is fixed upstream
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Jan 23 2014 Pravin Satpute <psatpute@redhat.com> 6.0-7
- Resolves bug #1056845: some packaging issues
- Notice release bump from 2 to 7
* Wed Nov 20 2013 Pravin Satpute <psatpute@redhat.com> 6.0-2
- Minor git cleanup and spec fixes
* Sat Oct 26 2013 Rajeesh K Nambiar <rajeeshknambiar@fedoraproject.org> 6.0-1
- New release 6.0 with many new features and bug fixes
- v2 opentype spec support for Malayalam (mlm2) for Meera, Rachana, Raghumalayalam
- Full support to Harfbuzz, Adobe and Uniscribe shaping engines
- Cleaned up and updated lookup tables
- Meaningful names to glyphs to help with Lookup tables reusability
- Old Figures and other Typographical glyphs to Rachana
- Dotreph positioning using GPOS 'abvm' lookup
- Unicode 6.1 Malayalam glyphset for many fonts
* Wed Sep 04 2013 Pravin Satpute <psatpute@redhat.com> 5.0.1-7
- Resolves bug #873635 - Fixes against harfbuzz NG
- Created patch against upstream git repo
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Tue Nov 27 2012 Pravin Satpute <psatpute@redhat.com> 5.0.1-4
- Spec file clean up #880052
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Apr 13 2012 Pravin Satpute <psatpute@redhat.com> 5.0.1-2
- Resolved bug 803234
- Updated panose for Meera, RaghuMalayalam and Kalyani
- Changed conf file of Rachana from Sans to Serir
* Sat Mar 17 2012 Rajeesh K Nambiar <rajeeshknambiar@gmail.com> 5.0.1-1
- New upstream release 5.0.1 introducing Unicode 5.1 compatibility
- Resolves Meera size issues
- Drop upstreamed patches for RHBZ# 545683, 616324 and 781938
- Resolves RHBZ# 803183
- Spec cleanup
* Mon Jan 16 2012 Pravin Satpute <psatpute@redhat.com> 4.4-7
- Resolved bug 781938
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Nov 16 2010 Naveen Kumar <nkumar@redhat.com> - 4.4.4
- rectify error to directly install fonts in fontdir instead of subdir in fontdir
- Resolves bug #653608
* Tue Nov 16 2010 Rajeesh K Nambiar <rajeeshknambiar@gmail.com> - 4.4.3
- Resolves bug #653608
* Mon Aug 16 2010 Naveen Kumar <nkumar@redhat.com> - 4.4.2
- apply patch smc-fonts_616324.patch created from Pravin S' src Modification
- resolves bug #616324
* Fri Jul 16 2010 Naveen Kumar <nkumar@redhat.com> - 4.4.1
- new release from upstream
- changes in spec file to incorporate new build from sfd source
- remove patch bug-523454.patch
- reolves bug #586283
- reolves bug #586286
* Fri Jun 11 2010 Naveen Kumar <nkumar@redhat.com> - 04.2.10
- resolves bug 563841
* Fri Apr 30 2010 Naveen Kumar <nkumar@redhat.com> - 04.2.9
- oops! forgot to rename 66-smc-meera.conf to 65-0-smc-meera.conf in INSTALL in spec file
- oops! forgot to remove 66-smc-meera.conf
- resolves Bug #586288
* Fri Apr 30 2010 Naveen Kumar <nkumar@redhat.com> - 04.2.8
- rename 66-smc-meera.conf to 65-0-smc-meera.conf
- resolves Bug #586288
* Fri Apr 16 2010 Naveen Kumar <nkumar@redhat.com> - 04.2.7
- remove binding="same" from all .conf files
- resolves Bug #578046
* Thu Feb 25 2010 Pravin Satpute <psatpute@redhat.com> 04.2-6
- resolved bug 568229
- fixed license of suruma and anjali-old-lipi
- done .conf cleanup
* Tue Feb 23 2010 Pravin Satpute <psatpute@redhat.com> 04.2-5
- added .conf file for each subpackage
- fixed source url
- resolves bug : 567496
* Mon Dec 21 2009 Pravin Satpute <psatpute@redhat.com> 04.2-4
- updated meera conf file
* Wed Dec 09 2009 Pravin Satpute <psatpute@redhat.com> 04.2-3
- bugfix 545683
* Wed Oct 14 2009 Pravin Satpute <psatpute@redhat.com> 04.2-2
- bugfix 523454
* Tue Aug 18 2009 Rajeesh K Nambiar <rajeeshknambiar@gmail.com> 04.2-1
- bugfix 484536 for Meera
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 04.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Fri Apr 03 2009 Pravin Satpute <psatpute@redhat.com> 04.1-6
- bugfix 493814
- added 'Provides' field for packages
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 04.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Jan 22 2009 Rajeesh K Nambiar <rajeeshknambiar@gmail.com> 04.1-4
- change descriptions
- fix bug in kalyani font's obsoleting version number
- move _font_pkg macros next to corresponding packages
* Sat Jan 17 2009 Rajeesh K Nambiar <rajeeshknambiar@gmail.com> 04.1-3
- update for new font guidelines
* Tue Jan 06 2009 Pravin Satpute <psatpute@redhat.com> 04.1-2
- bugfix 477458
- updated spec
* Tue Jul 29 2008 Pravin Satpute <psatpute@redhat.com> 04.1-1
- new upstream release
- fontconfig rule for size adjustment of Meera is added
- two new fonts kalyani and anjalioldlipi
- bugfix 448078
* Tue Apr 15 2008 Pravin Satpute <psatpute@redhat.com> 04-6
- corrected meera fonts description it is for traditional script
* Tue Apr 15 2008 Pravin Satpute <psatpute@redhat.com> 04-5
- removed -n {fontname}-fonts from all fields
* Mon Apr 14 2008 Pravin Satpute <psatpute@redhat.com> 04-4
- added comment about sharing directory in spec file
- fontdir will be 'smc' only instead of 'smc-fonts' earlier
* Wed Apr 9 2008 Pravin Satpute <psatpute@redhat.com> 04-3
- defattr now comes after files
- s/malayalam/Malayalam in description
- removed '-fonts' from fontdir variable value
* Fri Apr 4 2008 Pravin Satpute <psatpute@redhat.com> 04-2
- done changes in spec file as suggested in review request
- changed variable name from xfontdir to fontdir
* Thu Apr 3 2008 Pravin Satpute <psatpute@redhat.com> 04-1
- initial packaging