fontforge-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. %define origversion 20110222
  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. * Sun Jul 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 20110222-1
  79. - new upstream version
  80. * Mon Sep 27 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 20100501-1
  81. - new upstream release
  82. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 20090923-3
  83. - rebuilt with rpm-4.8.1 for pkg-config
  84. * Fri Feb 05 2010 Shu KONNO <owa@bg.wakwak.com> 20090923-2
  85. - rebuilt with python-2.6.4-3
  86. * Sat Nov 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 20090923-1
  87. - new upstream release
  88. - add BR: pango-devel, cairo-devel
  89. * Wed Apr 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 20090408-1
  90. - new upstream release
  91. * Mon Nov 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20081115-1
  92. - new upstream release
  93. * Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20080429-2
  94. - rebuild with python2.5
  95. * Sun Jun 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20080429-1
  96. - new upstream release
  97. - build with xorg-x11-7.3
  98. - add Requires: xdg-utils
  99. * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20070723-1
  100. - rebuild with xorg-x11-7.3
  101. * Mon Jul 30 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 20070723-0vl1
  102. - new upstream release
  103. * Sat May 05 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 20070501-0vl1
  104. - new upstream release
  105. * Wed Sep 13 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 20060822-0vl1
  106. - new upstream release
  107. - add -q option to %%setup
  108. * Sun Jul 09 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 20060703-0vl1
  109. - new upstream release
  110. * Mon Oct 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 20050502-0vl1
  111. - new upstream release
  112. - update Summaries and descriptions, URL...
  113. - add fontforge icons and desktop file
  114. - add Patch10 to prefer htmlview or firefox for default browser
  115. * Sat Mar 12 2005 Jun NISHII <jun@vinelinux.org>
  116. - move to fontforge
  117. * Fri Jul 19 2002 Ryoichi Ichiyama <ir@bellbind.net>
  118. - Updated to 2002/07/15.
  119. * Fri Apr 19 2002 Ryoichi Ichiyama <ir@bellbind.net>
  120. - Updated to 2002/04/16.
  121. * Sun Mar 3 2002 Ryoichi Ichiyama <ir@bellbind.net>
  122. - Updated to 2002/03/02.
  123. * Mon Feb 18 2002 Ryoichi Ichiyama <ir@bellbind.net>
  124. - Updated to 2002/02/16.
  125. * Sat Feb 16 2002 Ryoichi Ichiyama <ir@bellbind.net>
  126. - Updated to 2002/02/14.
  127. * Thu Feb 14 2002 Ryoichi Ichiyama <ir@bellbind.net>
  128. - Updated to 2002/02/12.
  129. * Mon Feb 10 2002 Ryoichi Ichiyama <ir@bellbind.net>
  130. - Updated to 2002/02/09.
  131. * Sat Feb 9 2002 Ryoichi Ichiyama <ir@bellbind.net>
  132. - Change SPEC file to VineLinux Style
  133. - Updated to 2002/02/05.
  134. * Fri Nov 2 2001 George Williams <gww@silcom.com>
  135. - went from three source packages down to just one which includes the others
  136. * Thu May 10 2001 George Williams <gww@silcom.com>
  137. - My first attempt at rpm, updated to 10 May sources
  138. * Tue May 01 2001 Scott Pakin <pakin@uiuc.edu>
  139. - Removed (unused) dynamic library files
  140. * Sun Apr 29 2001 Scott Pakin <pakin@uiuc.edu>
  141. - Upgraded from 220401 to 280401.
  142. * Tue Apr 24 2001 Scott Pakin <pakin@uiuc.edu>
  143. - Upgraded from 190401 to 220401.
  144. * Fri Apr 20 2001 Scott Pakin <pakin@uiuc.edu>
  145. - Upgraded from 020401 to 190401.
  146. * Tue Apr 10 2001 Scott Pakin <pakin@uiuc.edu>
  147. - Upgraded from 210301 to 020401.
  148. * Thu Mar 22 2001 Scott Pakin <pakin@uiuc.edu>
  149. - Initial release