source: projects/specs/trunk/p/potrace/potrace-vl.spec @ 12555

Revision 12555, 4.0 KB checked in by tomop, 3 years ago (diff)

updated 7 packages

ImageMagick?-6.9.12.1-1

cmake-3.19.6-1

double-conversion-3.1.5-5

emacs-27.1-1

inkscape-1.0.2-1

potrace-1.16-1

pstoedit-3.75-2

Line 
1Name:           potrace
2Summary:        Transform bitmaps into vector graphics
3Summary(ja):    ビットマップ画像をベクター画像に変換
4Version:        1.16
5Release:        1%{?_dist_release}
6Summary:        Transform bitmaps into vector graphics
7Group:          graphics
8Vendor:         Project Vine
9Distribution:   Vine Linux
10
11# README defines license as GPLv2+
12License:        GPLv2+
13URL:            http://potrace.sourceforge.net
14Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
15# Documentation
16Source1:        http://potrace.sourceforge.net/potrace.pdf
17Source2:        http://potrace.sourceforge.net/potracelib.pdf
18
19BuildRequires:  zlib-devel
20
21%description
22Potrace is a utility for tracing a bitmap, which means, transforming a bitmap
23into a smooth, scalable image. The input is a bitmap (PBM, PGM, PPM, or BMP
24format), and the default output is an encapsulated PostScript file (EPS).
25A typical use is to create EPS files from scanned data, such as company or
26university logos, handwritten notes, etc. The resulting image is not "jaggy"
27like a bitmap, but smooth. It can then be rendered at any resolution.
28
29Potrace can currently produce the following output formats: EPS, PostScript,
30PDF, SVG (scalable vector graphics), Xfig, Gimppath, and PGM (for easy
31antialiasing). Additional backends might be added in the future.
32
33Mkbitmap is a program distributed with Potrace which can be used to pre-process
34the input for better tracing behavior on greyscale and color images.
35
36%description -l ja
37potrace はビットマップ画像をトレースするツールです.ビットマップ画像を
38滑らかで拡大縮小できる画像に変換します.社章、校章、手書き図のスキャン
39画像から滑らかなEPSを得るには,例えば,
40convert hoge.bmp pbm:- | mkbitmap -s 2 | potrace -a -1 -C "#202020" > hoge.eps
41とします.入力形式がPBMであることに注意してください.
42
43
44%package devel
45Summary:        Potrace development library and headers
46Group:          programming
47Requires:       %{name} = %{version}-%{release}
48
49%description devel
50This package contains the potrace development library and headers.
51
52
53%package doc
54Summary:        Documentation on how to use the potrace library
55Group:          documentation
56%if 0%{?fedora} > 10 || 0%{?rhel} > 5
57BuildArch:      noarch
58%endif
59
60%description doc
61This package contains documentation for the potrace algorithm and the potrace
62library.
63
64
65%debug_package
66
67
68%prep
69%setup -q
70cp -a %{SOURCE1} .
71cp -a %{SOURCE2} .
72
73
74%build
75%configure --enable-shared --disable-static \
76 --enable-metric --with-libpotrace --with-pic
77%make_build
78
79
80%install
81rm -rf %{buildroot}
82%make_install
83find %{buildroot} -name *.la -exec rm -rf {} \;
84
85# Get rid of installed copy of placement.pdf
86rm -rf %{buildroot}%{_docdir}/%{name}
87
88
89%files
90%doc AUTHORS ChangeLog COPYING NEWS README doc/placement.pdf
91%{_bindir}/potrace
92%{_bindir}/mkbitmap
93%{_libdir}/libpotrace.so.*
94%{_mandir}/man1/potrace.1*
95%{_mandir}/man1/mkbitmap.1*
96
97%files devel
98%{_libdir}/libpotrace.so
99%{_includedir}/potracelib.h
100
101%files doc
102%doc potrace.pdf potracelib.pdf
103
104
105%changelog
106* Sat Feb 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.16-1
107- new upstream release.
108- made to built a shared library.
109- added subpackages: devel, doc.
110
111* Sun Jan 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.11-1
112- update to 1.11
113- remove Patch0
114
115* Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 1.8-1vl5
116- applied new versioning policy, spec in utf-8
117
118* Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
119- new upstream release
120
121* Sat Jul  8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-0vl2
122- rebuilt for VineSeed (4.0)
123- added Patch0 from upstream
124- added --enable-metric and --enable-a4 option at configure
125
126* Thu Apr 21 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
127- Updated to 1.7
128
129* Tue Feb 15 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
130- Updated to 1.5
131- Japanized this spec file
132- Rewrote build and install section
133
134* Wed May 19 2004 Susumu Tanimura  <stanimura-ngs@umin.ac.jp>
135- initial package for VineLinux
136
137* Mon Aug 18 2003 Peter Selinger <selinger@users.sourceforge.net>
138- corrected Summary and Group information
Note: See TracBrowser for help on using the repository browser.