Author: pravins
Update of /cvs/pkgs/rpms/smc-fonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28663
Modified Files:
.cvsignore smc-fonts.spec sources
Log Message:
* Tue Jul 29 2008 Pravin Satpute <psatpute(a)redhat.com> 04.1-1
- new upstream release
- fontconfig rule for size adjustment of Meera is added
- two new fonts kalyani and anjalioldlipi
- bugfix 448078
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/smc-fonts/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 16 Apr 2008 05:36:29 -0000 1.2
+++ .cvsignore 29 Jul 2008 09:14:48 -0000 1.3
@@ -1 +1,2 @@
malayalam-fonts-04.zip
+malayalam-fonts-04.1.zip
Index: smc-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/smc-fonts/devel/smc-fonts.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- smc-fonts.spec 16 Apr 2008 05:36:29 -0000 1.1
+++ smc-fonts.spec 29 Jul 2008 09:14:48 -0000 1.2
@@ -1,10 +1,10 @@
%define fontname smc
%define fontdir %{_datadir}/fonts/%{fontname}
-
+%define fontconfdir %{_sysconfdir}/fonts/conf.d
Name: %{fontname}-fonts
-Version: 04
-Release: 6%{?dist}
+Version: 04.1
+Release: 1%{?dist}
Summary: Open Type Fonts for Malayalam script
Group: User Interface/X
License: GPLv3+ with exceptions and GPLv2+ with exceptions and GPLv2+ and GPLv2
@@ -59,17 +59,35 @@
The smc-fonts-suruma package contains fonts for the display of
traditional Malayalam Scripts.
+%package kalyani
+Summary: Open Type Fonts for Malayalam script
+Group: User Interface/X
+License: GPLv3+ with exceptions
+%description kalyani
+The smc-fonts-suruma package contains fonts for the display of
+new Malayalam Scripts.
+
+%package anjalioldlipi
+Summary: Open Type Fonts for Malayalam script
+Group: User Interface/X
+License: GPLv3+ with exceptions
+%description anjalioldlipi
+The smc-fonts-suruma package contains fonts for the display of
+traditional Malayalam Scripts.
+
%prep
-%setup -q -n malayalam-fonts-%{version}
+%setup -q -n malayalam-fonts-04
%build
echo "Nothing to do in Build."
%install
-rm -fr %{buildroot}
+rm -rf %{buildroot}
install -m 0755 -d %{buildroot}%{fontdir}
install -m 0644 -p *.ttf %{buildroot}%{fontdir}
+install -m 0755 -d %{buildroot}%{fontconfdir}
+install -m 0644 -p $RPM_BUILD_DIR/malayalam-fonts-04/malayalam-fonts.conf
%{buildroot}%{fontconfdir}/90-%{fontname}.conf
%clean
rm -fr %{buildroot}
@@ -99,6 +117,16 @@
%{_bindir}/fc-cache -f %{fontdir} || :
fi
+%post kalyani
+if [ -x %{_bindir}/fc-cache ]; then
+%{_bindir}/fc-cache -f %{fontdir} || :
+fi
+
+%post anjalioldlipi
+if [ -x %{_bindir}/fc-cache ]; then
+%{_bindir}/fc-cache -f %{fontdir} || :
+fi
+
%postun dyuthi
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
@@ -134,6 +162,20 @@
fi
fi
+%postun kalyani
+if [ "$1" = "0" ]; then
+ if [ -x %{_bindir}/fc-cache ]; then
+%{_bindir}/fc-cache -f %{fontdir} || :
+ fi
+fi
+
+%postun anjalioldlipi
+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,-)
@@ -144,6 +186,7 @@
%files meera
%defattr(-,root,root,-)
%doc *.txt
+%config(noreplace) %{fontconfdir}/90-%{fontname}.conf
%dir %{fontdir}
%{fontdir}/Meera*.ttf
@@ -165,8 +208,25 @@
%dir %{fontdir}
%{fontdir}/suruma*.ttf
+%files kalyani
+%defattr(-,root,root,-)
+%doc *.txt
+%dir %{fontdir}
+%{fontdir}/Kalyani*.ttf
+
+%files anjalioldlipi
+%defattr(-,root,root,-)
+%doc *.txt
+%dir %{fontdir}
+%{fontdir}/AnjaliOldLipi.ttf
%changelog
+* Tue Jul 29 2008 Pravin Satpute <psatpute(a)redhat.com> 04.1-1
+- new upstream release
+- fontconfig rule for size adjustment of Meera is added
+- two new fonts kalyani and anjalioldlipi
+- bugfix 448078
+
* Tue Apr 15 2008 Pravin Satpute <psatpute(a)redhat.com> 04-6
- corrected meera fonts description it is for traditional script
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/smc-fonts/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 16 Apr 2008 05:36:29 -0000 1.2
+++ sources 29 Jul 2008 09:14:48 -0000 1.3
@@ -1 +1 @@
-a88a77e6b22ac077c729234c15671908 malayalam-fonts-04.zip
+492cb9ec6bf69d775e987c1ca06b4003 malayalam-fonts-04.1.zip
Show replies by thread