]> git.pld-linux.org Git - packages/fonts-thai-siampradesh.git/commitdiff
Switch to new fontconfig direcotry structure auto/th/fonts-thai-siampradesh-0.2.2-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 9 Aug 2012 09:45:20 +0000 (11:45 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 9 Aug 2012 09:45:20 +0000 (11:45 +0200)
Release 2

fontconfig-2.10.patch [new file with mode: 0644]
fonts-thai-siampradesh.spec

diff --git a/fontconfig-2.10.patch b/fontconfig-2.10.patch
new file mode 100644 (file)
index 0000000..90ad76a
--- /dev/null
@@ -0,0 +1,11 @@
+--- thaifonts-siampradesh-0.2.2/fontconfig/Makefile.am~        2010-01-10 06:25:19.000000000 +0100
++++ thaifonts-siampradesh-0.2.2/fontconfig/Makefile.am 2012-08-09 11:42:56.818691207 +0200
+@@ -4,7 +4,7 @@
+ EXTRA_DIST = $(CONFIG_FILES)
+-fontconfigdir = $(sysconfdir)/fonts/conf.avail
++fontconfigdir = $(datadir)/fontconfig/conf.avail
+ fontconfig_DATA = $(CONFIG_FILES)
index 7ce3f4a9c8becc4c4aee50958f16317b4abfd1f0..0db62337e5c6be73e47dbe2ea78cbdfe0ad4093c 100644 (file)
@@ -2,14 +2,16 @@ Summary:      Thai SiamPradesh scalable fonts
 Summary(pl.UTF-8):     Tajskie fonty skalowalne SiamPradesh
 Name:          fonts-thai-siampradesh
 Version:       0.2.2
-Release:       1
+Release:       2
 License:       Font Computer Program License (see COPYING)
 Group:         Fonts
 Source0:       http://linux.thai.net/pub/thailinux/software/thaifonts-siampradesh/thaifonts-siampradesh-%{version}.tar.gz
 # Source0-md5: 682791e7abc47f4dd35d2bb2e598b154
+Patch0:                fontconfig-2.10.patch
 URL:           http://linux.thai.net/projects/thaifonts-siampradesh
 BuildRequires: fontforge >= 20080110
 BuildRequires: xorg-app-mkfontscale
+Requires:      fontconfig >= 1:2.10.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -64,8 +66,12 @@ Ten pakiet zawiera fonty w formacie Type1.
 
 %prep
 %setup -q -n thaifonts-siampradesh-%{version}
+%patch0 -p1
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
        --enable-pfb \
        --with-ttfdir=%{_fontsdir}/TTF \
@@ -109,8 +115,8 @@ fontpostinst Type1
 %{_fontsdir}/TTF/SPSinsamut*.ttf
 %{_fontsdir}/TTF/SPSutsakhorn*.ttf
 %{_fontsdir}/TTF/SPThotsakan*.ttf
-/etc/fonts/conf.avail/64-ttf-thai-siampradesh.conf
-/etc/fonts/conf.avail/89-ttf-thai-siampradesh-synthetic.conf
+%{_datadir}/fontconfig/conf.avail/64-ttf-thai-siampradesh.conf
+%{_datadir}/fontconfig/conf.avail/89-ttf-thai-siampradesh-synthetic.conf
 
 %files -n fonts-Type1-thai-siampradesh
 %defattr(644,root,root,755)
This page took 0.115805 seconds and 4 git commands to generate.