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