[tuladha-jejeg-fonts/el5] follow epel5 guidelines

Parag Nemade pnemade at fedoraproject.org
Tue Aug 19 08:08:14 UTC 2014


commit 4330b3175bf098e71eb322f44d21fc7693d79357
Author: Parag Nemade <pnemade at redhat.com>
Date:   Tue Aug 19 13:38:02 2014 +0530

    follow epel5 guidelines

 tuladha-jejeg-fonts.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/tuladha-jejeg-fonts.spec b/tuladha-jejeg-fonts.spec
index 51b6132..b6fc57e 100644
--- a/tuladha-jejeg-fonts.spec
+++ b/tuladha-jejeg-fonts.spec
@@ -7,12 +7,14 @@ Version:        2.01
 Release:        2%{?dist}
 Summary:        Unicode font for Javanese script
 
+Group:          User Interface/X
 License:        OFL
 URL:            https://sites.google.com/site/jawaunicode/main-page
 Source0:        https://sites.googlegroups.com/site/jawaunicode/TuladhaJejegGr_2.01.zip
 Source1:        %{name}-fontconfig.conf
 
 BuildArch:      noarch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  fontpackages-devel
 BuildRequires:  dos2unix
 Requires:       fontpackages-filesystem
@@ -28,6 +30,8 @@ dos2unix OFL.txt
 %build
 
 %install
+rm -fr %{buildroot}
+
 install -m 0755 -d %{buildroot}%{_fontdir}
 install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
 
@@ -39,6 +43,8 @@ install -m 0644 -p %{SOURCE1} \
 ln -s %{_fontconfig_templatedir}/%{fontconf} \
       %{buildroot}%{_fontconfig_confdir}/%{fontconf}
 
+%clean
+rm -fr %{buildroot}
 
 %_font_pkg -f %{fontconf} *.ttf
 


More information about the fonts-bugs mailing list