Resolves:rh#879483 - fix build.log warning File listed twice: /usr/share/fonts/lklug

This commit is contained in:
Parag 2012-11-23 12:26:28 +05:30
parent 0b9795532a
commit 47960f9e81

View File

@ -1,5 +1,5 @@
%define fontname lklug
%define cvsdate 20090803
%global fontname lklug
%global cvsdate 20090803
%global fontconf 65-%{fontname}.conf
Name: %{fontname}-fonts
@ -7,7 +7,7 @@ Name: %{fontname}-fonts
# update versions on file changes. When in doubt use the timestamp of the most
# recent file as version.
Version: 0.6
Release: 7.%{cvsdate}cvs%{?dist}
Release: 8.%{cvsdate}cvs%{?dist}
Summary: Fonts for Sinhala language
Group: User Interface/X
License: GPLv2
@ -17,10 +17,8 @@ URL: http://sinhala.sourceforge.net/
#cd sinhala/fonts/
#tar -czf lklug-%{cvsdate}.tar.gz convert.ff COPYING CREDITS lklug.sfd Makefile README.fonts
Source: lklug-%{cvsdate}.tar.gz
Source1: %{fontconf}
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: fontpackages-devel fontforge
Requires: fontpackages-filesystem
@ -38,8 +36,6 @@ Ratnaweera and Harshani Devadithya.
make
%install
rm -fr %{buildroot}
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
@ -52,15 +48,15 @@ install -m 0644 -p %{SOURCE1} \
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
%clean
rm -fr %{buildroot}
%_font_pkg -f %{fontconf} *.ttf
%doc CREDITS COPYING README.fonts
%dir %{_fontdir}
%changelog
* Fri Nov 23 2012 Parag <paragn AT fedoraproject DOT org> - 0.6-8.20090803cvs
- Resolves:rh#879483 - fix build.log warning File listed twice: /usr/share/fonts/lklug
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-7.20090803cvs
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild