diff --git a/.cvsignore b/.cvsignore index e69de29..2a106c1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Madan.ttf diff --git a/madan-fonts.spec b/madan-fonts.spec new file mode 100644 index 0000000..29d940a --- /dev/null +++ b/madan-fonts.spec @@ -0,0 +1,69 @@ +%define fontdir %{_datadir}/fonts/madan +%define fontname madan + +Name: %{fontname}-fonts +Version: 1.0 +Release: 6%{?dist} +Summary: Font for Nepali language +Group: User Interface/X +License: GPL +URL: http://madanpuraskar.org/ +Source: http://madanpuraskar.org/detail_guide/fonts/Madan.ttf +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +This package provides the Madan font for Nepali made by the +Madan Puraskar Pustakalaya project. + +%prep +%setup -c -T +cp -p %{SOURCE0} . + +%build +echo "Nothing to do in Build." + +%install +rm -rf %{buildroot} + +install -m 0755 -d %{buildroot}%{fontdir} +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 + +%changelog +* Mon Oct 15 2007 Rahul Bhalerao - 1.0-6.fc8 +- Spec update as per review + +* Thu Oct 11 2007 Rahul Bhalerao - 1.0-5.fc8 +- Spec update as per reveiw + +* Wed Sep 26 2007 Rahul Bhalerao - 1.0-4.fc8 +- Spec update as per review + +* Fri Sep 21 2007 Rahul Bhalerao - 1.0-3.fc8 +- Added LICENSE as Source1 + +* Thu Sep 20 2007 Rahul Bhalerao - 1.0-2.fc8 +- Removed use of tarball and ghost files + +* Thu Sep 13 2007 Rahul Bhalerao - 1.0-1.fc8 +- Initial packaging diff --git a/sources b/sources index e69de29..ed02e5a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d78a34b1d46dcfa74ff64e78dcc1fc31 Madan.ttf