]>
Commit | Line | Data |
---|---|---|
024e1741 | 1 | Summary: Potrace - a utility for tracing a bitmap |
908b2f40 | 2 | Summary(pl.UTF-8): Potrace - narzędzie służące do "trasowania" bitmap |
a7cf2459 | 3 | Name: potrace |
d0678a2a | 4 | Version: 1.8 |
f9579e5c | 5 | Release: 1 |
d0678a2a | 6 | License: GPL v2+ |
4c529121 | 7 | Group: Applications/Graphics |
a7cf2459 | 8 | Source0: http://potrace.sourceforge.net/download/%{name}-%{version}.tar.gz |
d0678a2a | 9 | # Source0-md5: e73b45565737d64011612704dd4d9f86 |
a7cf2459 | 10 | URL: http://potrace.sourceforge.net/ |
024e1741 JB |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
13 | BuildRequires: zlib-devel | |
a7cf2459 MW |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
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). | |
21 | ||
ef7d3714 JR |
22 | %description -l pl.UTF-8 |
23 | Potrace jest narzędziem służącym do "trasowania" bitmap, czyli | |
24 | konwertowania obrazów rastrowych do gładkich i skalowanych obrazów | |
25 | wektorowych. Wejściem dla programu jest przenośna bitmapa (PBM), a | |
26 | domyślnym wyjściem jest plik encapsulated PostScript (EPS). | |
a7cf2459 MW |
27 | |
28 | %prep | |
29 | %setup -q | |
30 | ||
31 | %build | |
32 | %{__aclocal} | |
33 | %{__autoconf} | |
34 | %{__autoheader} | |
35 | %{__automake} | |
878bd3e5 | 36 | %configure \ |
37 | --enable-a4 \ | |
38 | --enable-metric | |
024e1741 | 39 | |
68bfddb1 | 40 | %{__make} |
a7cf2459 MW |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
024e1741 JB |
44 | |
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
a7cf2459 MW |
47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
d0678a2a JB |
53 | %doc AUTHORS ChangeLog NEWS README |
54 | %attr(755,root,root) %{_bindir}/mkbitmap | |
55 | %attr(755,root,root) %{_bindir}/potrace | |
56 | %{_mandir}/man1/mkbitmap.1* | |
57 | %{_mandir}/man1/potrace.1* |