]> git.pld-linux.org Git - packages/fontforge.git/blob - fontforge.spec
be03d56dcc288b07e9599af8ee8c54c295284284
[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:        1
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 URL:            http://fontforge.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 # needed at build time to not disable their support and for detecting SONAME
15 BuildRequires:  freetype-devel >= 2.0.0
16 BuildRequires:  gettext-devel
17 BuildRequires:  giflib-devel
18 BuildRequires:  libjpeg-devel
19 BuildRequires:  libpng-devel
20 BuildRequires:  libtiff-devel
21 BuildRequires:  libtool
22 BuildRequires:  libuninameslist-devel
23 BuildRequires:  libxml2-devel
24 BuildRequires:  xorg-lib-libX11-devel
25 BuildRequires:  xorg-lib-libXi-devel
26 Requires:       iconv
27 Obsoletes:      pfaedit
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 FontForge allows you to edit outline and bitmap fonts. You can create
32 new ones or modify old ones. It is also a font format converter and
33 can convert among PostScript (ASCII & binary Type 1, some Type 3s,
34 some Type 0s), TrueType, OpenType (Type2) and CID-keyed fonts.
35
36 FontForge used to be called PfaEdit.
37
38 %description -l pl.UTF-8
39 FontForge pozwala na edycję fontów rysowanych i bitmapowych. Można
40 tworzyć nowe lub modyfikować istniejące. Jest to także konwerter
41 między formatami fontów - potrafi obsługiwać fonty postscriptowe
42 (ASCII i binarne Type 1, część Type 3, część Type 0), TrueType,
43 OpenType (Type2) i fonty z kluczami CID.
44
45 FontForge wcześniej nazywał się PfaEdit.
46
47 %prep
48 %setup -q
49 # hardcoded in code is +- same as hardcoded at compile time
50 #%patch0 -p1
51 #%patch2 -p1
52
53 %build
54 %{__libtoolize}
55 %{__aclocal}
56 %{__autoconf}
57 %configure \
58         --with-freetype-bytecode \
59         --with-multilayer \
60         --without-freetype-src
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %makeinstall
68
69 %find_lang FontForge
70
71 rm -rf $RPM_BUILD_ROOT%{_libdir}/{*.la,pkgconfig}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files -f FontForge.lang
80 %defattr(644,root,root,755)
81 %doc AUTHORS LICENSE
82 %attr(755,root,root) %{_bindir}/fontforge
83 %attr(755,root,root) %{_bindir}/fontimage
84 %attr(755,root,root) %{_bindir}/fontlint
85 %attr(755,root,root) %{_bindir}/sfddiff
86 %attr(755,root,root) %{_libdir}/lib*.so.*
87 %{_datadir}/fontforge
88 %{_mandir}/man1/*
This page took 0.099712 seconds and 3 git commands to generate.