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