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