]>
Commit | Line | Data |
---|---|---|
d378c254 | 1 | Summary: AutoTrace - convert bitmap to vector graphics |
9f0583a1 | 2 | Summary(pl.UTF-8): AutoTrace - konwerter grafiki rastrowej do wektorowej |
d378c254 | 3 | Name: autotrace |
a728ae5d | 4 | Version: 0.31.1 |
6d9936a1 | 5 | Release: 7 |
d6bf7299 JB |
6 | License: GPL v2+ |
7 | Group: Applications/Graphics | |
8 | Source0: http://downloads.sourceforge.net/autotrace/%{name}-%{version}.tar.gz | |
ecabc6fe | 9 | # Source0-md5: 54eabbb38d2076ded6d271e1ee4d0783 |
a728ae5d JB |
10 | Patch0: %{name}-link.patch |
11 | Patch1: %{name}-aclocal.patch | |
d2c6cea2 | 12 | Patch2: %{name}-am18.patch |
bdf26f51 | 13 | Patch3: %{name}-magick6.patch |
d378c254 | 14 | URL: http://autotrace.sourceforge.net/ |
d831dc94 | 15 | BuildRequires: ImageMagick-devel >= 1:6.2.4.0 |
d378c254 JB |
16 | BuildRequires: autoconf |
17 | BuildRequires: automake | |
b77396d7 | 18 | BuildRequires: libtool |
d378c254 JB |
19 | BuildRequires: libpng-devel >= 1.0.6 |
20 | BuildRequires: ming-devel | |
bdf26f51 | 21 | BuildRequires: pstoedit-devel >= 3.33-4 |
d378c254 JB |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
df39088c JB |
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. | |
d378c254 | 28 | |
e561cacb JR |
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 | |
d378c254 JB |
33 | oraz swf. |
34 | ||
35 | %package devel | |
36 | Summary: AutoTrace library development files | |
9f0583a1 | 37 | Summary(pl.UTF-8): Pliki dla programistów używających biblioteki AutoTrace |
d378c254 | 38 | Group: Development/Libraries |
bdf26f51 | 39 | Requires: %{name} = %{version}-%{release} |
d831dc94 | 40 | Requires: ImageMagick-devel >= 1:6.2.4.0 |
d2c6cea2 JB |
41 | Requires: libpng-devel >= 1.0.6 |
42 | Requires: ming-devel | |
bdf26f51 | 43 | Requires: pstoedit-devel >= 3.33-4 |
d378c254 JB |
44 | |
45 | %description devel | |
46 | AutoTrace library header files. | |
47 | ||
e561cacb JR |
48 | %description devel -l pl.UTF-8 |
49 | Pliki nagłówkowe do biblioteki AutoTrace. | |
d378c254 JB |
50 | |
51 | %package static | |
52 | Summary: AutoTrace static library | |
9f0583a1 | 53 | Summary(pl.UTF-8): Biblioteka statyczna AutoTrace |
d378c254 | 54 | Group: Development/Libraries |
bdf26f51 | 55 | Requires: %{name}-devel = %{version}-%{release} |
d378c254 JB |
56 | |
57 | %description static | |
58 | AutoTrace static library. | |
59 | ||
e561cacb | 60 | %description static -l pl.UTF-8 |
d378c254 JB |
61 | Biblioteka statyczna AutoTrace. |
62 | ||
63 | %prep | |
64 | %setup -q | |
65 | %patch0 -p1 | |
a728ae5d | 66 | %patch1 -p1 |
d2c6cea2 | 67 | %patch2 -p1 |
bdf26f51 | 68 | %patch3 -p1 |
d378c254 JB |
69 | |
70 | %build | |
a89c608d | 71 | %{__libtoolize} |
2eb71034 | 72 | %{__aclocal} |
0bc806ef | 73 | %{__autoconf} |
d6bf7299 | 74 | %{__autoheader} |
0bc806ef | 75 | %{__automake} |
d6bf7299 | 76 | %configure |
d378c254 JB |
77 | |
78 | %{__make} | |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
2eb71034 | 82 | |
a8b6228a PG |
83 | %{__make} install \ |
84 | DESTDIR=$RPM_BUILD_ROOT | |
d378c254 | 85 | |
d378c254 JB |
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) | |
5d51784a | 94 | %doc AUTHORS NEWS README THANKS |
d378c254 | 95 | %attr(755,root,root) %{_bindir}/autotrace |
d6bf7299 JB |
96 | %attr(755,root,root) %{_libdir}/libautotrace.so.*.*.* |
97 | %attr(755,root,root) %ghost %{_libdir}/libautotrace.so.3 | |
98 | %{_mandir}/man1/autotrace.1* | |
d378c254 JB |
99 | |
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
d378c254 | 102 | %attr(755,root,root) %{_bindir}/autotrace-config |
d6bf7299 JB |
103 | %attr(755,root,root) %{_libdir}/libautotrace.so |
104 | %{_libdir}/libautotrace.la | |
d378c254 JB |
105 | %{_includedir}/autotrace |
106 | %{_aclocaldir}/autotrace.m4 | |
d6bf7299 | 107 | %{_pkgconfigdir}/autotrace.pc |
d378c254 JB |
108 | |
109 | %files static | |
110 | %defattr(644,root,root,755) | |
d6bf7299 | 111 | %{_libdir}/libautotrace.a |