- updated spec as per new packaging guideline
This commit is contained in:
parent
762f820db0
commit
3ba4a18e33
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: %{fontname}-fonts
|
Name: %{fontname}-fonts
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Summary: Font for Nepali language
|
Summary: Font for Nepali language
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
# No version specified.
|
# No version specified.
|
||||||
@ -12,6 +12,8 @@ URL: http://madanpuraskar.org/
|
|||||||
Source: http://madanpuraskar.org/detail_guide/fonts/Madan.ttf
|
Source: http://madanpuraskar.org/detail_guide/fonts/Madan.ttf
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildRequires: fontpackages-devel
|
||||||
|
Requires: fontpackages-filesystem
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides the Madan font for Nepali made by the
|
This package provides the Madan font for Nepali made by the
|
||||||
@ -33,24 +35,12 @@ install -m 0644 -p *.ttf %{buildroot}%{fontdir}
|
|||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post
|
%_font_pkg *.ttf
|
||||||
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
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user