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

Revision 9260, 7.1 KB checked in by Takemikaduchi, 9 years ago (diff)

thunderbird: new upstream release
others: rebuild with libpng12 or update

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