1 Summary: AutoTrace - convert bitmap to vector graphics
2 Summary(pl.UTF-8): AutoTrace - konwerter grafiki rastrowej do wektorowej
7 Group: Applications/Graphics
8 #Source0Download: https://github.com/autotrace/autotrace/releases
9 Source0: https://github.com/autotrace/autotrace/archive/%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5: 3078d2530a65f28c31c89974671ef02a
11 Patch0: %{name}-link.patch
12 Patch1: %{name}-pc.patch
13 URL: https://autotrace.sourceforge.net/
14 BuildRequires: ImageMagick-devel >= 1:7.0.1
15 BuildRequires: autoconf >= 2.50
16 BuildRequires: automake
17 BuildRequires: gettext-tools >= 0.22.5
18 BuildRequires: glib2-devel >= 2.0
19 BuildRequires: intltool >= 0.50.1
20 BuildRequires: libtool >= 2:2
21 BuildRequires: libpng-devel >= 1.0.6
22 BuildRequires: ming-devel
23 BuildRequires: pkgconfig
24 BuildRequires: pstoedit-devel >= 3.33-4
25 BuildRequires: sed >= 4.0
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 AutoTrace is a utility that converts bitmap to vector graphics. It can
30 import p[nbgp]m, bmp, tga, png (and many more through ImageMagick)
31 files and write to emf, eps, ai, er, fig, svg, sk and swf files.
33 %description -l pl.UTF-8
34 AutoTrace jest narzędziem do konwersji grafiki rastrowej na wektorową.
35 Może wczytywać pliki p[nbgp]m, bmp, tga, png (i wiele innych przez
36 ImageMagick, a zapisywać w formacie emf, eps, ai, er, fig, svg, sk
40 Summary: AutoTrace library development files
41 Summary(pl.UTF-8): Pliki dla programistów używających biblioteki AutoTrace
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
44 Requires: ImageMagick-devel >= 1:7.0.1
45 Requires: glib2-devel >= 2.0
46 Requires: libpng-devel >= 1.0.6
48 Requires: pstoedit-devel >= 3.33-4
51 AutoTrace library header files.
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe do biblioteki AutoTrace.
57 Summary: AutoTrace static library
58 Summary(pl.UTF-8): Biblioteka statyczna AutoTrace
59 Group: Development/Libraries
60 Requires: %{name}-devel = %{version}-%{release}
63 AutoTrace static library.
65 %description static -l pl.UTF-8
66 Biblioteka statyczna AutoTrace.
73 %{__sed} -i -e 's,po/Makefile.in ,,' configure.ac
84 --with-magick=ImageMagick
89 rm -rf $RPM_BUILD_ROOT
92 DESTDIR=$RPM_BUILD_ROOT
94 # obsoleted by pkg-config
95 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libautotrace.la
100 rm -rf $RPM_BUILD_ROOT
102 %post -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
105 %files -f %{name}.lang
106 %defattr(644,root,root,755)
107 %doc AUTHORS NEWS README.md THANKS TODO
108 %attr(755,root,root) %{_bindir}/autotrace
109 %attr(755,root,root) %{_libdir}/libautotrace.so.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libautotrace.so.3
111 %{_mandir}/man1/autotrace.1*
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/libautotrace.so
116 %{_includedir}/autotrace
117 %{_pkgconfigdir}/autotrace.pc
120 %defattr(644,root,root,755)
121 %{_libdir}/libautotrace.a