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

Revision 5708, 5.8 KB checked in by daisuke, 12 years ago (diff)

rebuild with python27

Line 
1%define origversion 20110222
2
3Summary: Outline and bitmap font editor
4Summary(ja): アウトライン・ビットマップフォントエディタ
5Name: fontforge
6Version: %{origversion}
7Release: 3%{?_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 Feb 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 20110222-3
105- rebuild with python-2.7
106
107* Tue Jan 31 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 20110222-2
108- add patch2
109  - http://sourceforge.net/mailarchive/message.php?msg_id=27133628
110
111* Sun Jul 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 20110222-1
112- new upstream version
113
114* Mon Sep 27 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 20100501-1
115- new upstream release
116
117* Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 20090923-3
118- rebuilt with rpm-4.8.1 for pkg-config
119
120* Fri Feb 05 2010 Shu KONNO <owa@bg.wakwak.com> 20090923-2
121- rebuilt with python-2.6.4-3
122
123* Sat Nov 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 20090923-1
124- new upstream release
125- add BR: pango-devel, cairo-devel
126
127* Wed Apr 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 20090408-1
128- new upstream release
129
130* Mon Nov 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20081115-1
131- new upstream release
132
133* Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20080429-2
134- rebuild with python2.5
135
136* Sun Jun 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20080429-1
137- new upstream release
138- build with xorg-x11-7.3
139- add Requires: xdg-utils
140
141* Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20070723-1
142- rebuild with xorg-x11-7.3
143
144* Mon Jul 30 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 20070723-0vl1
145- new upstream release
146
147* Sat May 05 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 20070501-0vl1
148- new upstream release
149
150* Wed Sep 13 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 20060822-0vl1
151- new upstream release
152- add -q option to %%setup
153
154* Sun Jul 09 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 20060703-0vl1
155- new upstream release
156
157* Mon Oct 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 20050502-0vl1
158- new upstream release
159- update Summaries and descriptions, URL...
160- add fontforge icons and desktop file
161- add Patch10 to prefer htmlview or firefox for default browser
162
163* Sat Mar 12 2005 Jun NISHII <jun@vinelinux.org>
164- move to fontforge
165
166* Fri Jul 19 2002 Ryoichi Ichiyama <ir@bellbind.net>
167- Updated to 2002/07/15.
168
169* Fri Apr 19 2002 Ryoichi Ichiyama <ir@bellbind.net>
170- Updated to 2002/04/16.
171
172* Sun Mar 3 2002 Ryoichi Ichiyama <ir@bellbind.net>
173- Updated to 2002/03/02.
174
175* Mon Feb 18 2002 Ryoichi Ichiyama <ir@bellbind.net>
176- Updated to 2002/02/16.
177
178* Sat Feb 16 2002 Ryoichi Ichiyama <ir@bellbind.net>
179- Updated to 2002/02/14.
180
181* Thu Feb 14 2002 Ryoichi Ichiyama <ir@bellbind.net>
182- Updated to 2002/02/12.
183
184* Mon Feb 10 2002 Ryoichi Ichiyama <ir@bellbind.net>
185- Updated to 2002/02/09.
186
187* Sat Feb 9 2002 Ryoichi Ichiyama <ir@bellbind.net>
188- Change SPEC file to VineLinux Style
189- Updated to 2002/02/05.
190
191* Fri Nov  2 2001 George Williams <gww@silcom.com>
192- went from three source packages down to just one which includes the others
193
194* Thu May 10 2001 George Williams <gww@silcom.com>
195- My first attempt at rpm, updated to 10 May sources
196
197* Tue May 01 2001 Scott Pakin <pakin@uiuc.edu>
198- Removed (unused) dynamic library files
199
200* Sun Apr 29 2001 Scott Pakin <pakin@uiuc.edu>
201- Upgraded from 220401 to 280401.
202
203* Tue Apr 24 2001 Scott Pakin <pakin@uiuc.edu>
204- Upgraded from 190401 to 220401.
205
206* Fri Apr 20 2001 Scott Pakin <pakin@uiuc.edu>
207- Upgraded from 020401 to 190401.
208
209* Tue Apr 10 2001 Scott Pakin <pakin@uiuc.edu>
210- Upgraded from 210301 to 020401.
211
212* Thu Mar 22 2001 Scott Pakin <pakin@uiuc.edu>
213- Initial release
Note: See TracBrowser for help on using the repository browser.