]> git.pld-linux.org Git - packages/fonts-thai-siampradesh.git/blame - fonts-thai-siampradesh.spec
Switch to new fontconfig direcotry structure
[packages/fonts-thai-siampradesh.git] / fonts-thai-siampradesh.spec
CommitLineData
2574d328
JB
1Summary: Thai SiamPradesh scalable fonts
2Summary(pl.UTF-8): Tajskie fonty skalowalne SiamPradesh
3Name: fonts-thai-siampradesh
4Version: 0.2.2
3fe050da 5Release: 2
2574d328
JB
6License: Font Computer Program License (see COPYING)
7Group: Fonts
8Source0: http://linux.thai.net/pub/thailinux/software/thaifonts-siampradesh/thaifonts-siampradesh-%{version}.tar.gz
9# Source0-md5: 682791e7abc47f4dd35d2bb2e598b154
3fe050da 10Patch0: fontconfig-2.10.patch
2574d328
JB
11URL: http://linux.thai.net/projects/thaifonts-siampradesh
12BuildRequires: fontforge >= 20080110
13BuildRequires: xorg-app-mkfontscale
3fe050da 14Requires: fontconfig >= 1:2.10.1
2574d328
JB
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18This project is an attempt to adjust fonts from DIP & SIPA contested
19fonts for use in GNU/Linux desktops. All fonts are renamed as required
20by the license.
21
22%description -l pl.UTF-8
23Ten projekt jest próbą dostosowania fontów DIP i SIPA do użytku w
24środowiskach graficznych systemów GNU/Linux. Wszystkie fonty mają
25nazwy zmienione zgodnie z wymogiem licencji.
26
27%package -n fonts-TTF-thai-siampradesh
28Summary: TrueType Thai SiamPradesh fonts
29Summary(pl.UTF-8): Tajskie fonty SiamPradesh w formacie TrueType
30Group: Fonts
31Requires(post,postun): fontpostinst
32
33%description -n fonts-TTF-thai-siampradesh
34This project is an attempt to adjust fonts from DIP & SIPA contested
35fonts for use in GNU/Linux desktops. All fonts are renamed as required
36by the license.
37
38This package contains fonts in TrueType format.
39
40%description -n fonts-TTF-thai-siampradesh -l pl.UTF-8
41Ten projekt jest próbą dostosowania fontów DIP i SIPA do użytku w
42środowiskach graficznych systemów GNU/Linux. Wszystkie fonty mają
43nazwy zmienione zgodnie z wymogiem licencji.
44
45Ten pakiet zawiera fonty w formacie TrueType.
46
47%package -n fonts-Type1-thai-siampradesh
48Summary: Type1 Thai SiamPradesh fonts
49Summary(pl.UTF-8): Tajskie fonty SiamPradesh w formacie Type1
50Group: Fonts
51Requires(post,postun): fontpostinst
52
53%description -n fonts-Type1-thai-siampradesh
54This project is an attempt to adjust fonts from DIP & SIPA contested
55fonts for use in GNU/Linux desktops. All fonts are renamed as required
56by the license.
57
58This package contains fonts in Type1 format.
59
60%description -n fonts-Type1-thai-siampradesh -l pl.UTF-8
61Ten projekt jest próbą dostosowania fontów DIP i SIPA do użytku w
62środowiskach graficznych systemów GNU/Linux. Wszystkie fonty mają
63nazwy zmienione zgodnie z wymogiem licencji.
64
65Ten pakiet zawiera fonty w formacie Type1.
66
67%prep
68%setup -q -n thaifonts-siampradesh-%{version}
3fe050da 69%patch0 -p1
2574d328
JB
70
71%build
3fe050da
JR
72%{__aclocal}
73%{__autoconf}
74%{__automake}
2574d328
JB
75%configure \
76 --enable-pfb \
77 --with-ttfdir=%{_fontsdir}/TTF \
78 --with-type1dir=%{_fontsdir}/Type1
79%{__make} -j1
80
81%install
82rm -rf $RPM_BUILD_ROOT
83
84%{__make} install \
85 DESTDIR=$RPM_BUILD_ROOT
86
87install -d $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
88mv $RPM_BUILD_ROOT%{_fontsdir}/Type1/*.afm $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
89mkfontscale -o $RPM_BUILD_ROOT%{_fontsdir}/Type1/fonts.scale.thai-siampradesh $RPM_BUILD_ROOT%{_fontsdir}/Type1
90
91%clean
92rm -rf $RPM_BUILD_ROOT
93
94%post -n fonts-TTF-thai-siampradesh
95fontpostinst TTF
96
97%postun -n fonts-TTF-thai-siampradesh
98fontpostinst TTF
99
100%post -n fonts-Type1-thai-siampradesh
101fontpostinst Type1
102
103%postun -n fonts-Type1-thai-siampradesh
104fontpostinst Type1
105
106%files -n fonts-TTF-thai-siampradesh
107%defattr(644,root,root,755)
108%doc AUTHORS COPYING ChangeLog NEWS README
109%{_fontsdir}/TTF/SPAphaimanee*.ttf
110%{_fontsdir}/TTF/SPHanuman*.ttf
111%{_fontsdir}/TTF/SPLaksaman*.ttf
112%{_fontsdir}/TTF/SPLaweng*.ttf
113%{_fontsdir}/TTF/SPRama*.ttf
114%{_fontsdir}/TTF/SPSida*.ttf
115%{_fontsdir}/TTF/SPSinsamut*.ttf
116%{_fontsdir}/TTF/SPSutsakhorn*.ttf
117%{_fontsdir}/TTF/SPThotsakan*.ttf
3fe050da
JR
118%{_datadir}/fontconfig/conf.avail/64-ttf-thai-siampradesh.conf
119%{_datadir}/fontconfig/conf.avail/89-ttf-thai-siampradesh-synthetic.conf
2574d328
JB
120
121%files -n fonts-Type1-thai-siampradesh
122%defattr(644,root,root,755)
123%doc AUTHORS COPYING ChangeLog NEWS README
124%{_fontsdir}/Type1/SPAphaimanee*.pfb
125%{_fontsdir}/Type1/SPHanuman*.pfb
126%{_fontsdir}/Type1/SPLaksaman*.pfb
127%{_fontsdir}/Type1/SPLaweng*.pfb
128%{_fontsdir}/Type1/SPRama*.pfb
129%{_fontsdir}/Type1/SPSida*.pfb
130%{_fontsdir}/Type1/SPSinsamut*.pfb
131%{_fontsdir}/Type1/SPSutsakhorn*.pfb
132%{_fontsdir}/Type1/SPThotsakan*.pfb
133%{_fontsdir}/Type1/fonts.scale.thai-siampradesh
134%{_fontsdir}/Type1/afm/SPAphaimanee*.afm
135%{_fontsdir}/Type1/afm/SPHanuman*.afm
136%{_fontsdir}/Type1/afm/SPLaksaman*.afm
137%{_fontsdir}/Type1/afm/SPLaweng*.afm
138%{_fontsdir}/Type1/afm/SPRama*.afm
139%{_fontsdir}/Type1/afm/SPSida*.afm
140%{_fontsdir}/Type1/afm/SPSinsamut*.afm
141%{_fontsdir}/Type1/afm/SPSutsakhorn*.afm
142%{_fontsdir}/Type1/afm/SPThotsakan*.afm
This page took 0.072353 seconds and 4 git commands to generate.