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