]> git.pld-linux.org Git - packages/fontforge.git/blob - fontforge.spec
c4b6ec3eecf4d6156502191282d150528dcabb5a
[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:        20090923
5 Release:        5
6 License:        BSD
7 Group:          X11/Applications/Publishing
8 Source0:        http://dl.sourceforge.net/fontforge/%{name}_full-%{version}.tar.bz2
9 # Source0-md5:  ea9d8dc38de79235fbe6add725b38ffe
10 Patch0:         %{name}-sonames.patch
11 Patch1:         %{name}-libpng.patch
12 URL:            http://fontforge.sourceforge.net/
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
17 BuildRequires:  gettext-devel
18 BuildRequires:  giflib-devel
19 BuildRequires:  libjpeg-devel
20 BuildRequires:  libpng-devel
21 BuildRequires:  libtiff-devel
22 BuildRequires:  libtool
23 BuildRequires:  libuninameslist-devel
24 BuildRequires:  libxml2-devel
25 BuildRequires:  python-devel
26 BuildRequires:  python-modules
27 BuildRequires:  xorg-lib-libX11-devel
28 BuildRequires:  xorg-lib-libXi-devel
29 Requires:       iconv
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
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,
46 OpenType (Type2) i fonty z kluczami CID.
47
48 FontForge wcześniej nazywał się PfaEdit.
49
50 %prep
51 %setup -q
52 # hardcoded in code is +- same as hardcoded at compile time
53 #%patch0 -p1
54 %patch1 -p1
55
56 %build
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %configure \
61         --enable-type3 \
62         --enable-devicetables \
63         --enable-longdouble \
64         --with-freetype-bytecode \
65         --with-regular-link \
66         --without-freetype-src
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %makeinstall
74
75 # Malayalam is ml
76 mv $RPM_BUILD_ROOT%{_datadir}/locale/m{a,}l
77
78 %find_lang FontForge
79
80 rm -rf $RPM_BUILD_ROOT%{_libdir}/{*.la,pkgconfig}
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post   -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
87
88 %files -f FontForge.lang
89 %defattr(644,root,root,755)
90 %doc AUTHORS LICENSE
91 %attr(755,root,root) %{_bindir}/fontforge
92 %attr(755,root,root) %{_bindir}/fontimage
93 %attr(755,root,root) %{_bindir}/fontlint
94 %attr(755,root,root) %{_bindir}/sfddiff
95 %attr(755,root,root) %{_libdir}/lib*.so.*
96 %{_datadir}/fontforge
97 %{_mandir}/man1/*
This page took 0.086941 seconds and 2 git commands to generate.