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