Hello community,

here is the log from the commit of package pothana2000-fonts for 
openSUSE:Factory checked in at 2012-09-14 12:33:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pothana2000-fonts (Old)
 and      /work/SRC/openSUSE:Factory/.pothana2000-fonts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pothana2000-fonts", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/pothana2000-fonts/pothana2000-fonts.changes      
2012-05-26 09:28:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pothana2000-fonts.new/pothana2000-fonts.changes 
2012-09-14 12:33:54.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jul  4 12:39:06 CEST 2012 - [email protected]
+
+- amend spec file to reflect new font packaging scheme
+  (see openFATE#313536);
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pothana2000-fonts.spec ++++++
--- /var/tmp/diff_new_pack.FY1lqM/_old  2012-09-14 12:33:54.000000000 +0200
+++ /var/tmp/diff_new_pack.FY1lqM/_new  2012-09-14 12:33:54.000000000 +0200
@@ -20,20 +20,22 @@
 
 Name:           pothana2000-fonts
 Version:        1.1
-Release:        137
-%define ttf_fontdir     /usr/share/fonts/truetype
+Release:        0
+Summary:        OpenType Font for Telugu
 License:        GPL-2.0+
-Summary:        OpenType font for Telugu
-Url:            http://www.kavya-nandanam.com/
 Group:          System/X11/Fonts
+Url:            http://www.kavya-nandanam.com/
 # http://www.kavya-nandanam.com/Pothana2k.zip
 # removed Pathana2k.exe from the sources and repackaged to .tar.bz2
 Source0:        pothana2000.tar.bz2
+BuildRequires:  dos2unix
+BuildRequires:  fontpackages-devel
 Provides:       scalable-font-te
 Provides:       locale(te)
 # FIXME: This causes a rpmlint warning; change <= to < once here's a new 
upstream version
 Obsoletes:      pothana2000 <= %{version}
 Provides:       pothana2000 = %{version}
+%reconfigure_fonts_prereq
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
@@ -44,24 +46,18 @@
 %prep
 %setup -q -n %{fontname}
 
-%install
-mkdir -p %{buildroot}%{ttf_fontdir}/
-install -m 644 *.ttf %{buildroot}%{ttf_fontdir}
-
 %build
+dos2unix gpl.txt
 
-%clean
-rm -rf %{buildroot}
-
-%post
-%run_suseconfig_fonts
+%install
+mkdir -p %{buildroot}%{_ttfontsdir}/
+install -m 644 *.ttf %{buildroot}%{_ttfontsdir}
 
-%postun
-%run_suseconfig_fonts
+%reconfigure_fonts_scriptlets
 
 %files
 %defattr(-, root,root)
 %doc MANUAL.PDF gpl.txt Telugu2006.kmx
-%{ttf_fontdir}
+%{_ttfontsdir}
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to