source: projects/specs/trunk/f/fontforge/fontforge-vl.spec @ 5547

Revision 5547, 5.7 KB checked in by daisuke, 12 years ago (diff)

add bugfix patch

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