potrace-vl.spec 2.6 KB

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