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