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