1 | %define fontdir %{_datadir}/fonts/%{name}/ |
---|
2 | |
---|
3 | Summary: freefonts - collection of free ATM fonts |
---|
4 | Name: freefonts |
---|
5 | Version: 0.10 |
---|
6 | Release: 6%{?_dist_release} |
---|
7 | Source: ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz |
---|
8 | License: distributable |
---|
9 | Group: User Interface/X |
---|
10 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildArch: noarch |
---|
12 | |
---|
13 | Requires: chkfontpath |
---|
14 | |
---|
15 | %description |
---|
16 | This is a collection of 79 freely available fonts. All of them were found in |
---|
17 | the CICA archives for Windows. |
---|
18 | |
---|
19 | Some of them are missing special characters, some only contain capitals, |
---|
20 | some contain special alphabets. Be careful and check! |
---|
21 | |
---|
22 | The collection was motivated by the lack of good fonts for Linux especially X11 |
---|
23 | and ghostscript. Scaled bitmaps look really ugly! |
---|
24 | |
---|
25 | #%description -l ja |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -qn freefont |
---|
29 | rm -rf ${RPM_BUILD_ROOT} |
---|
30 | |
---|
31 | %build |
---|
32 | |
---|
33 | %install |
---|
34 | |
---|
35 | mkdir -p ${RPM_BUILD_ROOT}/%{fontdir} |
---|
36 | cp *.pfb fonts.dir ${RPM_BUILD_ROOT}/%{fontdir} |
---|
37 | |
---|
38 | %clean |
---|
39 | rm -rf ${RPM_BUILD_ROOT} |
---|
40 | |
---|
41 | %post |
---|
42 | /usr/sbin/chkfontpath -q -a %{fontdir} |
---|
43 | |
---|
44 | %postun |
---|
45 | if [ "$1" = "0" ]; then |
---|
46 | [ -f %{fontdir}/fonts.dir ] && exit 0 |
---|
47 | /usr/sbin/chkfontpath -q -r %{fontdir} |
---|
48 | fi |
---|
49 | |
---|
50 | %files |
---|
51 | %defattr(-, root, root) |
---|
52 | %{fontdir} |
---|
53 | |
---|
54 | %doc Fontmap README *.license |
---|
55 | |
---|
56 | %changelog |
---|
57 | * Wed Jun 27 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10-6 |
---|
58 | - rebuilt |
---|
59 | |
---|
60 | * Thu Jul 16 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10-5 |
---|
61 | - added Requires: chkfontpath |
---|
62 | |
---|
63 | * Tue Jul 1 2008 KATO Masashi <mkato@par.odn.ne.jp> 0.10-4 |
---|
64 | - applied new versioning policy |
---|
65 | - build for xorg-x11-7.3 |
---|
66 | - change font location to %{_datadir}/fonts/%{name} |
---|
67 | - changed Source URL |
---|
68 | |
---|
69 | * Sat Jul 22 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> |
---|
70 | - changed Group to User Interface/X |
---|
71 | - s/Copyright/License/ |
---|
72 | - used more macros |
---|
73 | |
---|
74 | * Mon Mar 6 2000 Jun Nishii <jun@vinelinux.org> |
---|
75 | - added chkdfontpath |
---|
76 | - rebuild for Vine Linux 2.0 |
---|
77 | |
---|
78 | * Mon Jul 5 1999 Naoki Kawakami <knao@ps.namco.co.jp> |
---|
79 | - added fonts.dir |
---|
80 | - i386 -> noarch |
---|
81 | |
---|
82 | * Wed Jun 30 1999 Naoki Kawakami <knao@ps.namco.co.jp> |
---|
83 | - first release |
---|