fontforge-vl.spec 5.4 KB

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