fontforge-vl.spec 5.3 KB

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