2004-11-08 04:05:13 +00:00
|
|
|
Name: autotrace
|
|
|
|
Version: 0.31.1
|
2017-01-20 17:18:18 +00:00
|
|
|
Release: 43%{?dist}
|
2005-03-03 19:29:59 +00:00
|
|
|
Summary: Utility for converting bitmaps to vector graphics
|
2004-11-08 04:05:13 +00:00
|
|
|
Group: Applications/Multimedia
|
2008-07-14 19:20:55 +00:00
|
|
|
License: GPLv2+ and LGPLv2+
|
2004-11-08 04:05:13 +00:00
|
|
|
URL: http://autotrace.sourceforge.net/
|
2017-01-20 17:18:18 +00:00
|
|
|
Source0: http://download.sf.net/autotrace/%{name}-%{version}.tar.gz
|
2012-07-21 19:13:35 +00:00
|
|
|
Patch1: autotrace-0001-Modify-GetOnePixel-usage-to-build-against-current-Im.patch
|
|
|
|
Patch2: autotrace-0002-Fixed-underquoted-AM_PATH_AUTOTRACE-definition.patch
|
|
|
|
Patch3: autotrace-0003-libpng-fix.patch
|
2013-06-28 09:11:00 +00:00
|
|
|
# Sent upstream
|
|
|
|
Patch4: autotrace-0.31.1-CVE-2013-1953.patch
|
2013-07-19 08:21:01 +00:00
|
|
|
Patch5: autotrace-0.31.1-multilib-fix.patch
|
2017-01-20 17:18:18 +00:00
|
|
|
Patch6: autotrace-0.31.1-pstoedit-detection-fix.patch
|
|
|
|
Patch7: autotrace-0.31.1-CVE-2016-7392.patch
|
2004-11-08 04:05:13 +00:00
|
|
|
BuildRequires: ImageMagick-devel
|
|
|
|
BuildRequires: libpng-devel > 2:1.2
|
2004-11-28 04:36:14 +00:00
|
|
|
BuildRequires: libexif-devel
|
2005-05-26 15:49:52 +00:00
|
|
|
BuildRequires: libtiff-devel
|
2005-05-26 18:31:51 +00:00
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libxml2-devel
|
2006-01-16 18:20:15 +00:00
|
|
|
BuildRequires: bzip2-devel
|
2006-01-17 12:26:49 +00:00
|
|
|
BuildRequires: freetype-devel
|
2013-07-21 17:42:00 +00:00
|
|
|
BuildRequires: pstoedit-devel
|
|
|
|
# For autoreconf
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
2017-01-20 17:18:18 +00:00
|
|
|
BuildRequires: pstoedit-devel
|
2004-11-08 04:05:13 +00:00
|
|
|
|
2009-03-02 12:21:34 +00:00
|
|
|
|
2004-11-08 04:05:13 +00:00
|
|
|
%description
|
2010-05-17 18:14:07 +00:00
|
|
|
AutoTrace is a program for converting bitmaps to vector graphics.
|
2004-11-08 04:05:13 +00:00
|
|
|
|
|
|
|
Supported input formats include BMP, TGA, PNM, PPM, and any format
|
|
|
|
supported by ImageMagick, whereas output can be produced in
|
|
|
|
Postscript, SVG, xfig, SWF, and others.
|
|
|
|
|
|
|
|
%package devel
|
2012-07-21 19:13:35 +00:00
|
|
|
Summary: Header files for autotrace
|
2004-11-08 04:05:13 +00:00
|
|
|
Group: Development/Libraries
|
2012-07-21 19:13:35 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2004-11-28 04:36:14 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: ImageMagick-devel
|
2013-07-21 17:42:00 +00:00
|
|
|
Requires: pstoedit-devel
|
2004-11-08 04:05:13 +00:00
|
|
|
|
2005-03-03 19:29:59 +00:00
|
|
|
|
2004-11-08 04:05:13 +00:00
|
|
|
%description devel
|
2010-05-17 18:14:07 +00:00
|
|
|
This package contains header files and development libraries for autotrace.
|
2004-11-08 04:05:13 +00:00
|
|
|
|
2004-11-28 04:36:14 +00:00
|
|
|
|
2004-11-08 04:05:13 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-07-21 19:13:35 +00:00
|
|
|
%patch1 -p1 -b .GetOnePixel
|
|
|
|
%patch2 -p1 -b .aclocal18
|
|
|
|
%patch3 -p1 -b .libpng15
|
2013-06-28 09:11:00 +00:00
|
|
|
%patch4 -p1 -b .CVE-2013-1953
|
2013-07-19 08:21:01 +00:00
|
|
|
%patch5 -p1 -b .multilib-fix
|
2017-01-20 17:18:18 +00:00
|
|
|
%patch6 -p1 -b .pstoedit-detection-fix
|
|
|
|
%patch7 -p1 -b .CVE-2016-7392
|
2013-07-21 17:42:00 +00:00
|
|
|
autoreconf -ivf
|
2004-11-28 04:36:14 +00:00
|
|
|
|
2004-11-08 04:05:13 +00:00
|
|
|
%build
|
|
|
|
%configure
|
2013-07-19 08:21:01 +00:00
|
|
|
|
|
|
|
# remove rpaths
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
2004-11-08 04:05:13 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2004-11-28 04:36:14 +00:00
|
|
|
|
2004-11-08 04:05:13 +00:00
|
|
|
%install
|
2009-07-27 14:20:46 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2004-11-08 04:05:13 +00:00
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
2009-07-27 14:20:46 +00:00
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
2004-11-08 04:05:13 +00:00
|
|
|
|
2004-11-28 04:36:14 +00:00
|
|
|
|
2006-01-16 18:20:15 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
2004-11-08 04:05:13 +00:00
|
|
|
%files
|
|
|
|
%doc AUTHORS COPYING COPYING.LIB ChangeLog FAQ NEWS README THANKS TODO
|
|
|
|
%{_bindir}/autotrace
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_mandir}/man[^3]/*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc HACKING
|
|
|
|
%{_bindir}/autotrace-config
|
|
|
|
%{_libdir}/*.so
|
2012-07-21 19:13:35 +00:00
|
|
|
%{_libdir}/pkgconfig/autotrace.pc
|
2004-11-08 04:05:13 +00:00
|
|
|
%{_includedir}/autotrace/
|
2012-07-21 19:13:35 +00:00
|
|
|
%{_datadir}/aclocal/autotrace.m4
|
2004-11-08 04:05:13 +00:00
|
|
|
|
2004-11-28 04:36:14 +00:00
|
|
|
|
2004-11-08 04:05:13 +00:00
|
|
|
%changelog
|
2017-01-20 17:18:18 +00:00
|
|
|
* Fri Jan 20 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 0.31.1-43
|
|
|
|
- Enabled pstoedit backend
|
|
|
|
- Fixed out of bounds write when using pstoedit backend
|
|
|
|
Resolves: CVE-2016-7392
|
|
|
|
- Fixed hardcoded version on source URL
|
|
|
|
- Fixed bogus date in changelog (best effort)
|
|
|
|
|
2016-02-03 16:45:37 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.31.1-42
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 01:24:57 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.1-41
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-15 21:56:47 +00:00
|
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.1-40
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 02:15:57 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.1-39
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-31 13:45:15 +00:00
|
|
|
* Mon Mar 31 2014 Jon Ciesla <limburgher@gmail.com> - 0.31.1-38
|
|
|
|
- ImageMagick rebuild.
|
|
|
|
|
2013-08-03 02:45:45 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.1-37
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-21 17:42:00 +00:00
|
|
|
* Sun Jul 21 2013 Peter Lemenkov <lemenkov@gmail.com> - 0.31.1-36
|
|
|
|
- Fix building on AArch64
|
|
|
|
- Enable pstoedit back
|
|
|
|
|
2013-07-19 08:21:01 +00:00
|
|
|
* Fri Jul 19 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 0.31.1-35
|
|
|
|
- Fixed multilib conflict in devel package (by multilib-fix patch)
|
|
|
|
- Removed rpaths
|
|
|
|
|
2013-06-28 09:11:00 +00:00
|
|
|
* Fri Jun 28 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 0.31.1-34
|
|
|
|
- Fixed buffer overflow when parsing BMP files
|
|
|
|
Resolves: CVE-2013-1953
|
|
|
|
|
2013-03-18 12:02:28 +00:00
|
|
|
* Mon Mar 18 2013 Jon Ciesla <limburgher@gmail.com> - 0.31.1-33
|
|
|
|
- ImageMagick rebuild.
|
|
|
|
|
2013-02-13 17:27:18 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.1-32
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-21 19:13:35 +00:00
|
|
|
* Sat Jul 21 2012 Peter Lemenkov <lemenkov@gmail.com> - 0.31.1-31
|
|
|
|
- Cosmetic changes in the spec-file (closes rhbz #803928 and #817950)
|
|
|
|
|
2012-07-18 17:17:34 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.1-30.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-03-02 15:39:36 +00:00
|
|
|
* Fri Mar 02 2012 Jon Ciesla <limburgher@gmail.com> - 0.31.1-29.1
|
|
|
|
- Libpng 1.5 fix.
|
|
|
|
|
2012-01-12 22:09:19 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.1-28.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-12-06 03:41:14 +00:00
|
|
|
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.31.1-27.1
|
|
|
|
- Rebuild for new libpng
|
|
|
|
|
2011-02-08 03:46:54 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.1-26.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-09-29 20:57:03 +00:00
|
|
|
* Wed Sep 29 2010 jkeating - 0.31.1-25.1
|
|
|
|
- Rebuilt for gcc bug 634757
|
|
|
|
|
2010-09-17 17:15:57 +00:00
|
|
|
* Fri Sep 17 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.31.1-24.1
|
|
|
|
- rebuild (ImageMagick)
|
|
|
|
|
2010-05-17 18:14:07 +00:00
|
|
|
* Mon May 17 2010 Peter Lemenkov <lemenkov@gmail.com> - 0.31.1-24
|
|
|
|
- Changed description (closes rhbz #591659).
|
|
|
|
|
2009-07-27 14:20:46 +00:00
|
|
|
* Mon Jul 27 2009 Peter Lemenkov <lemenkov@gmail.com> - 0.31.1-23
|
|
|
|
- Removed static libraries from -devel
|
|
|
|
- Changed %%makeinstall to "make install DESTDIR=blablabla"
|
|
|
|
- Fixed rhbz# 477980
|
|
|
|
|
2009-07-24 17:39:50 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.1-22
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-03-13 10:56:14 +00:00
|
|
|
* Fri Mar 13 2009 Hans de Goede <hdegoede@redhat.com> - 0.31.1-21
|
|
|
|
- Rebuild for new ImageMagick
|
|
|
|
|
2009-03-02 12:21:34 +00:00
|
|
|
* Mon Mar 02 2009 Caolán McNamara <caolanm@redhat.com> - 0.31.1-20
|
|
|
|
- Modify GetOnePixel usage to build against current ImageMagick api
|
|
|
|
|
2009-02-24 03:33:00 +00:00
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.1-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-07-14 19:20:55 +00:00
|
|
|
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31.1-18
|
|
|
|
- fix license tag
|
|
|
|
|
2008-05-19 19:54:26 +00:00
|
|
|
* Mon May 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.31.1-17
|
|
|
|
- Rebuild for new ImageMagick.
|
|
|
|
|
2008-02-19 20:21:40 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.31.1-16
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-08-22 13:33:41 +00:00
|
|
|
* Wed Aug 22 2007 Quentin Spencer <qspencer@users.sourceforge.net> - 0.31.1-15
|
|
|
|
- Rebuild for F8.
|
|
|
|
|
2006-10-04 22:28:11 +00:00
|
|
|
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.31.1-14
|
|
|
|
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
|
|
2006-09-22 16:15:42 +00:00
|
|
|
* Thu Sep 21 2006 Quentin Spencer <qspencer@users.sourceforge.net> - 0.31.1-13
|
|
|
|
- Rebuild for FC6.
|
2006-06-18 13:10:16 +00:00
|
|
|
|
2006-02-13 17:40:10 +00:00
|
|
|
* Mon Feb 13 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 0.31.1-12
|
|
|
|
- Rebuild for Fedora Extras 5
|
|
|
|
|
2006-01-28 11:44:57 +00:00
|
|
|
* Sat Jan 28 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 0.31.1-11
|
|
|
|
- rebuild
|
|
|
|
|
2006-01-17 12:26:49 +00:00
|
|
|
* Tue Jan 17 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 0.31.1-10
|
|
|
|
- add BuildRequires on freetype-devel
|
|
|
|
|
|
|
|
* Tue Jan 17 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 0.31.1-9
|
|
|
|
- remove BuildRequires on XFree86-devel
|
2006-01-17 12:08:11 +00:00
|
|
|
|
2006-01-16 18:20:15 +00:00
|
|
|
* Mon Jan 16 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 0.31.1-8
|
|
|
|
- add %%{?dist} tag
|
2006-01-17 12:26:49 +00:00
|
|
|
- add a BuildRequires on bzip2-devel
|
2006-01-16 18:20:15 +00:00
|
|
|
- add ldconfig to %%post and %%postun
|
|
|
|
|
2005-05-26 18:31:51 +00:00
|
|
|
* Thu May 26 2005 Jeremy Katz <katzj@redhat.com> - 0.31.1-7
|
|
|
|
- and more buildrequires
|
|
|
|
|
2005-05-26 15:49:52 +00:00
|
|
|
* Thu May 26 2005 Jeremy Katz <katzj@redhat.com> - 0.31.1-6
|
|
|
|
- BR libtiff-devel
|
|
|
|
|
2005-05-25 22:00:25 +00:00
|
|
|
* Wed May 25 2005 Jeremy Katz <katzj@redhat.com> - 0.31.1-5
|
|
|
|
- rebuild
|
|
|
|
|
2017-01-20 17:18:18 +00:00
|
|
|
* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
2005-04-06 22:11:11 +00:00
|
|
|
- rebuilt
|
|
|
|
|
2004-11-28 04:36:14 +00:00
|
|
|
* Sat Aug 21 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.31.1-3
|
|
|
|
- Temporarily changed buildreq pstoedit-devel to buildconflicts.
|
|
|
|
|
|
|
|
* Thu Apr 22 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.31.1-0.fdr.2
|
|
|
|
- Added new BuildReq pstoedit-devel.
|
|
|
|
- Added missing BuildReq libexif-devel.
|
|
|
|
- Added missing -devel requires pkgconfig, ImageMagick-devel.
|
|
|
|
- Converted spec file to UTF-8.
|
|
|
|
|
2004-11-08 04:05:13 +00:00
|
|
|
* Mon Sep 29 2003 Marius L. Johndal <mariuslj at ifi.uio.no> 0:0.31.1-0.fdr.1
|
|
|
|
- Initial RPM release.
|
|
|
|
|