]> git.pld-linux.org Git - packages/ttfautohint.git/blob - ttfautohint.spec
4e5ebb7d8cc2d04f7be3bae0860f66d24c666346
[packages/ttfautohint.git] / ttfautohint.spec
1 Summary:        Auto-generating hints for TrueType fonts
2 Summary(pl.UTF-8):      Automatyczne generowanie hintingu dla fontów TrueType
3 Name:           ttfautohint
4 Version:        0.97
5 Release:        1
6 License:        FreeType License or GPL v2+
7 Group:          Applications
8 Source0:        http://downloads.sourceforge.net/freetype/%{name}-%{version}.tar.gz
9 # Source0-md5:  f85a4d5d70f960c9a9a6f26fbda495ae
10 URL:            http://freetype.org/
11 BuildRequires:  QtCore-devel >= 4.6
12 BuildRequires:  QtGui-devel >= 4.6
13 BuildRequires:  freetype-devel >= 1:2.4.5
14 BuildRequires:  qt4-build >= 4.6
15 Requires:       freetype >= 1:2.4.5
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This project provides a utility which takes a TrueType font as the
20 input, remove its hinting bytecode instructions (if any), and return a
21 new font where all glyphs are bytecode hinted using the information
22 given by FreeType's autohinting module. The idea is to provide the
23 same quality of the autohinter on platforms which don't use FreeType.
24
25 %description -l pl.UTF-8
26 Ten projekt zapewnia narzędzie przyjmujące na wejściu fonty TrueType,
27 usuwające z nich instrukcje bajtkodowe hintingu (jeśli są) i tworzące
28 nowy font, w którym wszystkie glify wykorzystują hinting utworzony
29 przy użyciu modułu autohintingu z FreeType. Celem jest zapewnienie tej
30 samej jakości, którą daje autohinter, na platformach nie
31 wykorzystujących FreeType.
32
33 %package gui
34 Summary:        GUI application to replace hints in a TrueType font
35 Summary(pl.UTF-8):      Graficzna aplikacja do podmiany reguł hintingu w fontach TrueType
36 Group:          X11/Applications/Graphics
37 Requires:       QtGui >= 4.6
38 Requires:       freetype >= 1:2.4.5
39
40 %description gui
41 GUI application to replace hints in a TrueType font. The new hints are
42 based on FreeType's auto-hinter.
43
44 %description gui -l pl.UTF-8
45 Graficzna aplikacja do podmiany reguł hintingu w fontach TrueType.
46 Nowe reguły są oparte na auto-hinterze z FreeType.
47
48 %prep
49 %setup -q
50
51 %build
52 %configure \
53         MOC=/usr/bin/moc-qt4 \
54         QMAKE=/usr/bin/qmake-qt4 \
55         QTDIR=%{_libdir}/qt4 \
56         --disable-silent-rules
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 # requirements to automatically install man pages are insane - do it manually
67 install -d $RPM_BUILD_ROOT%{_mandir}/man1
68 cp -p frontend/ttf*.1 $RPM_BUILD_ROOT%{_mandir}/man1
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc AUTHORS COPYING ChangeLog FTL.TXT NEWS README THANKS TODO
76 %attr(755,root,root) %{_bindir}/ttfautohint
77 %{_mandir}/man1/ttfautohint.1*
78
79 %files gui
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_bindir}/ttfautohintGUI
82 %{_mandir}/man1/ttfautohintGUI.1*
This page took 0.049804 seconds and 2 git commands to generate.