[packages/ttfautohint] - updated to 0.95, added gui
qboosh
qboosh at pld-linux.org
Sun Jun 23 18:34:23 CEST 2013
commit e31616ab314e1cf8f8ee3ca0694b23167ff8ee5f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jun 23 18:34:00 2013 +0200
- updated to 0.95, added gui
ttfautohint.spec | 35 +++++++++++++++++++++++++++++++++--
1 file changed, 33 insertions(+), 2 deletions(-)
---
diff --git a/ttfautohint.spec b/ttfautohint.spec
index 94e5813..a509c4f 100644
--- a/ttfautohint.spec
+++ b/ttfautohint.spec
@@ -1,14 +1,17 @@
Summary: Auto-generating hints for TrueType fonts
Summary(pl.UTF-8): Automatyczne generowanie hintingu dla fontów TrueType
Name: ttfautohint
-Version: 0.2
+Version: 0.95
Release: 1
License: FreeType License or GPL v2+
Group: Applications
Source0: http://downloads.sourceforge.net/freetype/%{name}-%{version}.tar.gz
-# Source0-md5: 423a4b615f8d003f3a26129af371c002
+# Source0-md5: b6c38df621bf66ea2838a4ec3dc14a3b
URL: http://freetype.org/
+BuildRequires: QtCore-devel >= 4.6
+BuildRequires: QtGui-devel >= 4.6
BuildRequires: freetype-devel >= 1:2.4.5
+BuildRequires: qt4-build >= 4.6
Requires: freetype >= 1:2.4.5
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -27,12 +30,31 @@ przy użyciu modułu autohintingu z FreeType. Celem jest zapewnienie tej
samej jakości, którą daje autohinter, na platformach nie
wykorzystujących FreeType.
+%package gui
+Summary: GUI application to replace hints in a TrueType font
+Summary(pl.UTF-8): Graficzna aplikacja do podmiany reguł hintingu w fontach TrueType
+Group: X11/Applications/Graphics
+Requires: QtGui >= 4.6
+Requires: freetype >= 1:2.4.5
+
+%description gui
+GUI application to replace hints in a TrueType font. The new hints are
+based on FreeType's auto-hinter.
+
+%description gui -l pl.UTF-8
+Graficzna aplikacja do podmiany reguł hintingu w fontach TrueType.
+Nowe reguły są oparte na auto-hinterze z FreeType.
+
%prep
%setup -q
%build
%configure \
+ MOC=/usr/bin/moc-qt4 \
+ QMAKE=/usr/bin/qmake-qt4 \
+ QTDIR=%{_libdir}/qt4 \
--disable-silent-rules
+
%{__make}
%install
@@ -41,6 +63,10 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# requirements to automatically install man pages are insane - do it manually
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p frontend/ttf*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -49,3 +75,8 @@ rm -rf $RPM_BUILD_ROOT
%doc AUTHORS COPYING ChangeLog FTL.TXT NEWS README THANKS TODO
%attr(755,root,root) %{_bindir}/ttfautohint
%{_mandir}/man1/ttfautohint.1*
+
+%files gui
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ttfautohintGUI
+%{_mandir}/man1/ttfautohintGUI.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ttfautohint.git/commitdiff/e31616ab314e1cf8f8ee3ca0694b23167ff8ee5f
More information about the pld-cvs-commit
mailing list