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