]>
Commit | Line | Data |
---|---|---|
5b9f5543 | 1 | Summary: An outline font editor |
5fbf9ad2 | 2 | Summary(pl.UTF-8): Edytor fontów rysowanych |
5b9f5543 | 3 | Name: fontforge |
1fce6f6d | 4 | Version: 20120731 |
fc3519dc | 5 | Release: 3 |
5b9f5543 JB |
6 | License: BSD |
7 | Group: X11/Applications/Publishing | |
1fce6f6d AM |
8 | Source0: http://downloads.sourceforge.net/fontforge/%{name}_full-%{version}-b.tar.bz2 |
9 | # Source0-md5: a8a90473a97da87e45f66d11007b6e7c | |
c4422ab0 | 10 | Patch0: %{name}-link.patch |
31c89272 | 11 | Patch1: %{name}-20090224-pythondl.patch |
5b9f5543 | 12 | URL: http://fontforge.sourceforge.net/ |
5b9f5543 JB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
c40b8487 JB |
15 | BuildRequires: cairo-devel >= 1.2 |
16 | BuildRequires: fontconfig-devel | |
5b9f5543 | 17 | BuildRequires: freetype-devel >= 2.0.0 |
7b1f7094 | 18 | BuildRequires: gettext-devel |
ff913066 | 19 | BuildRequires: giflib-devel |
5b9f5543 JB |
20 | BuildRequires: libjpeg-devel |
21 | BuildRequires: libpng-devel | |
1d1af2fd | 22 | BuildRequires: libspiro-devel |
5b9f5543 JB |
23 | BuildRequires: libtiff-devel |
24 | BuildRequires: libtool | |
5b9f5543 | 25 | BuildRequires: libuninameslist-devel |
7b1f7094 | 26 | BuildRequires: libxml2-devel |
16b7cb86 JB |
27 | BuildRequires: pango-devel |
28 | BuildRequires: pkgconfig | |
c4422ab0 JB |
29 | BuildRequires: python-devel >= 2.3 |
30 | BuildRequires: python-modules >= 2.3 | |
f3c514af | 31 | BuildRequires: xorg-lib-libX11-devel |
f3c514af | 32 | BuildRequires: xorg-lib-libXi-devel |
c40b8487 JB |
33 | BuildRequires: zlib-devel |
34 | Requires: cairo >= 1.2 | |
7b1f7094 | 35 | Requires: iconv |
5b9f5543 JB |
36 | Obsoletes: pfaedit |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
38 | ||
39 | %description | |
40 | FontForge allows you to edit outline and bitmap fonts. You can create | |
41 | new ones or modify old ones. It is also a font format converter and | |
42 | can convert among PostScript (ASCII & binary Type 1, some Type 3s, | |
43 | some Type 0s), TrueType, OpenType (Type2) and CID-keyed fonts. | |
44 | ||
45 | FontForge used to be called PfaEdit. | |
46 | ||
ce0761d3 JR |
47 | %description -l pl.UTF-8 |
48 | FontForge pozwala na edycję fontów rysowanych i bitmapowych. Można | |
49 | tworzyć nowe lub modyfikować istniejące. Jest to także konwerter | |
50 | między formatami fontów - potrafi obsługiwać fonty postscriptowe | |
51 | (ASCII i binarne Type 1, część Type 3, część Type 0), TrueType, | |
5b9f5543 JB |
52 | OpenType (Type2) i fonty z kluczami CID. |
53 | ||
ce0761d3 | 54 | FontForge wcześniej nazywał się PfaEdit. |
5b9f5543 | 55 | |
16b7cb86 JB |
56 | %package devel |
57 | Summary: Header files for FontForge libraries | |
58 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek FontForge | |
59 | Group: Development/Libraries | |
60 | Requires: %{name} = %{version}-%{release} | |
c40b8487 JB |
61 | Requires: cairo-devel >= 1.2 |
62 | Requires: fontconfig-devel | |
63 | Requires: freetype-devel >= 2.0.0 | |
64 | Requires: giflib-devel | |
65 | Requires: libjpeg-devel | |
66 | Requires: libpng-devel | |
67 | Requires: libspiro-devel | |
68 | Requires: libtiff-devel | |
69 | Requires: libuninameslist-devel | |
70 | Requires: libxml2-devel | |
71 | Requires: pango-devel | |
72 | Requires: xorg-lib-libX11-devel | |
73 | Requires: xorg-lib-libXi-devel | |
74 | Requires: zlib-devel | |
16b7cb86 JB |
75 | |
76 | %description devel | |
77 | Header files for FontForge libraries. | |
78 | ||
79 | %description devel -l pl.UTF-8 | |
80 | Pliki nagłówkowe bibliotek FontForge. | |
81 | ||
5b9f5543 | 82 | %prep |
1fce6f6d | 83 | %setup -q -n %{name}-%{version}-b |
c4422ab0 | 84 | %patch0 -p1 |
9d11b5b6 | 85 | %patch1 -p1 |
5b9f5543 JB |
86 | |
87 | %build | |
88 | %{__libtoolize} | |
89 | %{__aclocal} | |
90 | %{__autoconf} | |
91 | %configure \ | |
2bd644cd | 92 | --enable-type3 \ |
9d11b5b6 | 93 | --enable-multilayer \ |
2bd644cd AM |
94 | --enable-devicetables \ |
95 | --enable-longdouble \ | |
9d11b5b6 AM |
96 | --enable-gb12345 \ |
97 | --enable-pasteafter \ | |
98 | --enable-tilepath \ | |
99 | --enable-pyextension \ | |
5b9f5543 | 100 | --with-freetype-bytecode \ |
2bd644cd | 101 | --with-regular-link \ |
9d11b5b6 AM |
102 | --without-freetype-src \ |
103 | --with-pango \ | |
104 | --with-cairo \ | |
105 | --with-x | |
5b9f5543 JB |
106 | |
107 | %{__make} | |
108 | ||
109 | %install | |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
16b7cb86 JB |
112 | %{__make} install \ |
113 | DESTDIR=$RPM_BUILD_ROOT | |
5b9f5543 | 114 | |
7935b599 | 115 | %find_lang FontForge |
04c00bcf | 116 | |
5b9f5543 JB |
117 | %clean |
118 | rm -rf $RPM_BUILD_ROOT | |
119 | ||
120 | %post -p /sbin/ldconfig | |
121 | %postun -p /sbin/ldconfig | |
122 | ||
7935b599 | 123 | %files -f FontForge.lang |
5b9f5543 | 124 | %defattr(644,root,root,755) |
16b7cb86 | 125 | %doc AUTHORS LICENSE README-Unix.html |
5b9f5543 | 126 | %attr(755,root,root) %{_bindir}/fontforge |
1699a51e AM |
127 | %attr(755,root,root) %{_bindir}/fontimage |
128 | %attr(755,root,root) %{_bindir}/fontlint | |
5b9f5543 | 129 | %attr(755,root,root) %{_bindir}/sfddiff |
16b7cb86 JB |
130 | %attr(755,root,root) %{_libdir}/libfontforge.so.*.*.* |
131 | %attr(755,root,root) %ghost %{_libdir}/libfontforge.so.1 | |
132 | %attr(755,root,root) %{_libdir}/libgdraw.so.*.*.* | |
133 | %attr(755,root,root) %ghost %{_libdir}/libgdraw.so.4 | |
134 | %attr(755,root,root) %{_libdir}/libgioftp.so.*.*.* | |
135 | %attr(755,root,root) %ghost %{_libdir}/libgioftp.so.1 | |
136 | %attr(755,root,root) %{_libdir}/libgunicode.so.*.*.* | |
137 | %attr(755,root,root) %ghost %{_libdir}/libgunicode.so.3 | |
138 | %attr(755,root,root) %{_libdir}/libgutils.so.*.*.* | |
139 | %attr(755,root,root) %ghost %{_libdir}/libgutils.so.1 | |
1699a51e | 140 | %{_datadir}/fontforge |
16b7cb86 JB |
141 | %{_mandir}/man1/fontforge.1* |
142 | %{_mandir}/man1/fontimage.1* | |
143 | %{_mandir}/man1/fontlint.1* | |
144 | %{_mandir}/man1/sfddiff.1* | |
145 | ||
146 | %files devel | |
147 | %defattr(644,root,root,755) | |
148 | %attr(755,root,root) %{_libdir}/libfontforge.so | |
149 | %attr(755,root,root) %{_libdir}/libgdraw.so | |
150 | %attr(755,root,root) %{_libdir}/libgioftp.so | |
151 | %attr(755,root,root) %{_libdir}/libgunicode.so | |
152 | %attr(755,root,root) %{_libdir}/libgutils.so | |
153 | %{_libdir}/libfontforge.la | |
154 | %{_libdir}/libgdraw.la | |
155 | %{_libdir}/libgioftp.la | |
156 | %{_libdir}/libgunicode.la | |
157 | %{_libdir}/libgutils.la | |
158 | %{_includedir}/fontforge | |
159 | %{_pkgconfigdir}/fontforge.pc |