Blame SPECS/autotrace.spec

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