commit 4992e4d689d34b8912247d209a631b7bf9024a39 Author: CentOS Sources Date: Tue May 7 09:42:20 2019 -0400 import samyak-fonts-1.2.2-19.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ae81af1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/samyak-fonts-1.2.2.tar.gz diff --git a/.samyak-fonts.metadata b/.samyak-fonts.metadata new file mode 100644 index 0000000..e742221 --- /dev/null +++ b/.samyak-fonts.metadata @@ -0,0 +1 @@ +a7e09b20e23399cb3a53658063e006d9713f6799 SOURCES/samyak-fonts-1.2.2.tar.gz diff --git a/SOURCES/66-samyak-devanagari.conf b/SOURCES/66-samyak-devanagari.conf new file mode 100644 index 0000000..c446a9b --- /dev/null +++ b/SOURCES/66-samyak-devanagari.conf @@ -0,0 +1,131 @@ + + + + + + hi + + + serif + + + Samyak Devanagari + + + + + + mr + + + serif + + + Samyak Devanagari + + + + + + kok + + + serif + + + Samyak Devanagari + + + + + + ks@devanagari + + + serif + + + Lohit Devanagari + + + + + + sd-in@devanagari + + + serif + + + Samyak Devanagari + + + + + + mai + + + serif + + + Samyak Devanagari + + + + + + ne + + + serif + + + Samyak Devanagari + + + + + + brx + + + serif + + + Samyak Devanagari + + + + + + doi + + + serif + + + Samyak Devanagari + + + + + + sa + + + serif + + + Samyak Devanagari + + + + + Samyak Devanagari + + serif + + + + diff --git a/SOURCES/67-samyak-gujarati.conf b/SOURCES/67-samyak-gujarati.conf new file mode 100644 index 0000000..26fe037 --- /dev/null +++ b/SOURCES/67-samyak-gujarati.conf @@ -0,0 +1,22 @@ + + + + + + gu + + + serif + + + Samyak Gujarati + + + + Samyak Gujarati + + serif + + + + diff --git a/SOURCES/67-samyak-odia.conf b/SOURCES/67-samyak-odia.conf new file mode 100644 index 0000000..e444523 --- /dev/null +++ b/SOURCES/67-samyak-odia.conf @@ -0,0 +1,22 @@ + + + + + + or-in + + + serif + + + Samyak Odia + + + + Samyak Odia + + serif + + + + diff --git a/SOURCES/67-samyak-tamil.conf b/SOURCES/67-samyak-tamil.conf new file mode 100644 index 0000000..c0c9698 --- /dev/null +++ b/SOURCES/67-samyak-tamil.conf @@ -0,0 +1,22 @@ + + + + + + ta + + + serif + + + Samyak Tamil + + + + Samyak Tamil + + serif + + + + diff --git a/SOURCES/68-samyak-malayalam.conf b/SOURCES/68-samyak-malayalam.conf new file mode 100644 index 0000000..3743bf3 --- /dev/null +++ b/SOURCES/68-samyak-malayalam.conf @@ -0,0 +1,22 @@ + + + + + + ml + + + serif + + + Samyak Malayalam + + + + Samyak Malayalam + + serif + + + + diff --git a/SOURCES/bug-1040288.patch b/SOURCES/bug-1040288.patch new file mode 100644 index 0000000..4737af9 --- /dev/null +++ b/SOURCES/bug-1040288.patch @@ -0,0 +1,14 @@ +diff -rup samyak-fonts-1.2.2/oriya/Samyak_Oriya.sfd samyak-fonts-1.2.2_mod/oriya/Samyak_Oriya.sfd +--- samyak-fonts-1.2.2/oriya/Samyak_Oriya.sfd 2010-06-10 14:40:24.000000000 +0530 ++++ samyak-fonts-1.2.2_mod/oriya/Samyak_Oriya.sfd 2014-04-28 12:53:45.510897337 +0530 +@@ -1,7 +1,7 @@ + SplineFontDB: 3.0 +-FontName: Samyak-Oriya +-FullName: Samyak Oriya +-FamilyName: Samyak Oriya ++FontName: Samyak-Odia ++FullName: Samyak Odia ++FamilyName: Samyak Odia + Weight: Medium + Copyright: Created by:\nRahul Bhalerao , \nSandeep Shedmake , \nBageshri Salvi , \nPravin Satpute \n\nGNU GPL V.3 or later (with Font Exception), Copyright `2005-2006 by H.B.C.S.E., T.I.F.R.,\nHomi Bhabha Centre For Science Education, \nTata Institute Of Fundamental Research,\nV.N. Purav Marg, Mankhurd, \nMumbai 400 088, INDIA.\n\nAs a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. \n\nFor detailed license see: \nwww.gnu.org and\nhttp://www.gnu.org/licenses/gpl-faq.html#FontException\n\nFurther info :http://sarovar.org/projects/samyak/\nwww.gnowledge.org\n\nCONTACTS:\nNagarjuna G.\nEmail:nagarjun@gnowledge.org + Version: 1.2.2 diff --git a/SOURCES/samyak-devanagari.metainfo.xml b/SOURCES/samyak-devanagari.metainfo.xml new file mode 100644 index 0000000..f2e7b6d --- /dev/null +++ b/SOURCES/samyak-devanagari.metainfo.xml @@ -0,0 +1,15 @@ + + + samyak-devanagari + CC-BY-3.0 + Samyak + Free Indian truetype/opentype fonts + +

+ The Samyak package contains fonts for the display of + Scripts Devanagari, Gujarati, Malayalam, Odia and Tamil +

+
+ psatpute_at_redhat_dot_com + http://sarovar.org/projects/samyak/ +
diff --git a/SOURCES/samyak-gujarati.metainfo.xml b/SOURCES/samyak-gujarati.metainfo.xml new file mode 100644 index 0000000..e7b4638 --- /dev/null +++ b/SOURCES/samyak-gujarati.metainfo.xml @@ -0,0 +1,6 @@ + + + samyak-gujarati + CC0-1.0 + samyak-devanagari + diff --git a/SOURCES/samyak-malayalam.metainfo.xml b/SOURCES/samyak-malayalam.metainfo.xml new file mode 100644 index 0000000..959f1ba --- /dev/null +++ b/SOURCES/samyak-malayalam.metainfo.xml @@ -0,0 +1,6 @@ + + + samyak-malayalam + CC0-1.0 + samyak-devanagari + diff --git a/SOURCES/samyak-odia.metainfo.xml b/SOURCES/samyak-odia.metainfo.xml new file mode 100644 index 0000000..a3bd5ac --- /dev/null +++ b/SOURCES/samyak-odia.metainfo.xml @@ -0,0 +1,6 @@ + + + samyak-odia + CC0-1.0 + samyak-devanagari + diff --git a/SOURCES/samyak-tamil.metainfo.xml b/SOURCES/samyak-tamil.metainfo.xml new file mode 100644 index 0000000..2ee3f7c --- /dev/null +++ b/SOURCES/samyak-tamil.metainfo.xml @@ -0,0 +1,6 @@ + + + samyak-tamil + CC0-1.0 + samyak-devanagari + diff --git a/SPECS/samyak-fonts.spec b/SPECS/samyak-fonts.spec new file mode 100644 index 0000000..d166c5b --- /dev/null +++ b/SPECS/samyak-fonts.spec @@ -0,0 +1,272 @@ +%global fontname samyak +%global fontconf 67-%{fontname} + +# Common description +%global common_desc \ +The Samyak package contains fonts for the display of \ +Scripts Devanagari, Gujarati, Malayalam, Odia and Tamil + +Name: %{fontname}-fonts +Version: 1.2.2 +Release: 19%{?dist} +Summary: Free Indian truetype/opentype fonts +Group: User Interface/X +License: GPLv3+ with exceptions +URL: http://sarovar.org/projects/samyak/ +# Source0: http://sarovar.org/frs/?group_id=461&release_id=821 +Source: samyak-fonts-%{version}.tar.gz +Source1: 66-samyak-devanagari.conf +Source2: 67-samyak-tamil.conf +Source3: 68-samyak-malayalam.conf +Source4: 67-samyak-gujarati.conf +Source5: 67-samyak-odia.conf +Source7: %{fontname}-devanagari.metainfo.xml +Source8: %{fontname}-tamil.metainfo.xml +Source9: %{fontname}-malayalam.metainfo.xml +Source10: %{fontname}-gujarati.metainfo.xml +Source11: %{fontname}-odia.metainfo.xml + +BuildArch: noarch +BuildRequires: fontpackages-devel +BuildRequires: fontforge >= 20080429 +Patch1: bug-1040288.patch + +%description +%common_desc + +%package common +Summary: Common files for samyak-fonts +Group: User Interface/X +Requires: fontpackages-filesystem +%description common +%common_desc + +%package -n %{fontname}-devanagari-fonts +Summary: Open Type Fonts for Devanagari script +Group: User Interface/X +Requires: %{name}-common = %{version}-%{release} +License: GPLv3+ with exceptions +%description -n %{fontname}-devanagari-fonts +This package contains truetype/opentype font for the display of \ +Scripts Devanagari. + +%_font_pkg -n devanagari -f 66-samyak-devanagari.conf Samyak-Devanagari.ttf +%{_datadir}/appdata/%{fontname}-devanagari.metainfo.xml + +%package -n %{fontname}-tamil-fonts +Summary: Open Type Fonts for Tamil script +Group: User Interface/X +Requires: %{name}-common = %{version}-%{release} +License: GPLv3+ with exceptions +%description -n %{fontname}-tamil-fonts +This package contains truetype/opentype font for the display of \ +Scripts Tamil. + +%_font_pkg -n tamil -f %{fontconf}-tamil.conf Samyak-Tamil.ttf +%{_datadir}/appdata/%{fontname}-tamil.metainfo.xml + +%package -n %{fontname}-malayalam-fonts +Summary: Open Type Fonts for Malayalam script +Group: User Interface/X +Requires: %{name}-common = %{version}-%{release} +License: GPLv3+ with exceptions +%description -n %{fontname}-malayalam-fonts +This package contains truetype/opentype font for the display of \ +Scripts Malayalam. + +%_font_pkg -n malayalam -f 68-samyak-malayalam.conf Samyak-Malayalam.ttf +%{_datadir}/appdata/%{fontname}-malayalam.metainfo.xml + +%package -n %{fontname}-gujarati-fonts +Summary: Open Type Fonts for Gujarati script +Group: User Interface/X +Requires: %{name}-common = %{version}-%{release} +License: GPLv3+ with exceptions +%description -n %{fontname}-gujarati-fonts +This package contains truetype/opentype font for the display of \ +Scripts Gujarati. + +%_font_pkg -n gujarati -f %{fontconf}-gujarati.conf Samyak-Gujarati.ttf +%{_datadir}/appdata/%{fontname}-gujarati.metainfo.xml + +%package -n %{fontname}-odia-fonts +Summary: Open Type Fonts for Odia script +Group: User Interface/X +Requires: %{name}-common = %{version}-%{release} +License: GPLv3+ with exceptions +Provides: %{fontname}-oriya-fonts = %{version}-%{release} +Obsoletes: %{fontname}-oriya-fonts < 1.2.2-12 +%description -n %{fontname}-odia-fonts +This package contains truetype/opentype font for the display of \ +Scripts Odia. + +%_font_pkg -n odia -f %{fontconf}-odia.conf Samyak-Odia.ttf +%{_datadir}/appdata/%{fontname}-odia.metainfo.xml + +%prep +%setup -q -n samyak-fonts-%{version} +%patch1 -p1 -b .1-change-name-from-oriya-to-odia + + +%build +mkdir -p TTFfiles/ +./generate.pe */*.sfd + +%install +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p TTFfiles/*.ttf %{buildroot}%{_fontdir} + +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ + %{buildroot}%{_fontconfig_confdir} + +# Repeat for every font family +install -m 0644 -p %{SOURCE1} \ + %{buildroot}%{_fontconfig_templatedir}/66-samyak-devanagari.conf + +install -m 0644 -p %{SOURCE2} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-tamil.conf + +install -m 0644 -p %{SOURCE3} \ + %{buildroot}%{_fontconfig_templatedir}/68-samyak-malayalam.conf + +install -m 0644 -p %{SOURCE4} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-gujarati.conf + +install -m 0644 -p %{SOURCE5} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-odia.conf + + +for fconf in 66-samyak-devanagari.conf \ + %{fontconf}-tamil.conf \ + 68-samyak-malayalam.conf \ + %{fontconf}-gujarati.conf \ + %{fontconf}-odia.conf ; do + ln -s %{_fontconfig_templatedir}/$fconf \ + %{buildroot}%{_fontconfig_confdir}/$fconf +done + +# Add AppStream metadata +install -Dm 0644 -p %{SOURCE7} \ + %{buildroot}%{_datadir}/appdata/%{fontname}-devanagari.metainfo.xml +install -Dm 0644 -p %{SOURCE8} \ + %{buildroot}%{_datadir}/appdata/%{fontname}-tamil.metainfo.xml +install -Dm 0644 -p %{SOURCE9} \ + %{buildroot}%{_datadir}/appdata/%{fontname}-malayalam.metainfo.xml +install -Dm 0644 -p %{SOURCE10} \ + %{buildroot}%{_datadir}/appdata/%{fontname}-gujarati.metainfo.xml +install -Dm 0644 -p %{SOURCE11} \ + %{buildroot}%{_datadir}/appdata/%{fontname}-odia.metainfo.xml + + +%files common +%doc COPYING README AUTHORS +%dir %{_fontdir} + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.2.2-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.2.2-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.2.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.2.2-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 1.2.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Nov 17 2014 Pravin Satpute 1.2.2-14 +- Added Metainfo for gnome-software + +* Sun Jun 08 2014 Fedora Release Engineering - 1.2.2-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Apr 28 2014 Pravin Satpute 1.2.2-12 +- Resolved bug #1040288 - Changed name from Oriya to Odia + +* Sun Aug 04 2013 Fedora Release Engineering - 1.2.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.2.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Nov 27 2012 Pravin Satpute 1.2.2-9 +- spec file clean up + +* Tue Nov 20 2012 Pravin Satpute 1.2.2-8 +- spec file clean up + +* Sat Jul 21 2012 Fedora Release Engineering - 1.2.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.2.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Jun 22 2011 Pravin Satpute 1.2.2-5 +- Resolved bug 714926 + +* Wed Feb 09 2011 Fedora Release Engineering - 1.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Nov 16 2010 Naveen Kumar - 1.2.2-3 +- rectify error to directly install fonts in fontdir instead of subdir in fontdir + +* Thu Jun 10 2010 Naveen Kumar 1.2.2-2 +- OOPS! forgot to add pkg fontforge in BuildRequires + +* Thu Jun 10 2010 Naveen Kumar 1.2.2-1 +- new release from upstream with source +- changes in spec file to source compile + +* Tue May 4 2010 Naveen Kumar 1.2.1-10 +- remove binding="same" from all .conf files + +* Tue Mar 23 2010 Naveen Kumar 1.2.1-9 +- corrected ne-IN to ne-np in 67-samyak-devanagari.conf + +* Wed Mar 3 2010 Naveen Kumar 1.2.1-8 +- Updated .conf file +- Resolves Bug#568254 + +* Wed Oct 28 2009 Pravin Satpute 1.2.1-7 +- added fontconf files for each subpackage + +* Sun Jul 26 2009 Fedora Release Engineering - 1.2.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 1.2.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 04 2009 Pravin Satpute 1.2.1-4 +- renamed samyak-common-fonts to samyak-fonts-common + +* Tue Feb 03 2009 Pravin Satpute 1.2.1-3 +- renamed font package as per fedora new Font_package_naming guideline +- updated spec + +* Mon Jan 12 2009 Pravin Satpute 1.2.1-2 +- bugzilla 477451 +- updated spec + +* Thu Sep 18 2008 Pravin Satpute 1.2.1-1 +- upstream release 1.2.1 +- Added Unicode 5.1 support in Samyak-Devanagari + +* Fri Apr 04 2008 Pravin Satpute 1.2.0-2 +- given proper license name +- fc-cache now run on samyak-langname folder + +* Thu Feb 28 2008 Pravin Satpute - 1.2.0-1 +- update to samyak-fonts-1.2.0 from upstream cvs +- major bug fixes for devanagari and malayalam +- licence update to 'GNU Gplv3 or later with font exceptions' +- update spec file + +* Fri Feb 08 2008 Pravin Satpute - 1.1.0-2 +- added sub packaging support in spec file based on lohit-fonts.spec file + +* Fri Jan 18 2008 Pravin Satpute - 1.1.0-1 +- initial packaging