potrace-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. Summary: Transforms bitmaps into vector graphics
  2. Summary(ja): ビットマップ画像をベクター画像に変換
  3. Name: potrace
  4. Version: 1.8
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Graphics
  8. Source: http://potrace.sourceforge.net/download/%{name}-%{version}.tar.gz
  9. Patch0: potrace-1.8-xfig.patch
  10. URL: http://potrace.sourceforge.net/
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. BuildRequires: zlib-devel
  15. %description
  16. potrace is a utility for tracing a bitmap, which means, transforming a
  17. bitmap into a smooth, scalable image. The input is a portable bitmap
  18. (PBM), and the default output is an encapsulated PostScript file
  19. (EPS). A typical use is to create EPS files from scanned data, such as
  20. company or university logos, handwritten notes, etc. The resulting
  21. image is not "jaggy" like a bitmap, but smooth, and it can be scaled
  22. to any resolution.
  23. %description -l ja
  24. potrace はビットマップ画像をトレースするツールです.ビットマップ画像を
  25. 滑らかで拡大縮小できる画像に変換します.社章、校章、手書き図のスキャン
  26. 画像から滑らかなEPSを得るには,例えば,
  27. convert hoge.bmp pbm:- | mkbitmap -s 2 | potrace -a -1 -C "#202020" > hoge.eps
  28. とします.入力形式がPBMであることに注意してください.
  29. %prep
  30. %setup -q
  31. %patch0 -p0 -b .xfig
  32. %build
  33. %configure --enable-metric --enable-a4
  34. %{__make}
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. %makeinstall
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %files
  41. %defattr(-, root, root)
  42. %doc AUTHORS COPYING ChangeLog NEWS README
  43. %{_bindir}/*
  44. %{_mandir}/man1/*
  45. %changelog
  46. * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 1.8-1vl5
  47. - applied new versioning policy, spec in utf-8
  48. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
  49. - new upstream release
  50. * Sat Jul 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-0vl2
  51. - rebuilt for VineSeed (4.0)
  52. - added Patch0 from upstream
  53. - added --enable-metric and --enable-a4 option at configure
  54. * Thu Apr 21 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  55. - Updated to 1.7
  56. * Tue Feb 15 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  57. - Updated to 1.5
  58. - Japanized this spec file
  59. - Rewrote build and install section
  60. * Wed May 19 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  61. - initial package for VineLinux
  62. * Mon Aug 18 2003 Peter Selinger <selinger@users.sourceforge.net>
  63. - corrected Summary and Group information