Debian Codegraph @

Packaging/redhat/old/FontForge.static.spec

raw
1 Name: fontforge
2 Version: 030730
3 Release: 1
4 Summary: A PostScript font editor
5 License: BSD
6 Group: Applications/Publishing
7 Icon: pfaicon.gif
8 Source0: http://fontforge.sourceforge.net/fontforge_full-%{version}.tgz
9 Url: http://fontforge.sourceforge.net/
10 Vendor: George Williams <[email protected]>, Scott Pakin <[email protected]>
11 Prefix: /usr
12 BuildRoot: /var/tmp/%{name}-%{version}
13 BuildPreReq: libpng-devel, libungif-devel, libxml2
14 #BuildPreReq: libjpeg-devel, libtiff-devel, libpng-devel, libungif-devel, freetype, libxml2
15
16 %description
17 FontForge allows you to edit outline and bitmap fonts. You can create
18 new ones or modify old ones. It is also a font format converter and
19 can convert among PostScript (ASCII & binary Type 1, some Type 3s,
20 some Type 0s), TrueType, OpenType (Type2), CID-keyed and SVG fonts.
21
22 %prep
23 %setup -T -b 0 -n fontforge
24
25 %build
26 CFLAGS="$RPM_OPT_FLAGS"
27 ./configure
28 make
29
30 %install
31 mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
32 mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
33 mkdir -p ${RPM_BUILD_ROOT}%{_bindir}/../share/fontforge
34 rm -rf ${RPM_BUILD_ROOT}%{_libdir}
35 mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
36 %makeinstall
37
38 #%post
39 #ldconfig
40
41 #%postun
42 #ldconfig
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(-,root,root)
49 %{_bindir}/fontforge
50 %{_bindir}/../share/fontforge/
51 %{_mandir}/man1/fontforge.1*
52 %doc LICENSE README
53
54 %changelog
55 * Fri Nov 2 2001 George Williams <[email protected]>
56 - went from three source packages down to just one which includes the others
57
58 * Thu May 10 2001 George Williams <[email protected]>
59 - My first attempt at rpm, updated to 10 May sources
60
61 * Tue May 01 2001 Scott Pakin <[email protected]>
62 - Removed (unused) dynamic library files
63
64 * Sun Apr 29 2001 Scott Pakin <[email protected]>
65 - Upgraded from 220401 to 280401.
66
67 * Tue Apr 24 2001 Scott Pakin <[email protected]>
68 - Upgraded from 190401 to 220401.
69
70 * Fri Apr 20 2001 Scott Pakin <[email protected]>
71 - Upgraded from 020401 to 190401.
72
73 * Tue Apr 10 2001 Scott Pakin <[email protected]>
74 - Upgraded from 210301 to 020401.
75
76 * Thu Mar 22 2001 Scott Pakin <[email protected]>
77 - Initial release