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