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