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