]> git.pld-linux.org Git - packages/autotrace.git/blob - autotrace.spec
- updated libpng patch (to simplify loading code), added CVE-2013-1953,CVE-2016-7392...
[packages/autotrace.git] / autotrace.spec
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:        18
6 License:        GPL v2+
7 Group:          Applications/Graphics
8 Source0:        http://downloads.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 Patch4:         %{name}-am.patch
15 Patch5:         %{name}-libpng.patch
16 Patch6:         %{name}-CVE-2013-1953.patch
17 Patch7:         %{name}-CVE-2016-7392.patch
18 Patch8:         %{name}-CVE-2019-19004.patch
19 Patch9:         %{name}-CVE-2019-19005.patch
20 URL:            http://autotrace.sourceforge.net/
21 BuildRequires:  ImageMagick-devel >= 1:6.2.4.0
22 BuildRequires:  autoconf
23 BuildRequires:  automake
24 BuildRequires:  libtool
25 BuildRequires:  libpng-devel >= 1.0.6
26 BuildRequires:  ming-devel
27 BuildRequires:  pstoedit-devel >= 3.33-4
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 AutoTrace is a utility that converts bitmap to vector graphics. It can
32 import p[nbgp]m, bmp, tga, png (and many more through ImageMagick)
33 files and write to emf, eps, ai, er, fig, svg, sk and swf files.
34
35 %description -l pl.UTF-8
36 AutoTrace jest narzędziem do konwersji grafiki rastrowej na wektorową.
37 Może wczytywać pliki p[nbgp]m, bmp, tga, png (i wiele innych przez
38 ImageMagick, a zapisywać w formacie emf, eps, ai, er, fig, svg, sk
39 oraz swf.
40
41 %package devel
42 Summary:        AutoTrace library development files
43 Summary(pl.UTF-8):      Pliki dla programistów używających biblioteki AutoTrace
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46 Requires:       ImageMagick-devel >= 1:6.2.4.0
47 Requires:       libpng-devel >= 1.0.6
48 Requires:       ming-devel
49 Requires:       pstoedit-devel >= 3.33-4
50
51 %description devel
52 AutoTrace library header files.
53
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe do biblioteki AutoTrace.
56
57 %package static
58 Summary:        AutoTrace static library
59 Summary(pl.UTF-8):      Biblioteka statyczna AutoTrace
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}-%{release}
62
63 %description static
64 AutoTrace static library.
65
66 %description static -l pl.UTF-8
67 Biblioteka statyczna AutoTrace.
68
69 %prep
70 %setup -q
71 %patch0 -p1
72 %patch1 -p1
73 %patch2 -p1
74 %patch3 -p1
75 %patch4 -p1
76 %patch5 -p1
77 %patch6 -p1
78 %patch7 -p1
79 %patch8 -p1
80 %patch9 -p1
81
82 %build
83 %{__libtoolize}
84 %{__aclocal}
85 %{__autoconf}
86 %{__autoheader}
87 %{__automake}
88 %configure
89
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT
97
98 # obsoleted by pkg-config
99 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libautotrace.la
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %post   -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
106
107 %files
108 %defattr(644,root,root,755)
109 %doc AUTHORS NEWS README THANKS
110 %attr(755,root,root) %{_bindir}/autotrace
111 %attr(755,root,root) %{_libdir}/libautotrace.so.*.*.*
112 %attr(755,root,root) %ghost %{_libdir}/libautotrace.so.3
113 %{_mandir}/man1/autotrace.1*
114
115 %files devel
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_bindir}/autotrace-config
118 %attr(755,root,root) %{_libdir}/libautotrace.so
119 %{_includedir}/autotrace
120 %{_aclocaldir}/autotrace.m4
121 %{_pkgconfigdir}/autotrace.pc
122
123 %files static
124 %defattr(644,root,root,755)
125 %{_libdir}/libautotrace.a
This page took 0.078558 seconds and 4 git commands to generate.