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 URL: https://autotrace.sourceforge.net/
13 BuildRequires: ImageMagick-devel >= 1:7.0.1
14 BuildRequires: autoconf >= 2.50
15 BuildRequires: automake
16 BuildRequires: gettext-tools >= 0.22.5
17 BuildRequires: glib2-devel >= 2.0
18 BuildRequires: intltool >= 0.50.1
19 BuildRequires: libtool >= 2:2
20 BuildRequires: libpng-devel >= 1.0.6
21 BuildRequires: ming-devel
22 BuildRequires: pkgconfig
23 BuildRequires: pstoedit-devel >= 3.33-4
24 BuildRequires: sed >= 4.0
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 AutoTrace is a utility that converts bitmap to vector graphics. It can
29 import p[nbgp]m, bmp, tga, png (and many more through ImageMagick)
30 files and write to emf, eps, ai, er, fig, svg, sk and swf files.
32 %description -l pl.UTF-8
33 AutoTrace jest narzędziem do konwersji grafiki rastrowej na wektorową.
34 Może wczytywać pliki p[nbgp]m, bmp, tga, png (i wiele innych przez
35 ImageMagick, a zapisywać w formacie emf, eps, ai, er, fig, svg, sk
39 Summary: AutoTrace library development files
40 Summary(pl.UTF-8): Pliki dla programistów używających biblioteki AutoTrace
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
43 Requires: ImageMagick-devel >= 1:7.0.1
44 Requires: glib2-devel >= 2.0
45 Requires: libpng-devel >= 1.0.6
47 Requires: pstoedit-devel >= 3.33-4
50 AutoTrace library header files.
52 %description devel -l pl.UTF-8
53 Pliki nagłówkowe do biblioteki AutoTrace.
56 Summary: AutoTrace static library
57 Summary(pl.UTF-8): Biblioteka statyczna AutoTrace
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}-%{release}
62 AutoTrace static library.
64 %description static -l pl.UTF-8
65 Biblioteka statyczna AutoTrace.
71 %{__sed} -i -e 's,po/Makefile.in ,,' configure.ac
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT
91 # obsoleted by pkg-config
92 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libautotrace.la
97 rm -rf $RPM_BUILD_ROOT
99 %post -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
102 %files -f %{name}.lang
103 %defattr(644,root,root,755)
104 %doc AUTHORS NEWS README.md THANKS TODO
105 %attr(755,root,root) %{_bindir}/autotrace
106 %attr(755,root,root) %{_libdir}/libautotrace.so.*.*.*
107 %attr(755,root,root) %ghost %{_libdir}/libautotrace.so.3
108 %{_mandir}/man1/autotrace.1*
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/libautotrace.so
113 %{_includedir}/autotrace
114 %{_pkgconfigdir}/autotrace.pc
117 %defattr(644,root,root,755)
118 %{_libdir}/libautotrace.a