]> git.pld-linux.org Git - packages/fonts-thai-scalable.git/commitdiff
- new; covers also thai-ttf package from thailinux
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 6 Nov 2011 17:43:05 +0000 (17:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fonts-thai-scalable.spec -> 1.1

fonts-thai-scalable.spec [new file with mode: 0644]

diff --git a/fonts-thai-scalable.spec b/fonts-thai-scalable.spec
new file mode 100644 (file)
index 0000000..61d03d2
--- /dev/null
@@ -0,0 +1,172 @@
+# TODO: LaTeX deps and files
+#
+# Conditional build:
+%bcond_with    latex   # build LaTeX fonts
+#
+Summary:       Collection of Thai scalable fonts
+Summary(pl.UTF-8):     Kolekcja skalowalnych fontów tajskich
+Name:          fonts-thai-scalable
+Version:       0.4.17
+Release:       1
+License:       MIT (Waree font), GPL v2+ (the rest)
+Group:         Fonts
+Source0:       http://linux.thai.net/pub/thailinux/software/thaifonts-scalable/thaifonts-scalable-%{version}.tar.gz
+# Source0-md5: 4cdbb081bf0d180ead5e0f04149ff023
+URL:           http://linux.thai.net/projects/thaifonts-scalable
+BuildRequires: fontforge >= 20080110
+%{?with_latex:BuildRequires:   afm2tfm, vptovf, kpsewhich, updmap, mktexlsr||texhash, thailatex >= 0.4.6}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+thaifonts-scalable is a collection of Thai scalable fonts available in
+free licenses. Its goal is to provide fonts that conform to existing
+standards and recommendations, so that it can be a reference
+implementation.
+
+%description -l pl.UTF-8
+thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na
+wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z
+istniejącymi standardami i rekomendacjami, aby był implementacją
+wzorcową.
+
+%package -n fonts-OTF-thai
+Summary:       Collection of OpenType Thai scalable fonts
+Summary(pl.UTF-8):     Kolekcja skalowalnych fontów tajskich w formacie OpenType
+Group:         Fonts
+Requires(post,postun): fontpostinst
+
+%description -n fonts-OTF-thai
+thaifonts-scalable is a collection of Thai scalable fonts available in
+free licenses. Its goal is to provide fonts that conform to existing
+standards and recommendations, so that it can be a reference
+implementation.
+
+This package contains fonts in OpenType format.
+
+%description -n fonts-OTF-thai -l pl.UTF-8
+thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na
+wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z
+istniejącymi standardami i rekomendacjami, aby był implementacją
+wzorcową.
+
+Ten pakiet zawiera fonty w formacie OpenType.
+
+%package -n fonts-TTF-thai
+Summary:       Collection of TrueType Thai scalable fonts
+Summary(pl.UTF-8):     Kolekcja skalowalnych fontów tajskich w formacie TrueType
+Group:         Fonts
+Requires(post,postun): fontpostinst
+
+%description -n fonts-TTF-thai
+thaifonts-scalable is a collection of Thai scalable fonts available in
+free licenses. Its goal is to provide fonts that conform to existing
+standards and recommendations, so that it can be a reference
+implementation.
+
+This package contains fonts in TrueType format.
+
+%description -n fonts-TTF-thai -l pl.UTF-8
+thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na
+wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z
+istniejącymi standardami i rekomendacjami, aby był implementacją
+wzorcową.
+
+Ten pakiet zawiera fonty w formacie TrueType.
+
+%package -n fonts-Type1-thai
+Summary:       Collection of Type1 Thai scalable fonts
+Summary(pl.UTF-8):     Kolekcja skalowalnych fontów tajskich w formacie Type1
+Group:         Fonts
+Requires(post,postun): fontpostinst
+
+%description -n fonts-Type1-thai
+thaifonts-scalable is a collection of Thai scalable fonts available in
+free licenses. Its goal is to provide fonts that conform to existing
+standards and recommendations, so that it can be a reference
+implementation.
+
+This package contains fonts in Type1 format.
+
+%description -n fonts-Type1-thai -l pl.UTF-8
+thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na
+wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z
+istniejącymi standardami i rekomendacjami, aby był implementacją
+wzorcową.
+
+Ten pakiet zawiera fonty w formacie Type1.
+
+%prep
+%setup -q -n thaifonts-scalable-%{version}
+
+%build
+%configure \
+       %{?with_latex:--enable-latex} \
+       --enable-pfb \
+       --enable-otf \
+       --with-otfdir=%{_fontsdir}/OTF \
+       --with-ttfdir=%{_fontsdir}/TTF \
+       --with-type1dir=%{_fontsdir}/Type1
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
+mv $RPM_BUILD_ROOT%{_fontsdir}/Type1/*.afm $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
+mkfontscale -o $RPM_BUILD_ROOT%{_fontsdir}/Type1/fonts.scale.thai-scalable $RPM_BUILD_ROOT%{_fontsdir}/Type1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -n fonts-OTF-thai
+%defattr(644,root,root,755)
+%{_fontsdir}/OTF/Garuda*.otf
+%{_fontsdir}/OTF/Kinnari*.otf
+%{_fontsdir}/OTF/Loma*.otf
+%{_fontsdir}/OTF/Norasi*.otf
+%{_fontsdir}/OTF/Purisa*.otf
+%{_fontsdir}/OTF/Sawasdee*.otf
+%{_fontsdir}/OTF/Tlwg*.otf
+%{_fontsdir}/OTF/Umpush*.otf
+%{_fontsdir}/OTF/Waree*.otf
+
+%files -n fonts-TTF-thai
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog* NEWS README TODO
+%{_fontsdir}/TTF/Garuda*.ttf
+%{_fontsdir}/TTF/Kinnari*.ttf
+%{_fontsdir}/TTF/Loma*.ttf
+%{_fontsdir}/TTF/Norasi*.ttf
+%{_fontsdir}/TTF/Purisa*.ttf
+%{_fontsdir}/TTF/Sawasdee*.ttf
+%{_fontsdir}/TTF/Tlwg*.ttf
+%{_fontsdir}/TTF/Umpush*.ttf
+%{_fontsdir}/TTF/Waree*.ttf
+/etc/fonts/conf.avail/64-ttf-thai-tlwg.conf
+/etc/fonts/conf.avail/89-ttf-thai-tlwg-synthetic.conf
+
+%files -n fonts-Type1-thai
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog* NEWS README TODO
+%{_fontsdir}/Type1/Garuda*.pfb
+%{_fontsdir}/Type1/Kinnari*.pfb
+%{_fontsdir}/Type1/Loma*.pfb
+%{_fontsdir}/Type1/Norasi*.pfb
+%{_fontsdir}/Type1/Purisa*.pfb
+%{_fontsdir}/Type1/Sawasdee*.pfb
+%{_fontsdir}/Type1/Tlwg*.pfb
+%{_fontsdir}/Type1/Umpush*.pfb
+%{_fontsdir}/Type1/Waree*.pfb
+%{_fontsdir}/Type1/fonts.scale.thai-scalable
+%{_fontsdir}/Type1/afm/Garuda*.afm
+%{_fontsdir}/Type1/afm/Kinnari*.afm
+%{_fontsdir}/Type1/afm/Loma*.afm
+%{_fontsdir}/Type1/afm/Norasi*.afm
+%{_fontsdir}/Type1/afm/Purisa*.afm
+%{_fontsdir}/Type1/afm/Sawasdee*.afm
+%{_fontsdir}/Type1/afm/Tlwg*.afm
+%{_fontsdir}/Type1/afm/Umpush*.afm
+%{_fontsdir}/Type1/afm/Waree*.afm
This page took 0.064232 seconds and 4 git commands to generate.