]> git.pld-linux.org Git - packages/fontforge.git/blob - fontforge.spec
- release 3 (by relup.sh)
[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:        3
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 URL:            http://fontforge.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  cairo-devel >= 1.2
16 BuildRequires:  fontconfig-devel
17 BuildRequires:  freetype-devel >= 2.0.0
18 BuildRequires:  gettext-devel
19 BuildRequires:  giflib-devel
20 BuildRequires:  libjpeg-devel
21 BuildRequires:  libpng-devel
22 BuildRequires:  libspiro-devel
23 BuildRequires:  libtiff-devel
24 BuildRequires:  libtool
25 BuildRequires:  libuninameslist-devel
26 BuildRequires:  libxml2-devel
27 BuildRequires:  pango-devel
28 BuildRequires:  pkgconfig
29 BuildRequires:  python-devel >= 2.3
30 BuildRequires:  python-modules >= 2.3
31 BuildRequires:  xorg-lib-libX11-devel
32 BuildRequires:  xorg-lib-libXi-devel
33 BuildRequires:  zlib-devel
34 Requires:       cairo >= 1.2
35 Requires:       iconv
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
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,
52 OpenType (Type2) i fonty z kluczami CID.
53
54 FontForge wcześniej nazywał się PfaEdit.
55
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}
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
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
82 %prep
83 %setup -q -n %{name}-%{version}-b
84 %patch0 -p1
85 %patch1 -p1
86
87 %build
88 %{__libtoolize}
89 %{__aclocal}
90 %{__autoconf}
91 %configure \
92         --enable-type3 \
93         --enable-multilayer \
94         --enable-devicetables \
95         --enable-longdouble \
96         --enable-gb12345 \
97         --enable-pasteafter \
98         --enable-tilepath \
99         --enable-pyextension \
100         --with-freetype-bytecode \
101         --with-regular-link \
102         --without-freetype-src \
103         --with-pango \
104         --with-cairo \
105         --with-x
106
107 %{__make}
108
109 %install
110 rm -rf $RPM_BUILD_ROOT
111
112 %{__make} install \
113         DESTDIR=$RPM_BUILD_ROOT
114
115 %find_lang FontForge
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %post   -p /sbin/ldconfig
121 %postun -p /sbin/ldconfig
122
123 %files -f FontForge.lang
124 %defattr(644,root,root,755)
125 %doc AUTHORS LICENSE README-Unix.html
126 %attr(755,root,root) %{_bindir}/fontforge
127 %attr(755,root,root) %{_bindir}/fontimage
128 %attr(755,root,root) %{_bindir}/fontlint
129 %attr(755,root,root) %{_bindir}/sfddiff
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
140 %{_datadir}/fontforge
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
This page took 0.06261 seconds and 3 git commands to generate.