source: projects/specs/branches/6/f/freefonts/freefonts-vl.spec @ 6445

Revision 6445, 1.9 KB checked in by kudoh, 12 years ago (diff)
Line 
1%define fontdir %{_datadir}/fonts/%{name}/
2
3Summary: freefonts - collection of free ATM fonts
4Name: freefonts
5Version: 0.10
6Release: 6%{?_dist_release}
7Source: ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz
8License: distributable
9Group: User Interface/X
10Buildroot: %{_tmppath}/%{name}-%{version}-root
11BuildArch: noarch
12
13Requires: chkfontpath
14
15%description
16This is a collection of 79 freely available fonts. All of them were found in
17the CICA archives for Windows.
18
19Some of them are missing special characters, some only contain capitals,
20some contain special alphabets. Be careful and check!
21
22The collection was motivated by the lack of good fonts for Linux especially X11
23and ghostscript. Scaled bitmaps look really ugly!
24
25#%description -l ja
26
27%prep
28%setup -qn freefont
29rm -rf ${RPM_BUILD_ROOT}
30
31%build
32
33%install
34
35mkdir -p ${RPM_BUILD_ROOT}/%{fontdir}
36cp *.pfb fonts.dir ${RPM_BUILD_ROOT}/%{fontdir}
37
38%clean
39rm -rf ${RPM_BUILD_ROOT}
40
41%post
42/usr/sbin/chkfontpath -q -a %{fontdir}
43
44%postun
45if [ "$1" = "0" ]; then
46        [ -f %{fontdir}/fonts.dir ] && exit 0
47        /usr/sbin/chkfontpath -q -r %{fontdir}
48fi
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
Note: See TracBrowser for help on using the repository browser.