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