]> git.pld-linux.org Git - packages/unifont.git/blame - unifont.spec
d995135a96d5e558407422573fdc23c6 hex2bdf
[packages/unifont.git] / unifont.spec
CommitLineData
8fe1eecf 1Summary: Unicode font by Roman Czyborra
2Summary(pl): Font unicode Romana Czyborry
3Name: unifont
4Version: 1.0
5Release: 1
6License: GPL
7Group: Applications
69ef8fc2 8Source0: http://czyborra.com/unifont/%{name}.hex.gz
8fe1eecf 9Source1: hex2bdf
10BuildRequires: XFree86-devel
11Requires: XFree86
12BuildArch: noarch
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16Unicode font by Roman Czyborra.
17
18%description -l pl
19Font unicode Romana Czyborry.
20
21%build
22install -d %{name}-%{version}
23cd %{name}-%{version}
24gzip -dc %{SOURCE0} | %{SOURCE1} | bdftopcf | gzip -c - > unifont.pcf.gz
25
26%install
27rm -rf $RPM_BUILD_ROOT
28
29install -d $RPM_BUILD_ROOT%{_datadir}/fonts/misc
30install unifont.pcf.gz $RPM_BUILD_ROOT%{_datadir}/fonts/misc
31
32%clean
33rm -rf $RPM_BUILD_ROOT
34
35%post
36cd %{_datadir}/fonts/misc
37umask 022
38mkfontdir
39
40%postun
41cd %{_datadir}/fonts/misc
42umask 022
43mkfontdir
44
45%files
46%defattr(644,root,root,755)
47%attr(755,root,root) %{_datadir}/fonts/misc/*
This page took 0.061927 seconds and 4 git commands to generate.