Hello community, here is the log from the commit of package thai-fonts for openSUSE:Factory checked in at 2012-09-14 12:40:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/thai-fonts (Old) and /work/SRC/openSUSE:Factory/.thai-fonts.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "thai-fonts", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/thai-fonts/thai-fonts.changes 2012-05-26 09:29:38.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.thai-fonts.new/thai-fonts.changes 2012-09-14 12:40:13.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: ------------------ ++++++ thai-fonts.spec ++++++ --- /var/tmp/diff_new_pack.d9xQ3D/_old 2012-09-14 12:40:14.000000000 +0200 +++ /var/tmp/diff_new_pack.d9xQ3D/_new 2012-09-14 12:40:14.000000000 +0200 @@ -16,24 +16,23 @@ # - Name: thai-fonts Version: 0.4.17 -Release: 1 -%define ttf_fontdir %{_datadir}/fonts/truetype -License: GPL-2.0-with-font-exception and LPPL-1.3c +Release: 0 Summary: A Collection of Thai TrueType Fonts -Url: ftp://linux.thai.net/pub/thailinux/software/thaifonts-scalable/ +License: GPL-2.0-with-font-exception and LPPL-1.3c Group: System/X11/Fonts +Url: ftp://linux.thai.net/pub/thailinux/software/thaifonts-scalable/ #Url: http://linux.thai.net/cvs/ # cvs -d :pserver:[email protected]:/home/cvs login # blank password, just enter # cvs -d :pserver:[email protected]:/home/cvs co software/thai-ttf Source0: thaifonts-scalable-%{version}.tar.gz +BuildRequires: fontpackages-devel # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch0: build.patch +BuildRequires: fontconfig BuildRequires: fontforge -BuildRequires: xorg-x11 -Requires(pre): %suseconfig_fonts_prereq +%reconfigure_fonts_prereq Provides: locale(th) Obsoletes: fonts-thai < 0.4.16 Provides: fonts-thai = %{version} @@ -49,24 +48,20 @@ %patch0 -p1 %build -%configure --with-ttfdir=%{ttf_fontdir} +%configure --with-ttfdir=%{_ttfontsdir} make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT -rm -f %{buildroot}%{ttf_fontdir}/encodings.dir -rm -f %{buildroot}%{ttf_fontdir}/fonts.* - -%post -%run_suseconfig_fonts +rm -f %{buildroot}%{_ttfontsdir}/encodings.dir +rm -f %{buildroot}%{_ttfontsdir}/fonts.* -%postun -%run_suseconfig_fonts +%reconfigure_fonts_scriptlets %files %defattr(-, root,root) %doc AUTHORS COPYING NEWS README ChangeLog -%{ttf_fontdir}/ -%config %{_sysconfdir}/fonts/conf.avail/* +%{_ttfontsdir} +%config %{_fontsconfavaildir}/* %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
