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