%define origversion 20120731-b Summary: Outline and bitmap font editor Summary(ja): アウトライン・ビットマップフォントエディタ Name: fontforge Version: 20120731b Release: 2%{?_dist_release} License: BSD Group: Applications/Publishing URL: http://fontforge.sourceforge.net/ Source: fontforge_full-%{origversion}.tar.bz2 Source10: %{name}.desktop Source20: %{name}.png Patch1: fontforge-20090224-pythondl.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: xorg-x11-proto-devel BuildRequires: libXt-devel BuildRequires: freetype2-devel BuildRequires: libuninameslist-devel BuildRequires: libjpeg-turbo-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: giflib-devel BuildRequires: libxml2-devel BuildRequires: desktop-file-utils BuildRequires: python-devel BuildRequires: pango-devel BuildRequires: cairo-devel BuildRequires: libspiro-devel Obsoletes: pfaedit Obsoletes: fontforge-devel <= 20050310 Requires: xdg-utils Vendor: Project Vine Distribution: Vine Linux Packager: daisuke %description FontForge (former PfaEdit) is a font editor for outline and bitmap fonts. It supports a range of font formats, including PostScript (ASCII and binary Type 1, some Type 3 and Type 0), TrueType, OpenType (Type2) and CID-keyed fonts. %prep %setup -q -n %{name}-%{origversion} %patch1 -p1 %{__cp} %{SOURCE10} %{name}.desktop %build %configure --with-freetype-bytecode=no -with-regular-link --enable-pyextension %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR=$RPM_BUILD_ROOT %{__install} -d -m0755 %{buildroot}%{_datadir}/applications/ desktop-file-install \ --vendor "" \ --dir %{buildroot}%{_datadir}/applications \ fontforge.desktop rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/fontforge install -Dpm 644 Packaging/icons/scalable/apps/fontforge.svg \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/fontforge.svg %{__install} -d -m0755 %{buildroot}%{_datadir}/pixmaps/ %{__install} -m644 %{SOURCE20} %{buildroot}%{_datadir}/pixmaps/ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mime/packages install -p Packaging/fontforge.xml $RPM_BUILD_ROOT/%{_datadir}/mime/packages/ %find_lang FontForge %{__rm} -f %{buildroot}%{_libdir}/*.la %clean %{__rm} -rf %{buildroot} %post /sbin/ldconfig 2>/dev/null update-desktop-database %{_datadir}/applications &>/dev/null || : update-mime-database %{_datadir}/mime &> /dev/null || : /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun /sbin/ldconfig 2>/dev/null update-desktop-database %{_datadir}/applications &>/dev/null || : update-mime-database %{_datadir}/mime &> /dev/null || : if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f FontForge.lang %defattr(-, root, root, 0755) %doc AUTHORS LICENSE README-unix %{_bindir}/* %{_libdir}/lib*.so.* %{_libdir}/lib*.so %{_libdir}/pkgconfig/fontforge.pc %dir %{_includedir}/fontforge %{_includedir}/fontforge/* %{_datadir}/applications/fontforge.desktop %{_datadir}/pixmaps/fontforge.png %{_datadir}/icons/hicolor/*/apps/fontforge.* %{_datadir}/fontforge %{_datadir}/mime/packages/fontforge.xml %{_mandir}/man1/*.1* %{python_sitearch}/fontforge-1.0-py2.?.egg-info %{python_sitearch}/fontforge.so %{python_sitearch}/psMat.so %changelog * Wed Jan 14 2015 Yoji TOYODA 20120731b-2 - rebuild with libpng-1.6.12 * Sat Nov 10 2012 Daisuke SUZUKI 20120731b-1 - update to 20120731-b - add BR: libspiro-devel * Fri Apr 20 2012 Daisuke SUZUKI 20120101-2 - enable pyextensions * Tue Feb 28 2012 Daisuke SUZUKI 20120101-1 - update to upstream git snapshot * Tue Feb 21 2012 Daisuke SUZUKI 20110222-3 - rebuild with python-2.7 * Tue Jan 31 2012 Daisuke SUZUKI 20110222-2 - add patch2 - http://sourceforge.net/mailarchive/message.php?msg_id=27133628 * Sun Jul 10 2011 Daisuke SUZUKI 20110222-1 - new upstream version * Mon Sep 27 2010 Daisuke SUZUKI 20100501-1 - new upstream release * Mon Sep 27 2010 Shu KONNO 20090923-3 - rebuilt with rpm-4.8.1 for pkg-config * Fri Feb 05 2010 Shu KONNO 20090923-2 - rebuilt with python-2.6.4-3 * Sat Nov 21 2009 Daisuke SUZUKI 20090923-1 - new upstream release - add BR: pango-devel, cairo-devel * Wed Apr 22 2009 Daisuke SUZUKI 20090408-1 - new upstream release * Mon Nov 17 2008 Daisuke SUZUKI 20081115-1 - new upstream release * Thu Jul 10 2008 Daisuke SUZUKI 20080429-2 - rebuild with python2.5 * Sun Jun 01 2008 Daisuke SUZUKI 20080429-1 - new upstream release - build with xorg-x11-7.3 - add Requires: xdg-utils * Mon May 19 2008 Daisuke SUZUKI 20070723-1 - rebuild with xorg-x11-7.3 * Mon Jul 30 2007 Daisuke SUZUKI 20070723-0vl1 - new upstream release * Sat May 05 2007 Daisuke SUZUKI 20070501-0vl1 - new upstream release * Wed Sep 13 2006 KAZUKI SHIMURA 20060822-0vl1 - new upstream release - add -q option to %%setup * Sun Jul 09 2006 Daisuke SUZUKI 20060703-0vl1 - new upstream release * Mon Oct 10 2005 Daisuke SUZUKI 20050502-0vl1 - new upstream release - update Summaries and descriptions, URL... - add fontforge icons and desktop file - add Patch10 to prefer htmlview or firefox for default browser * Sat Mar 12 2005 Jun NISHII - move to fontforge * Fri Jul 19 2002 Ryoichi Ichiyama - Updated to 2002/07/15. * Fri Apr 19 2002 Ryoichi Ichiyama - Updated to 2002/04/16. * Sun Mar 3 2002 Ryoichi Ichiyama - Updated to 2002/03/02. * Mon Feb 18 2002 Ryoichi Ichiyama - Updated to 2002/02/16. * Sat Feb 16 2002 Ryoichi Ichiyama - Updated to 2002/02/14. * Thu Feb 14 2002 Ryoichi Ichiyama - Updated to 2002/02/12. * Sun Feb 10 2002 Ryoichi Ichiyama - Updated to 2002/02/09. * Sat Feb 9 2002 Ryoichi Ichiyama - Change SPEC file to VineLinux Style - Updated to 2002/02/05. * Fri Nov 2 2001 George Williams - went from three source packages down to just one which includes the others * Thu May 10 2001 George Williams - My first attempt at rpm, updated to 10 May sources * Tue May 01 2001 Scott Pakin - Removed (unused) dynamic library files * Sun Apr 29 2001 Scott Pakin - Upgraded from 220401 to 280401. * Tue Apr 24 2001 Scott Pakin - Upgraded from 190401 to 220401. * Fri Apr 20 2001 Scott Pakin - Upgraded from 020401 to 190401. * Tue Apr 10 2001 Scott Pakin - Upgraded from 210301 to 020401. * Thu Mar 22 2001 Scott Pakin - Initial release