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