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