From 3ba4a18e33305dc66178ded51ce2b3e7e44cd443 Mon Sep 17 00:00:00 2001 From: Pravin Satpute Date: Jul 08 2009 06:57:45 +0000 Subject: - updated spec as per new packaging guideline --- diff --git a/madan-fonts.spec b/madan-fonts.spec index fd602bb..44c6d2a 100644 --- a/madan-fonts.spec +++ b/madan-fonts.spec @@ -3,7 +3,7 @@ Name: %{fontname}-fonts Version: 1.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Font for Nepali language Group: User Interface/X # No version specified. @@ -12,6 +12,8 @@ URL: http://madanpuraskar.org/ Source: http://madanpuraskar.org/detail_guide/fonts/Madan.ttf BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem %description This package provides the Madan font for Nepali made by the @@ -33,24 +35,12 @@ install -m 0644 -p *.ttf %{buildroot}%{fontdir} %clean rm -rf %{buildroot} -%post -if [ -x %{_bindir}/fc-cache ]; then - %{_bindir}/fc-cache /usr/share/fonts -fi - -%postun -if [ "$1" = "0" ]; then - if [ -x %{_bindir}/fc-cache ]; then - %{_bindir}/fc-cache /usr/share/fonts - fi -fi - -%files -%defattr(-,root,root,-) -%dir %{fontdir} -%{fontdir}/*.ttf +%_font_pkg *.ttf %changelog +* Wed Jul 08 2009 Pravin Satpute - 1.0-9 +- updated spec as per new packaging guideline + * Wed Feb 25 2009 Fedora Release Engineering - 1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild