]> git.pld-linux.org Git - packages/fontforge.git/blob - fontforge.spec
- s/libungif/giflib/ in deps
[packages/fontforge.git] / fontforge.spec
1 Summary:        An outline font editor
2 Summary(pl):    Edytor fontów rysowanych
3 Name:           fontforge
4 Version:        20060125
5 Release:        1
6 License:        BSD
7 Group:          X11/Applications/Publishing
8 Source0:        http://dl.sourceforge.net/fontforge/%{name}_full-%{version}.tar.bz2
9 # Source0-md5:  831ac5225b1a9b00b0b7bcf622c62fee
10 Patch0:         %{name}-sonames.patch
11 Patch1:         %{name}-iconv-in-libc.patch
12 Patch2:         %{name}-sfddiff-build.patch
13 URL:            http://fontforge.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 # needed at build time to not disable their support and for detecting SONAME
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:  libtiff-devel
23 BuildRequires:  libtool
24 BuildRequires:  libuninameslist-devel
25 BuildRequires:  libxml2-devel
26 BuildRequires:  xorg-lib-libICE-devel
27 BuildRequires:  xorg-lib-libSM-devel
28 BuildRequires:  xorg-lib-libX11-devel
29 BuildRequires:  xorg-lib-libXau-devel
30 BuildRequires:  xorg-lib-libXdmcp-devel
31 BuildRequires:  xorg-lib-libXext-devel
32 BuildRequires:  xorg-lib-libXi-devel
33 BuildRequires:  xorg-lib-libXt-devel
34 BuildRequires:  xorg-lib-libxkbfile-devel
35 BuildRequires:  xorg-lib-libxkbui-devel
36
37 Requires:       iconv
38 Obsoletes:      pfaedit
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 FontForge allows you to edit outline and bitmap fonts. You can create
43 new ones or modify old ones. It is also a font format converter and
44 can convert among PostScript (ASCII & binary Type 1, some Type 3s,
45 some Type 0s), TrueType, OpenType (Type2) and CID-keyed fonts.
46
47 FontForge used to be called PfaEdit.
48
49 %description -l pl
50 FontForge pozwala na edycjê fontów rysowanych i bitmapowych. Mo¿na
51 tworzyæ nowe lub modyfikowaæ istniej±ce. Jest to tak¿e konwerter
52 miêdzy formatami fontów - potrafi obs³ugiwaæ fonty postscriptowe
53 (ASCII i binarne Type 1, czê¶æ Type 3, czê¶æ Type 0), TrueType,
54 OpenType (Type2) i fonty z kluczami CID.
55
56 FontForge wcze¶niej nazywa³ siê PfaEdit.
57
58 %prep
59 %setup -q
60 %patch0 -p1
61 %patch1 -p1
62 %patch2 -p1
63
64 %build
65 %{__libtoolize}
66 %{__aclocal}
67 %{__autoconf}
68 %configure \
69         --with-freetype-bytecode \
70         --with-multilayer \
71         --without-freetype-src
72
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %makeinstall
79
80 %find_lang FontForge
81
82 rm -rf $RPM_BUILD_ROOT%{_libdir}/{*.la,pkgconfig}
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files -f FontForge.lang
91 %defattr(644,root,root,755)
92 %doc AUTHORS LICENSE
93 %attr(755,root,root) %{_bindir}/fontforge
94 %attr(755,root,root) %{_bindir}/sfddiff
95 %attr(755,root,root) %{_libdir}/lib*.so.*.*
96 %{_mandir}/man1/*
This page took 0.091595 seconds and 4 git commands to generate.