- updated spec as per new packaging guideline
This commit is contained in:
parent
762f820db0
commit
3ba4a18e33
@ -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 <psatpute@redhat.com> - 1.0-9
|
||||
- updated spec as per new packaging guideline
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user