]> git.pld-linux.org Git - packages/potrace.git/blame - potrace.spec
- updated to 1.15 (fixes CVE-2017-12067)
[packages/potrace.git] / potrace.spec
CommitLineData
024e1741 1Summary: Potrace - a utility for tracing a bitmap
908b2f40 2Summary(pl.UTF-8): Potrace - narzędzie służące do "trasowania" bitmap
a7cf2459 3Name: potrace
a64dd989 4Version: 1.15
a78beeb8 5Release: 1
d0678a2a 6License: GPL v2+
4c529121 7Group: Applications/Graphics
a64dd989 8#Source0Download: http://potrace.sourceforge.net/
a78beeb8 9Source0: http://potrace.sourceforge.net/download/%{version}/%{name}-%{version}.tar.gz
a64dd989 10# Source0-md5: 60cecdaa9d14e0008f96b68dce77d246
a7cf2459 11URL: http://potrace.sourceforge.net/
9e15e433 12BuildRequires: autoconf >= 2.50
024e1741 13BuildRequires: automake
9e15e433 14BuildRequires: libtool >= 2:2.0
024e1741 15BuildRequires: zlib-devel
a7cf2459
MW
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Potrace is a utility for tracing a bitmap, which means, transforming a
20bitmap 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
25Potrace jest narzędziem służącym do "trasowania" bitmap, czyli
26konwertowania obrazów rastrowych do gładkich i skalowanych obrazów
27wektorowych. Wejściem dla programu jest przenośna bitmapa (PBM), a
28domyślnym wyjściem jest plik encapsulated PostScript (EPS).
a7cf2459 29
943defea
JB
30%package devel
31Summary: Header file for potrace library
32Summary(pl.UTF-8): Plik nagłówkowy biblioteki potrace
33Group: Development/Libraries
32623912 34Requires: %{name} = %{version}-%{release}
943defea
JB
35
36%description devel
37Header file for potrace library.
38
39%description devel -l pl.UTF-8
40Plik nagłówkowy biblioteki potrace.
41
42%package static
43Summary: Static potrace library
44Summary(pl.UTF-8): Statyczna biblioteka potrace
45Group: Development/Libraries
32623912 46Requires: %{name}-devel = %{version}-%{release}
943defea
JB
47
48%description static
49Static potrace library.
50
51%description static -l pl.UTF-8
52Statyczna 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
71rm -rf $RPM_BUILD_ROOT
024e1741
JB
72
73%{__make} install \
74 DESTDIR=$RPM_BUILD_ROOT
a7cf2459
MW
75
76%clean
77rm -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
This page took 0.050376 seconds and 4 git commands to generate.