]> git.pld-linux.org Git - packages/fonty.git/blob - fonty.spec
69ba527fcd3866e613cae4aaa1ead6210cfb6645
[packages/fonty.git] / fonty.spec
1 Summary:        Fonts on Linux console
2 Summary(pl):    Fonty na konsoli Linuksa
3 Name:           fonty
4 Version:        1.0
5 Release:        6
6 License:        GPL
7 Group:          Applications/Text
8 Source0:        http://qrczak.ids.net.pl/programy/linux/%{name}/%{name}-%{version}.tar.gz
9 Source1:        iso02grf.psf.gz
10 URL:            http://qrczak.ids.net.pl/programy/linux/fonty/
11 BuildRequires:  perl
12 Requires:       console-tools
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 The Fonty package contains various fonts for Linux text console and
17 dynafont - a tool which allows displaying texts containing thousands
18 of different characters.
19
20 %description -l pl
21 Niniejszy pakiet zawiera ró¿ne czcionki dla konsoli tekstowej Linuksa
22 oraz dynafont - narzêdzie pozwalaj±ce wy¶wietlaæ teksty zawieraj±ce
23 tysi±ce ró¿nych znaków.
24
25 %prep
26 %setup -q
27
28 %build
29 OPTFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
30 OPTFLAGS="$OPTFLAGS -fno-rtti -fno-exceptions"
31 %{__make} \
32         CXXFLAGS="$OPTFLAGS" \
33         consoleprefix=%{_prefix} \
34         konwertprefix=%{_prefix} \
35         perl=/usr/bin/perl \
36         docdir=%{_docdir}/%{name}-%{version}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 %{__make} install \
41         consoleprefix=$RPM_BUILD_ROOT%{_prefix} \
42         konwertprefix=$RPM_BUILD_ROOT%{_prefix} \
43         perl=%{_bindir}/perl \
44         docdir=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
45
46 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/consolefonts
47
48 rm -f doc/pl/{DO_ZROBIENIA,ZMIANY}
49 cp -a doc/en/TODO doc/pl/DO_ZROBIENIA
50 cp -a doc/en/CHANGES doc/pl/ZMIANY
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc doc/en
58 %doc %lang(pl) doc/pl
59 %{_datadir}/consolefonts/*
60 # consoletrans/qrczak.fallback conflicts with console-data
61 # and is useless with kbd (kbd doesn't support fallback tables)
62 #%%{_datadir}/consoletrans/*
63 %attr(755,root,root) %{_libdir}/konwert/aux/dynafont
64 %attr(755,root,root) %{_datadir}/konwert/filters/dynafont
This page took 0.053561 seconds and 2 git commands to generate.