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