Hello community,

here is the log from the commit of package gnu-free-fonts for openSUSE:Factory 
checked in at 2012-08-05 08:01:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnu-free-fonts (Old)
 and      /work/SRC/openSUSE:Factory/.gnu-free-fonts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnu-free-fonts", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnu-free-fonts/gnu-free-fonts.changes    
2012-05-26 09:24:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gnu-free-fonts.new/gnu-free-fonts.changes       
2012-08-05 08:01:25.000000000 +0200
@@ -1,0 +2,16 @@
+Thu Aug  2 21:54:31 UTC 2012 - [email protected]
+
+- Update to version 0.20120503:
+  * Lots of changes (see http://savannah.gnu.org/forum/forum.php?forum_id=7216
+    and ChangeLog for details).
+- Use the package scripts for generating the fonts in openSUSE > 11.2. Use the
+  "GenerateTrueType" external script only for older versions (package fails to
+  compile otherwise).
+
+-------------------------------------------------------------------
+Wed Jul  4 12:39:06 CEST 2012 - [email protected]
+
+- amend spec file to reflect new font packaging scheme
+  (see openFATE#313536);
+
+-------------------------------------------------------------------

Old:
----
  freefont-0.20111101.tar.bz2

New:
----
  freefont-src-20120503.tar.gz

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

Other differences:
------------------
++++++ gnu-free-fonts.spec ++++++
--- /var/tmp/diff_new_pack.8b2I18/_old  2012-08-05 08:01:36.000000000 +0200
+++ /var/tmp/diff_new_pack.8b2I18/_new  2012-08-05 08:01:36.000000000 +0200
@@ -17,31 +17,30 @@
 
 
 %define fontname    freefont
-%define ttf_fontdir /usr/share/fonts/truetype
+%define fontversion 20120503
+%define _ttfontsdir /usr/share/fonts/truetype
 
 Name:           gnu-free-fonts
-Version:        0.20111101
+Version:        0.%{fontversion}
 Release:        0
-License:        SUSE-GPL-3.0+-with-font-exception
 Summary:        Free UCS Outline Fonts
-Url:            http://savannah.nongnu.org/projects/freefont/
+License:        SUSE-GPL-3.0+-with-font-exception
 Group:          System/X11/Fonts
-#    svn co svn://svn.savannah.gnu.org/freefont/trunk/freefont
-#    tar jcvf freefont-0.20080323.tar.bz2 freefont/
-Source0:        %{fontname}-%{version}.tar.bz2
+Url:            http://savannah.nongnu.org/projects/freefont/
+Source0:        
http://ftp.gnu.org/gnu/freefont/%{fontname}-src-%{fontversion}.tar.gz
 Source10:       remove-kana-glyphs
-# TODO: remove GenerateTrueType script from previous version (20080323) as 
soon as the new one is working
 Source11:       GenerateTrueType
 BuildRequires:  fontforge >= 20080429
+BuildRequires:  fontpackages-devel
 BuildRequires:  python
-Requires(pre):  %suseconfig_fonts_prereq
-# FIXME: This causes a rpmlint warning; change <= to < once there's a new 
upstream version
-Obsoletes:      %{fontname} <= 0.20111101
+%reconfigure_fonts_prereq
+# freefont was last used at openSUSE 12.1 (version 0.20110523) and at 
M17N:fonts (version 0.20111101)
+Obsoletes:      %{fontname} < %{version}
 Provides:       %{fontname} = %{version}
 Provides:       scalable-font-bg
-Provides:       scalable-font-el,
-Provides:       scalable-font-he,
-Provides:       scalable-font-ru,
+Provides:       scalable-font-el
+Provides:       scalable-font-he
+Provides:       scalable-font-ru
 Provides:       locale(bg;el;he;ru;vi)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
@@ -53,31 +52,31 @@
 one with modulated stroke).
 
 %prep
-%setup -n %{fontname}
-find . -name CVS -type d | xargs rm -rf
-# Fix DOS line endings
-sed -i 's/.$//' papers/eurotex2003/freefont.bib
+%setup -q -n %{fontname}-%{fontversion}
 
 %build
-cp %{SOURCE11} ./tools
 chmod 755 $RPM_SOURCE_DIR/remove-kana-glyphs
 $RPM_SOURCE_DIR/remove-kana-glyphs ./sfd/*.sfd
-fontforge -lang=ff -script ./tools/GenerateTrueType *.sfd
+%if 0%{?suse_version} > 1120
+make ttf
+%else
+cp %{SOURCE11} ./tools
+fontforge -lang=ff -script ./tools/GenerateTrueType ./sfd/*.sfd
+%endif
 
 %install
-mkdir -p %{buildroot}%{ttf_fontdir}/
-install -c -m 644 *.ttf %{buildroot}%{ttf_fontdir}/
-
-%post
-%run_suseconfig_fonts
+mkdir -p %{buildroot}%{_ttfontsdir}/
+%if 0%{?suse_version} > 1120
+install -pm 0644 sfd/*.ttf %{buildroot}%{_ttfontsdir}/
+%else
+install -pm 0644 *.ttf %{buildroot}%{_ttfontsdir}/
+%endif
 
-%postun
-%run_suseconfig_fonts
+%reconfigure_fonts_scriptlets
 
 %files
-%defattr(-, root,root)
-%doc AUTHORS CREDITS ChangeLog README
-%doc papers/
-%{ttf_fontdir}
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING CREDITS ChangeLog README notes/troubleshooting.txt 
notes/usage.txt
+%{_ttfontsdir}
 
 %changelog

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

Reply via email to