]> git.pld-linux.org Git - packages/autotrace.git/blob - autotrace.spec
- s/pstoedit/pstoedit-devel/ in BR
[packages/autotrace.git] / autotrace.spec
1 Summary:        AutoTrace - convert bitmap to vector graphics
2 Summary(pl):    AutoTrace - konwerter grafiki rastrowej do wektorowej
3 Name:           autotrace
4 Version:        0.31.1
5 Release:        1
6 License:        GPL
7 Group:          Applications
8 Source0:        http://dl.sourceforge.net/autotrace/%{name}-%{version}.tar.gz
9 # Source0-md5:  54eabbb38d2076ded6d271e1ee4d0783
10 Patch0:         %{name}-link.patch
11 Patch1:         %{name}-aclocal.patch
12 URL:            http://autotrace.sourceforge.net/
13 BuildRequires:  ImageMagick-devel >= 5.2.1
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRequires:  libpng-devel >= 1.0.6
18 BuildRequires:  ming-devel
19 BuildRequires:  pstoedit-devel >= 3.32
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 AutoTrace is a utility that converts bitmap to vector graphics. It can
24 import p[nbgp]m, bmp, tga, png (and many more through ImageMagick)
25 files and write to emf, eps, ai, er, fig, svg, sk and swf files.
26
27 %description -l pl
28 AutoTrace jest narzêdziem do konwersji grafiki rastrowej na wektorow±.
29 Mo¿e wczytywaæ pliki p[nbgp]m, bmp, tga, png (i wiele innych przez
30 ImageMagick, a zapisywaæ w formacie emf, eps, ai, er, fig, svg, sk
31 oraz swf.
32
33 %package devel
34 Summary:        AutoTrace library development files
35 Summary(pl):    Pliki dla programistów u¿ywaj±cych biblioteki AutoTrace
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}
38
39 %description devel
40 AutoTrace library header files.
41
42 %description devel -l pl
43 Pliki nag³ówkowe do biblioteki AutoTrace.
44
45 %package static
46 Summary:        AutoTrace static library
47 Summary(pl):    Biblioteka statyczna AutoTrace
48 Group:          Development/Libraries
49 Requires:       %{name}-devel = %{version}
50
51 %description static
52 AutoTrace static library.
53
54 %description static -l pl
55 Biblioteka statyczna AutoTrace.
56
57 %prep
58 %setup -q
59 %patch0 -p1
60 %patch1 -p1
61
62 %build
63 %{__libtoolize}
64 %{__aclocal}
65 %{__autoconf}
66 %{__automake}
67 %configure \
68         --enable-shared
69
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc AUTHORS NEWS README THANKS
87 %attr(755,root,root) %{_bindir}/autotrace
88 %attr(755,root,root) %{_libdir}/*.so.*.*
89 %{_mandir}/man1/*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/*.so
94 %{_libdir}/*.la
95 %attr(755,root,root) %{_bindir}/autotrace-config
96 %{_includedir}/autotrace
97 %{_aclocaldir}/autotrace.m4
98 %{_pkgconfigdir}/*
99
100 %files static
101 %defattr(644,root,root,755)
102 %{_libdir}/lib*.a
This page took 0.036846 seconds and 3 git commands to generate.