diff --git a/.gitignore b/.gitignore index e69de29..40691b6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/eeyek.zip diff --git a/sources b/sources index e69de29..c60e09b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +aedf4633caf5e7e2ccee24e9421085b5 eeyek.zip diff --git a/tabish-eeyek-fonts-fontconfig.conf b/tabish-eeyek-fonts-fontconfig.conf new file mode 100644 index 0000000..7595e9c --- /dev/null +++ b/tabish-eeyek-fonts-fontconfig.conf @@ -0,0 +1,24 @@ + + + + + + mni + + + sans-serif + + + Meetei Mayek + + + + + Meetei Mayek + + sans-serif + + + + + diff --git a/tabish-eeyek-fonts.spec b/tabish-eeyek-fonts.spec new file mode 100644 index 0000000..a73b965 --- /dev/null +++ b/tabish-eeyek-fonts.spec @@ -0,0 +1,58 @@ +%global fontname tabish-eeyek +%global fontconf 66-%{fontname}.conf + +%global archivename eeyek.zip + +Name: %{fontname}-fonts +Version: 1.0 +Release: 1%{?dist} +Summary: Font for Meetei Mayek script + +Group: User Interface/X +License: GPLv2+ +URL: http://tabish.freeshell.org/eeyek/ +Source0: http://tabish.freeshell.org/eeyek/%{archivename} +Source1: %{name}-fontconfig.conf + +BuildArch: noarch +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem + +%description +A TrueType Font, which allows you to read and write in Meetei Mayek script. + +%prep +%setup -q -c Eeyek_Unicode +for file in Eeyek_Unicode/copying.txt; do + sed "s|\r||g" $file > $file.new && \ + touch -r $file $file.new && \ + mv $file.new $file +done + + + +%build + + +%install +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p Eeyek_Unicode/Eeyek.ttf %{buildroot}%{_fontdir}/eeyek.ttf + +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ + %{buildroot}%{_fontconfig_confdir} + +install -m 0644 -p %{SOURCE1} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf} +ln -s %{_fontconfig_templatedir}/%{fontconf} \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf} + + +%_font_pkg -f %{fontconf} *.ttf + +%doc Eeyek_Unicode/copying.txt + + +%changelog +* Mon Apr 25 2011 Parag Nemade - 1.0-1 +- Initial Fedora release. +