]> git.pld-linux.org Git - packages/potrace.git/blob - potrace.spec
- updated to 1.15 (fixes CVE-2017-12067)
[packages/potrace.git] / potrace.spec
1 Summary:        Potrace - a utility for tracing a bitmap
2 Summary(pl.UTF-8):      Potrace - narzędzie służące do "trasowania" bitmap
3 Name:           potrace
4 Version:        1.15
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Graphics
8 #Source0Download: http://potrace.sourceforge.net/
9 Source0:        http://potrace.sourceforge.net/download/%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  60cecdaa9d14e0008f96b68dce77d246
11 URL:            http://potrace.sourceforge.net/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  libtool >= 2:2.0
15 BuildRequires:  zlib-devel
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
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).
29
30 %package devel
31 Summary:        Header file for potrace library
32 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki potrace
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
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
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static potrace library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka potrace.
53
54 %prep
55 %setup -q
56
57 %build
58 %{__libtoolize}
59 %{__aclocal}
60 %{__autoconf}
61 %{__autoheader}
62 %{__automake}
63 %configure \
64         --enable-a4 \
65         --enable-metric \
66         --with-libpotrace
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS README doc/placement.pdf
85 %attr(755,root,root) %{_bindir}/mkbitmap
86 %attr(755,root,root) %{_bindir}/potrace
87 %attr(755,root,root) %{_libdir}/libpotrace.so.*.*.*
88 %attr(755,root,root) %ghost %{_libdir}/libpotrace.so.0
89 %{_mandir}/man1/mkbitmap.1*
90 %{_mandir}/man1/potrace.1*
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
This page took 0.057406 seconds and 3 git commands to generate.