source: projects/specs/trunk/f/freefonts/freefonts-vl.spec @ 521

Revision 521, 1.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define fontdir %{_datadir}/fonts/%{name}/
2
3Summary: freefonts - collection of free ATM fonts
4Name: freefonts
5Version: 0.10
6Release: 5%{?_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 -n 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* Thu Jul 16 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10-5
58- added Requires: chkfontpath
59
60* Tue Jul  1 2008 KATO Masashi <mkato@par.odn.ne.jp>  0.10-4
61- applied new versioning policy
62- build for xorg-x11-7.3
63  - change font location to %{_datadir}/fonts/%{name}
64- changed Source URL
65
66* Sat Jul 22 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com>
67- changed Group to User Interface/X
68- s/Copyright/License/
69- used more macros
70
71* Mon Mar  6 2000 Jun Nishii <jun@vinelinux.org>
72- added chkdfontpath
73- rebuild for Vine Linux 2.0
74
75* Mon Jul  5 1999 Naoki Kawakami <knao@ps.namco.co.jp>
76- added fonts.dir
77- i386 -> noarch
78
79* Wed Jun 30 1999 Naoki Kawakami <knao@ps.namco.co.jp>
80- first release
Note: See TracBrowser for help on using the repository browser.