]> git.pld-linux.org Git - packages/fontforge.git/blame - fontforge.spec
- release 6
[packages/fontforge.git] / fontforge.spec
CommitLineData
5b9f5543 1Summary: An outline font editor
5fbf9ad2 2Summary(pl.UTF-8): Edytor fontów rysowanych
5b9f5543 3Name: fontforge
1699a51e 4Version: 20090923
0d61946e 5Release: 6
5b9f5543
JB
6License: BSD
7Group: X11/Applications/Publishing
ec0fe2d8 8Source0: http://dl.sourceforge.net/fontforge/%{name}_full-%{version}.tar.bz2
1699a51e 9# Source0-md5: ea9d8dc38de79235fbe6add725b38ffe
5b9f5543 10Patch0: %{name}-sonames.patch
2bd644cd 11Patch1: %{name}-libpng.patch
5b9f5543 12URL: http://fontforge.sourceforge.net/
5b9f5543
JB
13BuildRequires: autoconf
14BuildRequires: automake
15# needed at build time to not disable their support and for detecting SONAME
16BuildRequires: freetype-devel >= 2.0.0
7b1f7094 17BuildRequires: gettext-devel
ff913066 18BuildRequires: giflib-devel
5b9f5543
JB
19BuildRequires: libjpeg-devel
20BuildRequires: libpng-devel
21BuildRequires: libtiff-devel
22BuildRequires: libtool
5b9f5543 23BuildRequires: libuninameslist-devel
7b1f7094 24BuildRequires: libxml2-devel
ceb0ecc7 25BuildRequires: python-devel
26BuildRequires: python-modules
f3c514af 27BuildRequires: xorg-lib-libX11-devel
f3c514af 28BuildRequires: xorg-lib-libXi-devel
7b1f7094 29Requires: iconv
5b9f5543
JB
30Obsoletes: pfaedit
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34FontForge allows you to edit outline and bitmap fonts. You can create
35new ones or modify old ones. It is also a font format converter and
36can convert among PostScript (ASCII & binary Type 1, some Type 3s,
37some Type 0s), TrueType, OpenType (Type2) and CID-keyed fonts.
38
39FontForge used to be called PfaEdit.
40
ce0761d3
JR
41%description -l pl.UTF-8
42FontForge pozwala na edycję fontów rysowanych i bitmapowych. Można
43tworzyć nowe lub modyfikować istniejące. Jest to także konwerter
44między formatami fontów - potrafi obsługiwać fonty postscriptowe
45(ASCII i binarne Type 1, część Type 3, część Type 0), TrueType,
5b9f5543
JB
46OpenType (Type2) i fonty z kluczami CID.
47
ce0761d3 48FontForge wcześniej nazywał się PfaEdit.
5b9f5543
JB
49
50%prep
51%setup -q
1699a51e
AM
52# hardcoded in code is +- same as hardcoded at compile time
53#%patch0 -p1
2bd644cd 54%patch1 -p1
5b9f5543
JB
55
56%build
57%{__libtoolize}
58%{__aclocal}
59%{__autoconf}
60%configure \
2bd644cd
AM
61 --enable-type3 \
62 --enable-devicetables \
63 --enable-longdouble \
5b9f5543 64 --with-freetype-bytecode \
2bd644cd 65 --with-regular-link \
5b9f5543
JB
66 --without-freetype-src
67
68%{__make}
69
70%install
71rm -rf $RPM_BUILD_ROOT
72
73%makeinstall
74
2f94241e 75# Malayalam is ml
76mv $RPM_BUILD_ROOT%{_datadir}/locale/m{a,}l
1f37860c 77
7935b599 78%find_lang FontForge
04c00bcf 79
a399c56f 80rm -rf $RPM_BUILD_ROOT%{_libdir}/{*.la,pkgconfig}
81
5b9f5543
JB
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%post -p /sbin/ldconfig
86%postun -p /sbin/ldconfig
87
7935b599 88%files -f FontForge.lang
5b9f5543 89%defattr(644,root,root,755)
ec0fe2d8 90%doc AUTHORS LICENSE
5b9f5543 91%attr(755,root,root) %{_bindir}/fontforge
1699a51e
AM
92%attr(755,root,root) %{_bindir}/fontimage
93%attr(755,root,root) %{_bindir}/fontlint
5b9f5543 94%attr(755,root,root) %{_bindir}/sfddiff
1699a51e
AM
95%attr(755,root,root) %{_libdir}/lib*.so.*
96%{_datadir}/fontforge
5b9f5543 97%{_mandir}/man1/*
This page took 0.127316 seconds and 4 git commands to generate.