]>
Commit | Line | Data |
---|---|---|
5b9f5543 | 1 | Summary: An outline font editor |
5fbf9ad2 | 2 | Summary(pl.UTF-8): Edytor fontów rysowanych |
5b9f5543 | 3 | Name: fontforge |
1699a51e | 4 | Version: 20090923 |
0d61946e | 5 | Release: 6 |
5b9f5543 JB |
6 | License: BSD |
7 | Group: X11/Applications/Publishing | |
ec0fe2d8 | 8 | Source0: http://dl.sourceforge.net/fontforge/%{name}_full-%{version}.tar.bz2 |
1699a51e | 9 | # Source0-md5: ea9d8dc38de79235fbe6add725b38ffe |
5b9f5543 | 10 | Patch0: %{name}-sonames.patch |
2bd644cd | 11 | Patch1: %{name}-libpng.patch |
5b9f5543 | 12 | URL: http://fontforge.sourceforge.net/ |
5b9f5543 JB |
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 | |
7b1f7094 | 17 | BuildRequires: gettext-devel |
ff913066 | 18 | BuildRequires: giflib-devel |
5b9f5543 JB |
19 | BuildRequires: libjpeg-devel |
20 | BuildRequires: libpng-devel | |
21 | BuildRequires: libtiff-devel | |
22 | BuildRequires: libtool | |
5b9f5543 | 23 | BuildRequires: libuninameslist-devel |
7b1f7094 | 24 | BuildRequires: libxml2-devel |
ceb0ecc7 | 25 | BuildRequires: python-devel |
26 | BuildRequires: python-modules | |
f3c514af | 27 | BuildRequires: xorg-lib-libX11-devel |
f3c514af | 28 | BuildRequires: xorg-lib-libXi-devel |
7b1f7094 | 29 | Requires: iconv |
5b9f5543 JB |
30 | Obsoletes: pfaedit |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
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. | |
38 | ||
39 | FontForge used to be called PfaEdit. | |
40 | ||
ce0761d3 JR |
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, | |
5b9f5543 JB |
46 | OpenType (Type2) i fonty z kluczami CID. |
47 | ||
ce0761d3 | 48 | FontForge wcześniej nazywał się PfaEdit. |
5b9f5543 JB |
49 | |
50 | %prep | |
51 | %setup -q | |
1699a51e AM |
52 | # hardcoded in code is +- same as hardcoded at compile time |
53 | #%patch0 -p1 | |
2bd644cd | 54 | %patch1 -p1 |
5b9f5543 JB |
55 | |
56 | %build | |
57 | %{__libtoolize} | |
58 | %{__aclocal} | |
59 | %{__autoconf} | |
60 | %configure \ | |
2bd644cd AM |
61 | --enable-type3 \ |
62 | --enable-devicetables \ | |
63 | --enable-longdouble \ | |
5b9f5543 | 64 | --with-freetype-bytecode \ |
2bd644cd | 65 | --with-regular-link \ |
5b9f5543 JB |
66 | --without-freetype-src |
67 | ||
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %makeinstall | |
74 | ||
2f94241e | 75 | # Malayalam is ml |
76 | mv $RPM_BUILD_ROOT%{_datadir}/locale/m{a,}l | |
1f37860c | 77 | |
7935b599 | 78 | %find_lang FontForge |
04c00bcf | 79 | |
a399c56f | 80 | rm -rf $RPM_BUILD_ROOT%{_libdir}/{*.la,pkgconfig} |
81 | ||
5b9f5543 JB |
82 | %clean |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %post -p /sbin/ldconfig | |
86 | %postun -p /sbin/ldconfig | |
87 | ||
7935b599 | 88 | %files -f FontForge.lang |
5b9f5543 | 89 | %defattr(644,root,root,755) |
ec0fe2d8 | 90 | %doc AUTHORS LICENSE |
5b9f5543 | 91 | %attr(755,root,root) %{_bindir}/fontforge |
1699a51e AM |
92 | %attr(755,root,root) %{_bindir}/fontimage |
93 | %attr(755,root,root) %{_bindir}/fontlint | |
5b9f5543 | 94 | %attr(755,root,root) %{_bindir}/sfddiff |
1699a51e AM |
95 | %attr(755,root,root) %{_libdir}/lib*.so.* |
96 | %{_datadir}/fontforge | |
5b9f5543 | 97 | %{_mandir}/man1/* |