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