1 Summary: Type1 font metrics converters
2 Summary(pl.UTF-8): Konwertery metryk fontów Type1
8 Source0: ftp://sunsite.unc.edu/pub/linux/utils/text/%{name}.tar.gz
9 # Source0-md5: b7598f46b7596c5e3e96ee11fd0a9268
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 This package containst two converters:
14 - pfm2afm - converts Windows .pfm files to .afm files,
15 - afm2pfm - convert Adobe .afm file to MS-Windows binary .pfm file.
17 %description -l pl.UTF-8
18 Programy do konwersji metryk fontów Type1 między formatami MS Windows
19 (.pfm) a Adobe (.afm):
20 - pfm2afm - konwertuje pliki .pfm do .afm,
21 - afm2pfm - konwertuje pliki .afm do .pfm.
27 %{__cc} %{rpmcflags} %{rpmldflags} -o afm2pfm afm2pfm.c
28 %{__cc} %{rpmcflags} %{rpmldflags} -o pfm2afm pfm2afm.c
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{_bindir}
33 install afm2pfm pfm2afm $RPM_BUILD_ROOT%{_bindir}
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
41 %attr(755,root,root) %{_bindir}/*