-
Notifications
You must be signed in to change notification settings - Fork 7
/
mftrace.spec.in
53 lines (40 loc) · 1.13 KB
/
mftrace.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#-*-RPM-SPEC-*-
Summary: Generate scalable fonts for TeX
Name: mftrace
Version: @VERSION@
Release: 1
URL: http://www.cs.uu.nl/~hanwen/mftrace
Source0: %{name}-%{version}.tar.gz
License: GPL
Group: Applications/Publishing
BuildRoot: %{_tmppath}/%{name}-root
Prereq: tetex python potrace t1utils
%description
Mftrace is a small Python program that lets you trace a @TeX{}
bitmap font into a PFA or PFB font (A PostScript Type1 Scalable Font).
It is licensed under the GNU GPL.
Type1 fonts offer many advantages over bitmaps, as they allow PostScript
files to render correctly on printers with many resolutions. Moreover,
Ghostscript can generate much better PDF, if given scalable fonts.
%prep
%setup -q
%build
./configure --prefix=/usr/
make
make README.txt
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT/usr/ mandir=$RPM_BUILD_ROOT/%{_mandir} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_prefix}/bin/gf2pbm
%{_prefix}/bin/mftrace
%{_mandir}/man1/mftrace.1.gz
%{_datadir}/mftrace/afm.*
%{_datadir}/mftrace/tfm.*
%doc README.txt
%changelog
* Tue Feb 19 2002 Han-Wen Nienhuys <[email protected]>
- Initial build.