1 | %define origversion 20090923 |
---|
2 | |
---|
3 | Summary: Outline and bitmap font editor |
---|
4 | Summary(ja): アウトライン・ビットマップフォントエディタ |
---|
5 | Name: fontforge |
---|
6 | Version: %{origversion} |
---|
7 | Release: 2%{?_dist_release} |
---|
8 | License: BSD |
---|
9 | Group: Applications/Publishing |
---|
10 | URL: http://fontforge.sourceforge.net/ |
---|
11 | Source: fontforge_full-%{origversion}.tar.bz2 |
---|
12 | Source10: %{name}.desktop |
---|
13 | Source20: %{name}.png |
---|
14 | Patch10: fontforge-browser.patch |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
17 | BuildRequires: xorg-x11-proto-devel |
---|
18 | BuildRequires: libXt-devel |
---|
19 | BuildRequires: freetype2-devel, libuninameslist-devel |
---|
20 | BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, libungif-devel |
---|
21 | BuildRequires: libxml2-devel |
---|
22 | BuildRequires: desktop-file-utils |
---|
23 | BuildRequires: python-devel |
---|
24 | BuildRequires: pango-devel |
---|
25 | BuildRequires: cairo-devel |
---|
26 | Obsoletes: pfaedit |
---|
27 | Obsoletes: fontforge-devel <= 20050310 |
---|
28 | |
---|
29 | Requires: xdg-utils |
---|
30 | |
---|
31 | Vendor: Project Vine |
---|
32 | Distribution: Vine Linux |
---|
33 | |
---|
34 | %description |
---|
35 | FontForge (former PfaEdit) is a font editor for outline and bitmap |
---|
36 | fonts. It supports a range of font formats, including PostScript |
---|
37 | (ASCII and binary Type 1, some Type 3 and Type 0), TrueType, OpenType |
---|
38 | (Type2) and CID-keyed fonts. |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q -n %{name}-%{origversion} |
---|
42 | %patch10 -p1 -b .browser |
---|
43 | |
---|
44 | %{__cp} %{SOURCE10} %{name}.desktop |
---|
45 | |
---|
46 | %build |
---|
47 | %configure --with-freetype-bytecode=no -with-regular-link |
---|
48 | %{__make} %{?_smp_mflags} |
---|
49 | |
---|
50 | %install |
---|
51 | %{__rm} -rf %{buildroot} |
---|
52 | %makeinstall |
---|
53 | |
---|
54 | %{__install} -d -m0755 %{buildroot}%{_datadir}/applications/ |
---|
55 | desktop-file-install \ |
---|
56 | --vendor "" \ |
---|
57 | --dir %{buildroot}%{_datadir}/applications \ |
---|
58 | fontforge.desktop |
---|
59 | |
---|
60 | %{__install} -d -m0755 %{buildroot}%{_datadir}/pixmaps/ |
---|
61 | %{__install} -m644 %{SOURCE20} %{buildroot}%{_datadir}/pixmaps/ |
---|
62 | |
---|
63 | %find_lang FontForge |
---|
64 | |
---|
65 | %{__rm} -f %{buildroot}%{_libdir}/*.la |
---|
66 | |
---|
67 | %clean |
---|
68 | %{__rm} -rf %{buildroot} |
---|
69 | |
---|
70 | %post |
---|
71 | /sbin/ldconfig 2>/dev/null |
---|
72 | update-desktop-database %{_datadir}/applications &>/dev/null || : |
---|
73 | |
---|
74 | %postun |
---|
75 | /sbin/ldconfig 2>/dev/null |
---|
76 | update-desktop-database %{_datadir}/applications &>/dev/null || : |
---|
77 | |
---|
78 | %files -f FontForge.lang |
---|
79 | %defattr(-, root, root, 0755) |
---|
80 | %doc AUTHORS LICENSE README-unix |
---|
81 | %{_bindir}/* |
---|
82 | %{_libdir}/lib*.so.* |
---|
83 | %{_libdir}/lib*.so |
---|
84 | %{_libdir}/pkgconfig/fontforge.pc |
---|
85 | %dir %{_includedir}/fontforge |
---|
86 | %{_includedir}/fontforge/* |
---|
87 | %{_datadir}/applications/fontforge.desktop |
---|
88 | %{_datadir}/pixmaps/fontforge.png |
---|
89 | %{_datadir}/fontforge |
---|
90 | %{_mandir}/man1/fontforge.1* |
---|
91 | %{_mandir}/man1/fontimage.1* |
---|
92 | %{_mandir}/man1/fontlint.1* |
---|
93 | %{_mandir}/man1/sfddiff.1* |
---|
94 | |
---|
95 | %changelog |
---|
96 | * Fri Feb 05 2010 Shu KONNO <owa@bg.wakwak.com> 20090923-2 |
---|
97 | - rebuilt with python-2.6.4-3 |
---|
98 | |
---|
99 | * Sat Nov 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 20090923-1 |
---|
100 | - new upstream release |
---|
101 | - add BR: pango-devel, cairo-devel |
---|
102 | |
---|
103 | * Wed Apr 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 20090408-1 |
---|
104 | - new upstream release |
---|
105 | |
---|
106 | * Mon Nov 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20081115-1 |
---|
107 | - new upstream release |
---|
108 | |
---|
109 | * Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20080429-2 |
---|
110 | - rebuild with python2.5 |
---|
111 | |
---|
112 | * Sun Jun 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20080429-1 |
---|
113 | - new upstream release |
---|
114 | - build with xorg-x11-7.3 |
---|
115 | - add Requires: xdg-utils |
---|
116 | |
---|
117 | * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20070723-1 |
---|
118 | - rebuild with xorg-x11-7.3 |
---|
119 | |
---|
120 | * Mon Jul 30 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 20070723-0vl1 |
---|
121 | - new upstream release |
---|
122 | |
---|
123 | * Sat May 05 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 20070501-0vl1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Wed Sep 13 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 20060822-0vl1 |
---|
127 | - new upstream release |
---|
128 | - add -q option to %%setup |
---|
129 | |
---|
130 | * Sun Jul 09 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 20060703-0vl1 |
---|
131 | - new upstream release |
---|
132 | |
---|
133 | * Mon Oct 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 20050502-0vl1 |
---|
134 | - new upstream release |
---|
135 | - update Summaries and descriptions, URL... |
---|
136 | - add fontforge icons and desktop file |
---|
137 | - add Patch10 to prefer htmlview or firefox for default browser |
---|
138 | |
---|
139 | * Sat Mar 12 2005 Jun NISHII <jun@vinelinux.org> |
---|
140 | - move to fontforge |
---|
141 | |
---|
142 | * Fri Jul 19 2002 Ryoichi Ichiyama <ir@bellbind.net> |
---|
143 | - Updated to 2002/07/15. |
---|
144 | |
---|
145 | * Fri Apr 19 2002 Ryoichi Ichiyama <ir@bellbind.net> |
---|
146 | - Updated to 2002/04/16. |
---|
147 | |
---|
148 | * Sun Mar 3 2002 Ryoichi Ichiyama <ir@bellbind.net> |
---|
149 | - Updated to 2002/03/02. |
---|
150 | |
---|
151 | * Mon Feb 18 2002 Ryoichi Ichiyama <ir@bellbind.net> |
---|
152 | - Updated to 2002/02/16. |
---|
153 | |
---|
154 | * Sat Feb 16 2002 Ryoichi Ichiyama <ir@bellbind.net> |
---|
155 | - Updated to 2002/02/14. |
---|
156 | |
---|
157 | * Thu Feb 14 2002 Ryoichi Ichiyama <ir@bellbind.net> |
---|
158 | - Updated to 2002/02/12. |
---|
159 | |
---|
160 | * Mon Feb 10 2002 Ryoichi Ichiyama <ir@bellbind.net> |
---|
161 | - Updated to 2002/02/09. |
---|
162 | |
---|
163 | * Sat Feb 9 2002 Ryoichi Ichiyama <ir@bellbind.net> |
---|
164 | - Change SPEC file to VineLinux Style |
---|
165 | - Updated to 2002/02/05. |
---|
166 | |
---|
167 | * Fri Nov 2 2001 George Williams <gww@silcom.com> |
---|
168 | - went from three source packages down to just one which includes the others |
---|
169 | |
---|
170 | * Thu May 10 2001 George Williams <gww@silcom.com> |
---|
171 | - My first attempt at rpm, updated to 10 May sources |
---|
172 | |
---|
173 | * Tue May 01 2001 Scott Pakin <pakin@uiuc.edu> |
---|
174 | - Removed (unused) dynamic library files |
---|
175 | |
---|
176 | * Sun Apr 29 2001 Scott Pakin <pakin@uiuc.edu> |
---|
177 | - Upgraded from 220401 to 280401. |
---|
178 | |
---|
179 | * Tue Apr 24 2001 Scott Pakin <pakin@uiuc.edu> |
---|
180 | - Upgraded from 190401 to 220401. |
---|
181 | |
---|
182 | * Fri Apr 20 2001 Scott Pakin <pakin@uiuc.edu> |
---|
183 | - Upgraded from 020401 to 190401. |
---|
184 | |
---|
185 | * Tue Apr 10 2001 Scott Pakin <pakin@uiuc.edu> |
---|
186 | - Upgraded from 210301 to 020401. |
---|
187 | |
---|
188 | * Thu Mar 22 2001 Scott Pakin <pakin@uiuc.edu> |
---|
189 | - Initial release |
---|