1 Summary: An outline font editor
2 Summary(pl.UTF-8): Edytor fontów rysowanych
7 Group: X11/Applications/Publishing
8 Source0: http://dl.sourceforge.net/fontforge/%{name}_full-%{version}.tar.bz2
9 # Source0-md5: ea9d8dc38de79235fbe6add725b38ffe
10 Patch0: %{name}-sonames.patch
11 Patch1: %{name}-libpng.patch
12 URL: http://fontforge.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 # needed at build time to not disable their support and for detecting SONAME
16 BuildRequires: freetype-devel >= 2.0.0
17 BuildRequires: gettext-devel
18 BuildRequires: giflib-devel
19 BuildRequires: libjpeg-devel
20 BuildRequires: libpng-devel
21 BuildRequires: libtiff-devel
22 BuildRequires: libtool
23 BuildRequires: libuninameslist-devel
24 BuildRequires: libxml2-devel
25 BuildRequires: python-devel
26 BuildRequires: python-modules
27 BuildRequires: xorg-lib-libX11-devel
28 BuildRequires: xorg-lib-libXi-devel
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 FontForge allows you to edit outline and bitmap fonts. You can create
35 new ones or modify old ones. It is also a font format converter and
36 can convert among PostScript (ASCII & binary Type 1, some Type 3s,
37 some Type 0s), TrueType, OpenType (Type2) and CID-keyed fonts.
39 FontForge used to be called PfaEdit.
41 %description -l pl.UTF-8
42 FontForge pozwala na edycję fontów rysowanych i bitmapowych. Można
43 tworzyć nowe lub modyfikować istniejące. Jest to także konwerter
44 między formatami fontów - potrafi obsługiwać fonty postscriptowe
45 (ASCII i binarne Type 1, część Type 3, część Type 0), TrueType,
46 OpenType (Type2) i fonty z kluczami CID.
48 FontForge wcześniej nazywał się PfaEdit.
52 # hardcoded in code is +- same as hardcoded at compile time
62 --enable-devicetables \
64 --with-freetype-bytecode \
66 --without-freetype-src
71 rm -rf $RPM_BUILD_ROOT
76 mv $RPM_BUILD_ROOT%{_datadir}/locale/m{a,}l
80 rm -rf $RPM_BUILD_ROOT%{_libdir}/{*.la,pkgconfig}
83 rm -rf $RPM_BUILD_ROOT
85 %post -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
88 %files -f FontForge.lang
89 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_bindir}/fontforge
92 %attr(755,root,root) %{_bindir}/fontimage
93 %attr(755,root,root) %{_bindir}/fontlint
94 %attr(755,root,root) %{_bindir}/sfddiff
95 %attr(755,root,root) %{_libdir}/lib*.so.*