Author: paragn Update of /cvs/pkgs/rpms/myanmar3-unicode-fonts/F-13 In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv15329
Modified Files: myanmar3-unicode-fonts.spec Log Message: * Thu May 13 2010 Parag Nemade <pnemade AT redhat.com> - 3.00-4 - Resolves:rh#477429:Spec cleanups to follow current Fonts packaging guidelines. Index: myanmar3-unicode-fonts.spec =================================================================== RCS file: /cvs/pkgs/rpms/myanmar3-unicode-fonts/F-13/myanmar3-unicode-fonts.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- myanmar3-unicode-fonts.spec 25 Jul 2009 15:28:43 -0000 1.3 +++ myanmar3-unicode-fonts.spec 13 May 2010 07:02:56 -0000 1.4 @@ -1,13 +1,11 @@ -%define fontname myanmar3-unicode -%define fontdir %{_datadir}/fonts/%{fontname} -%define fontconfdir %{_sysconfdir}/fonts/conf.d - -%define archivename Myanmar3_Unicode +%global fontname myanmar3-unicode +%global fontconf 65-%{fontname}.conf +%global archivename Myanmar3_Unicode Name: %{fontname}-fonts Version: 3.00 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Myanmar3 unicode font Group: User Interface/X @@ -15,65 +13,58 @@ License: LGPLv2+ URL: http://www.myanmarnlp.net.mm Source0: http://www.myanmarnlp.net.mm/downloads/%{archivename}.zip Source1: %{name}-fontconfig.conf +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -BuildArch: noarch +BuildArch: noarch +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem %description -Myanmar3 unicode font from -Myanmar Unicode & NLP Research Center +Myanmar3 unicode font from Myanmar Unicode & +NLP Research Center. %prep %setup -q -c unzip -j -L -q %{SOURCE0} - %build -# Nothing there %install rm -fr %{buildroot} -install -m 0755 -d %{buildroot}%{fontdir} -install -m 0644 -p *.ttf %{buildroot}%{fontdir} +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 0755 -d %{buildroot}%{fontconfdir} -install -m 0644 -p %{SOURCE1} %{buildroot}%{fontconfdir}/65-%{fontname}.conf +install -m 0644 -p %{SOURCE1} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf} +ln -s %{_fontconfig_templatedir}/%{fontconf} \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf} %clean rm -fr %{buildroot} -%post -if [ -x %{_bindir}/fc-cache ] ; then - %{_bindir}/fc-cache %{fontdir} || : -fi - - -%postun -if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then - %{_bindir}/fc-cache %{fontdir} || : -fi - +%_font_pkg -f %{fontconf} *.ttf -%files -%defattr(0644,root,root,0755) - -%config(noreplace) %{fontconfdir}/65-%{fontname}.conf - -%dir %{fontdir}/ -%{fontdir}/*.ttf +%doc %changelog +* Thu May 13 2010 Parag Nemade <pnemade AT redhat.com> - 3.00-4 +- Resolves:rh#477429:Spec cleanups to follow current Fonts packaging guidelines. + * Sat Jul 25 2009 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 3.00-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 3.00-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - * Fri Aug 01 2008 Minto Joseph <mvaliyav at redhat.com> - 3.00-1 - initial package + + _______________________________________________ fonts-bugs mailing list fonts-bugs@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs http://fonts.fedoraproject.org/