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