|
@@ -1,43 +1,45 @@
|
|
|
-Summary: Generate scalable fonts for TeX
|
|
|
-Name: mftrace
|
|
|
-Version: 1.2.14
|
|
|
-Release: 3%{?_dist_release}
|
|
|
-URL: http://www.cs.uu.nl/~hanwen/mftrace
|
|
|
-Source0: %{name}-%{version}.tar.gz
|
|
|
-License: GPL
|
|
|
-Group: Applications/Publishing
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-Prereq: texlive python potrace t1utils
|
|
|
-BuildRequires: python potrace texinfo
|
|
|
+Summary: Utility for converting TeX bitmap fonts to Type 1 or TrueType fonts
|
|
|
+Summary(ja): TeXビットマップフォントからType 1やTrueTypeフォントへ変換するユーティリティ
|
|
|
+Name: mftrace
|
|
|
+Version: 1.2.15
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+URL: http://lilypond.org/mftrace/
|
|
|
+Source0: http://lilypond.org/download/sources/mftrace/%{name}-%{version}.tar.gz
|
|
|
+License: GPLv2
|
|
|
+Group: Applications/Publishing
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
+Requires: texlive-common python potrace t1utils fontforge
|
|
|
+BuildRequires: python potrace texinfo
|
|
|
|
|
|
%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.
|
|
|
+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) or TTF
|
|
|
+(TrueType) font.
|
|
|
|
|
|
-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.
|
|
|
+Scalable fonts offer many advantages over bitmaps, as they allow
|
|
|
+documents to render correctly at many printer resolutions. Moreover,
|
|
|
+Ghostscript can generate much better PDF, if given scalable PostScript
|
|
|
+fonts.
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
+%__sed -i -e "s/-Wall -O2/$RPM_OPT_FLAGS/" GNUmakefile.in
|
|
|
|
|
|
%build
|
|
|
-./configure --prefix=%{_prefix}
|
|
|
-make
|
|
|
-make README.txt
|
|
|
+%configure
|
|
|
+%__make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
%install
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
-make prefix=$RPM_BUILD_ROOT%{_prefix} mandir=$RPM_BUILD_ROOT%{_mandir} install
|
|
|
+%__rm -rf $RPM_BUILD_ROOT
|
|
|
+%__make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
%clean
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
+%__rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
|
-%defattr(-,root,root)
|
|
|
-
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%doc README.txt ChangeLog
|
|
|
%{_prefix}/bin/gf2pbm
|
|
|
%{_prefix}/bin/mftrace
|
|
|
%{_mandir}/man1/mftrace.1.gz
|
|
@@ -45,9 +47,12 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_datadir}/mftrace/afm.py
|
|
|
%{_datadir}/mftrace/tfm.pyc
|
|
|
%{_datadir}/mftrace/tfm.py
|
|
|
-%doc README.txt
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Jan 28 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.15-1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
* Sun Aug 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.14-3
|
|
|
- TeX Live 2009
|
|
|
|