rpms/smc-fonts/devel smc-fonts.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Pravin Satpute pravins at fedoraproject.org
Wed Apr 16 05:37:04 UTC 2008


Author: pravins

Update of /cvs/pkgs/rpms/smc-fonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12876/devel

Modified Files:
	.cvsignore sources 
Added Files:
	smc-fonts.spec 
Log Message:
* Tue Apr 15 2008 Pravin Satpute <psatpute at redhat.com> 04-6
- corrected meera fonts description it is for traditional script



--- NEW FILE smc-fonts.spec ---
%define fontname smc
%define fontdir %{_datadir}/fonts/%{fontname}


Name:	%{fontname}-fonts
Version:	04
Release:	6%{?dist}
Summary:	Open Type Fonts for Malayalam script
Group:	User Interface/X
License:	GPLv3+ with exceptions and GPLv2+ with exceptions and GPLv2+ and  GPLv2
URL:	http://savannah.nongnu.org/projects/smc
Source:	http://download.savannah.nongnu.org/releases/smc/fonts/malayalam-fonts-%{version}.zip
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
The smc-fonts package contains fonts for the display of
traditional and new Malayalam Script.

%package dyuthi
Summary: Open Type Fonts for Malayalam script
Group: User Interface/X 
License: GPLv3+ with exceptions
%description dyuthi
The smc-fonts-dyuthi package contains fonts for the display of
traditional Malayalam Scripts.

%package meera 
Summary: Open Type Fonts for Malayalam script
Group: User Interface/X 
License: GPLv2+ with exceptions
%description meera
The smc-fonts-meera package contains fonts for the display of
traditional Malayalam Scripts.


%package rachana 
Summary: Open Type Fonts for Malayalam script
Group: User Interface/X 
License: GPLv2+
%description rachana
The smc-fonts-rachana package contains fonts for the display of
traditional Malayalam Scripts.


%package raghumalayalam
Summary: Open Type Fonts for Malayalam script
Group: User Interface/X 
License: GPLv2
%description raghumalayalam
The smc-fonts-malayalam package contains fonts for the display of
new Malayalam Scripts.

%package suruma
Summary: Open Type Fonts for Malayalam script
Group: User Interface/X 
License: GPLv3+ with exceptions
%description suruma
The smc-fonts-suruma package contains fonts for the display of
traditional Malayalam Scripts.

%prep
%setup -q -n malayalam-fonts-%{version}

%build
echo "Nothing to do in Build."

%install

rm -fr %{buildroot}
install -m 0755 -d %{buildroot}%{fontdir}
install -m 0644 -p *.ttf  %{buildroot}%{fontdir}

%clean
rm -fr %{buildroot}

%post  dyuthi
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir} || :
fi

%post  meera
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir} || :
fi

%post  rachana
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir} || :
fi

%post  raghumalayalam
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir} || :
fi	

%post  suruma
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir} || :
fi

%postun dyuthi
if [ "$1" = "0" ]; then
	if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir} || :
	fi
fi

%postun meera
if [ "$1" = "0" ]; then
	if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir} || :
	fi
fi

%postun rachana
if [ "$1" = "0" ]; then
	if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir} || :
	fi
fi

%postun raghumalayalam
if [ "$1" = "0" ]; then
	if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir} || :
	fi
fi

%postun suruma
if [ "$1" = "0" ]; then
	if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir} || :
	fi
fi

#%{fontdir} is shared by following packages since they all are for malayalam script only
%files dyuthi
%defattr(-,root,root,-) 
%doc *.txt 
%dir %{fontdir}
%{fontdir}/Dyuthi*.ttf 

%files meera
%defattr(-,root,root,-) 
%doc *.txt 
%dir %{fontdir}
%{fontdir}/Meera*.ttf 

%files rachana
%defattr(-,root,root,-) 
%doc *.txt 
%dir %{fontdir}
%{fontdir}/Rachana*.ttf 

%files raghumalayalam
%defattr(-,root,root,-) 
%doc *.txt 
%dir %{fontdir}
%{fontdir}/RaghuMalayalamSans*.ttf 

%files suruma
%defattr(-,root,root,-) 
%doc *.txt 
%dir %{fontdir}
%{fontdir}/suruma*.ttf 


%changelog
* Tue Apr 15 2008 Pravin Satpute <psatpute at redhat.com> 04-6
- corrected meera fonts description it is for traditional script

* Tue Apr 15 2008 Pravin Satpute <psatpute at redhat.com> 04-5
- removed -n {fontname}-fonts from all fields

* Mon Apr 14 2008 Pravin Satpute <psatpute at redhat.com> 04-4
- added comment about sharing directory in spec file
- fontdir will be 'smc' only instead of 'smc-fonts' earlier

* Wed Apr 9 2008 Pravin Satpute <psatpute at redhat.com> 04-3
- defattr now comes after files
- s/malayalam/Malayalam in description
- removed '-fonts' from fontdir variable value

* Fri Apr 4 2008 Pravin Satpute <psatpute at redhat.com> 04-2
- done changes in spec file as suggested in review request
- changed variable name from xfontdir to fontdir
 
* Thu Apr 3 2008 Pravin Satpute <psatpute at redhat.com> 04-1 
- initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/smc-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Apr 2008 05:16:17 -0000	1.1
+++ .cvsignore	16 Apr 2008 05:36:29 -0000	1.2
@@ -0,0 +1 @@
+malayalam-fonts-04.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/smc-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Apr 2008 05:16:17 -0000	1.1
+++ sources	16 Apr 2008 05:36:29 -0000	1.2
@@ -0,0 +1 @@
+a88a77e6b22ac077c729234c15671908  malayalam-fonts-04.zip




More information about the fonts-bugs mailing list