]>
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 |
943defea | 4 | Version: 1.11 |
32623912 | 5 | Release: 2 |
d0678a2a | 6 | License: GPL v2+ |
4c529121 | 7 | Group: Applications/Graphics |
a7cf2459 | 8 | Source0: http://potrace.sourceforge.net/download/%{name}-%{version}.tar.gz |
943defea | 9 | # Source0-md5: 1d76e350ff277959e1f6b580d818d48f |
a7cf2459 | 10 | URL: http://potrace.sourceforge.net/ |
9e15e433 | 11 | BuildRequires: autoconf >= 2.50 |
024e1741 | 12 | BuildRequires: automake |
9e15e433 | 13 | BuildRequires: libtool >= 2:2.0 |
024e1741 | 14 | BuildRequires: zlib-devel |
a7cf2459 MW |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
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). | |
22 | ||
ef7d3714 JR |
23 | %description -l pl.UTF-8 |
24 | Potrace jest narzędziem służącym do "trasowania" bitmap, czyli | |
25 | konwertowania obrazów rastrowych do gładkich i skalowanych obrazów | |
26 | wektorowych. Wejściem dla programu jest przenośna bitmapa (PBM), a | |
27 | domyślnym wyjściem jest plik encapsulated PostScript (EPS). | |
a7cf2459 | 28 | |
943defea JB |
29 | %package devel |
30 | Summary: Header file for potrace library | |
31 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki potrace | |
32 | Group: Development/Libraries | |
32623912 | 33 | Requires: %{name} = %{version}-%{release} |
943defea JB |
34 | |
35 | %description devel | |
36 | Header file for potrace library. | |
37 | ||
38 | %description devel -l pl.UTF-8 | |
39 | Plik nagłówkowy biblioteki potrace. | |
40 | ||
41 | %package static | |
42 | Summary: Static potrace library | |
43 | Summary(pl.UTF-8): Statyczna biblioteka potrace | |
44 | Group: Development/Libraries | |
32623912 | 45 | Requires: %{name}-devel = %{version}-%{release} |
943defea JB |
46 | |
47 | %description static | |
48 | Static potrace library. | |
49 | ||
50 | %description static -l pl.UTF-8 | |
51 | Statyczna biblioteka potrace. | |
52 | ||
a7cf2459 MW |
53 | %prep |
54 | %setup -q | |
55 | ||
56 | %build | |
9e15e433 | 57 | %{__libtoolize} |
a7cf2459 MW |
58 | %{__aclocal} |
59 | %{__autoconf} | |
60 | %{__autoheader} | |
61 | %{__automake} | |
878bd3e5 | 62 | %configure \ |
63 | --enable-a4 \ | |
943defea JB |
64 | --enable-metric \ |
65 | --with-libpotrace | |
024e1741 | 66 | |
68bfddb1 | 67 | %{__make} |
a7cf2459 MW |
68 | |
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
024e1741 JB |
71 | |
72 | %{__make} install \ | |
73 | DESTDIR=$RPM_BUILD_ROOT | |
a7cf2459 MW |
74 | |
75 | %clean | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
943defea JB |
78 | %post -p /sbin/ldconfig |
79 | %postun -p /sbin/ldconfig | |
80 | ||
a7cf2459 MW |
81 | %files |
82 | %defattr(644,root,root,755) | |
943defea | 83 | %doc AUTHORS ChangeLog NEWS README doc/placement.pdf |
d0678a2a JB |
84 | %attr(755,root,root) %{_bindir}/mkbitmap |
85 | %attr(755,root,root) %{_bindir}/potrace | |
943defea JB |
86 | %attr(755,root,root) %{_libdir}/libpotrace.so.*.*.* |
87 | %attr(755,root,root) %ghost %{_libdir}/libpotrace.so.0 | |
d0678a2a JB |
88 | %{_mandir}/man1/mkbitmap.1* |
89 | %{_mandir}/man1/potrace.1* | |
943defea JB |
90 | |
91 | %files devel | |
92 | %defattr(644,root,root,755) | |
93 | %attr(755,root,root) %{_libdir}/libpotrace.so | |
94 | %{_libdir}/libpotrace.la | |
95 | %{_includedir}/potracelib.h | |
96 | ||
97 | %files static | |
98 | %defattr(644,root,root,755) | |
99 | %{_libdir}/libpotrace.a |