From d0508a71d11303469c2b3a35e81433a2e547de1b Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Mon, 5 Sep 2022 18:48:39 +0200 Subject: [PATCH] Switch to autochangelog macros and simplify - Switch to autochangelog/autorelease - Disable support for RHEL7 and older - Remove unnecessary BRs Signed-off-by: Peter Lemenkov --- autotrace.spec | 255 +++---------------------------------------------- changelog | 214 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 228 insertions(+), 241 deletions(-) create mode 100644 changelog diff --git a/autotrace.spec b/autotrace.spec index 6663ce6..a1b69a2 100644 --- a/autotrace.spec +++ b/autotrace.spec @@ -1,31 +1,25 @@ Name: autotrace Version: 0.31.9 -Release: 1%{?dist} +Release: %autorelease Summary: Utility for converting bitmaps to vector graphics License: GPLv2+ and LGPLv2+ URL: http://autotrace.sourceforge.net/ Source0: https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz -BuildRequires: gcc-c++ -%if ! 0%{?rhel} -BuildRequires: ImageMagick-devel -%endif -BuildRequires: pstoedit-devel -BuildRequires: bzip2-devel -BuildRequires: freetype-devel -BuildRequires: libexif-devel -BuildRequires: libjpeg-devel -BuildRequires: libpng-devel > 2:1.2 -BuildRequires: libtiff-devel -BuildRequires: libxml2-devel -BuildRequires: pstoedit-devel -# For autoreconf +BuildRequires: ImageMagick-devel BuildRequires: autoconf BuildRequires: automake +BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: gettext-devel +BuildRequires: glib2-devel BuildRequires: intltool +BuildRequires: libpng-devel > 2:1.2 +BuildRequires: libstdc++-devel +BuildRequires: libtiff-devel BuildRequires: libtool BuildRequires: make BuildRequires: procps-ng +BuildRequires: pstoedit-devel %description @@ -35,13 +29,12 @@ 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 Summary: Header files for autotrace Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig -%if ! 0%{?rhel} Requires: ImageMagick-devel -%endif Requires: pstoedit-devel @@ -52,19 +45,10 @@ This package contains header files and development libraries for autotrace. %prep %autosetup -p1 + %build autoreconf -ivf -%if ! 0%{?rhel} %configure --enable-magick-readers --disable-static -%else -%configure --without-magick --disable-static -%endif - -# remove rpaths -# FIXME is it still reqired? -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 - make %{?_smp_mflags} @@ -72,9 +56,11 @@ make %{?_smp_mflags} %make_install %find_lang %{name} + %check make check + %ldconfig_scriptlets @@ -93,217 +79,4 @@ make check %changelog -* Tue Aug 30 2022 Peter Lemenkov - 0.31.9-1 -- Ver. 0.31.9 (API/ABI compatible) - -* Wed Jul 20 2022 Fedora Release Engineering - 0.31.1-64 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Wed Jan 19 2022 Fedora Release Engineering - 0.31.1-63 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Oct 15 2021 Gwyn Ciesla - 0.31.1-62 -- ImageMagick rebuild. - -* Wed Jul 21 2021 Fedora Release Engineering - 0.31.1-61 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Apr 30 2021 Parag Nemade - 0.31.1-60 -- Resolves: CVE-2019-19004 : integer overflow in input-bmp.c -- Resolves: CVE-2019-19005 : fix bitmap double free in main.c - -* Tue Jan 26 2021 Fedora Release Engineering - 0.31.1-59 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Oct 28 2020 Parag Nemade - 0.31.1-58 -- Don't build with ImageMagick on EL - -* Mon Jul 27 2020 Fedora Release Engineering - 0.31.1-57 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Jan 28 2020 Fedora Release Engineering - 0.31.1-56 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Wed Jul 24 2019 Fedora Release Engineering - 0.31.1-55 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jan 31 2019 Fedora Release Engineering - 0.31.1-54 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Tue Aug 28 2018 Michael Cronenworth - 0.31.1-53 -- Rebuilt for new ImageMagick 6.9.10 - -* Fri Jul 20 2018 Jaroslav Škarvada - 0.31.1-52 -- Fixed FTBFS by adding gcc-c++ requirement - Resolves: rhbz#1603443 - -* Thu Jul 12 2018 Fedora Release Engineering - 0.31.1-51 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 0.31.1-50 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 24 2017 Michael Cronenworth - 0.31.1-49 -- Bump release for upgrade path - -* Wed Aug 23 2017 Michael Cronenworth - 0.31.1-48 -- Rebuilt for new ImageMagick - -* Wed Aug 02 2017 Fedora Release Engineering - 0.31.1-47 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Sun Jul 30 2017 Kevin Fenzi - 0.31.1-46 -- Rebuild for new ImageMagick - -* Wed Jul 26 2017 Fedora Release Engineering - 0.31.1-45 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 0.31.1-44 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Fri Jan 20 2017 Jaroslav Škarvada - 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) - -* Wed Feb 03 2016 Fedora Release Engineering - 0.31.1-42 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 0.31.1-41 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Fri Aug 15 2014 Fedora Release Engineering - 0.31.1-40 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 0.31.1-39 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Mon Mar 31 2014 Jon Ciesla - 0.31.1-38 -- ImageMagick rebuild. - -* Sat Aug 03 2013 Fedora Release Engineering - 0.31.1-37 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Sun Jul 21 2013 Peter Lemenkov - 0.31.1-36 -- Fix building on AArch64 -- Enable pstoedit back - -* Fri Jul 19 2013 Jaroslav Škarvada - 0.31.1-35 -- Fixed multilib conflict in devel package (by multilib-fix patch) -- Removed rpaths - -* Fri Jun 28 2013 Jaroslav Škarvada - 0.31.1-34 -- Fixed buffer overflow when parsing BMP files - Resolves: CVE-2013-1953 - -* Mon Mar 18 2013 Jon Ciesla - 0.31.1-33 -- ImageMagick rebuild. - -* Wed Feb 13 2013 Fedora Release Engineering - 0.31.1-32 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Sat Jul 21 2012 Peter Lemenkov - 0.31.1-31 -- Cosmetic changes in the spec-file (closes rhbz #803928 and #817950) - -* Wed Jul 18 2012 Fedora Release Engineering - 0.31.1-30.1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Fri Mar 02 2012 Jon Ciesla - 0.31.1-29.1 -- Libpng 1.5 fix. - -* Thu Jan 12 2012 Fedora Release Engineering - 0.31.1-28.1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Dec 06 2011 Adam Jackson - 0.31.1-27.1 -- Rebuild for new libpng - -* Mon Feb 07 2011 Fedora Release Engineering - 0.31.1-26.1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Sep 29 2010 jkeating - 0.31.1-25.1 -- Rebuilt for gcc bug 634757 - -* Fri Sep 17 2010 Rex Dieter - 0.31.1-24.1 -- rebuild (ImageMagick) - -* Mon May 17 2010 Peter Lemenkov - 0.31.1-24 -- Changed description (closes rhbz #591659). - -* Mon Jul 27 2009 Peter Lemenkov - 0.31.1-23 -- Removed static libraries from -devel -- Changed %%makeinstall to "make install DESTDIR=blablabla" -- Fixed rhbz# 477980 - -* Fri Jul 24 2009 Fedora Release Engineering - 0.31.1-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Fri Mar 13 2009 Hans de Goede - 0.31.1-21 -- Rebuild for new ImageMagick - -* Mon Mar 02 2009 Caolán McNamara - 0.31.1-20 -- Modify GetOnePixel usage to build against current ImageMagick api - -* Mon Feb 23 2009 Fedora Release Engineering - 0.31.1-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Mon Jul 14 2008 Tom "spot" Callaway - 0.31.1-18 -- fix license tag - -* Mon May 19 2008 Fedora Release Engineering - 0.31.1-17 -- Rebuild for new ImageMagick. - -* Tue Feb 19 2008 Fedora Release Engineering - 0.31.1-16 -- Autorebuild for GCC 4.3 - -* Wed Aug 22 2007 Quentin Spencer - 0.31.1-15 -- Rebuild for F8. - -* Thu Oct 05 2006 Christian Iseli 0.31.1-14 - - rebuilt for unwind info generation, broken in gcc-4.1.1-21 - -* Thu Sep 21 2006 Quentin Spencer - 0.31.1-13 -- Rebuild for FC6. - -* Mon Feb 13 2006 Roozbeh Pournader - 0.31.1-12 -- Rebuild for Fedora Extras 5 - -* Sat Jan 28 2006 Roozbeh Pournader - 0.31.1-11 -- rebuild - -* Tue Jan 17 2006 Roozbeh Pournader - 0.31.1-10 -- add BuildRequires on freetype-devel - -* Tue Jan 17 2006 Roozbeh Pournader - 0.31.1-9 -- remove BuildRequires on XFree86-devel - -* Mon Jan 16 2006 Roozbeh Pournader - 0.31.1-8 -- add %%{?dist} tag -- add a BuildRequires on bzip2-devel -- add ldconfig to %%post and %%postun - -* Thu May 26 2005 Jeremy Katz - 0.31.1-7 -- and more buildrequires - -* Thu May 26 2005 Jeremy Katz - 0.31.1-6 -- BR libtiff-devel - -* Wed May 25 2005 Jeremy Katz - 0.31.1-5 -- rebuild - -* Thu Apr 7 2005 Michael Schwendt -- rebuilt - -* Sat Aug 21 2004 Marius L. Jøhndal - 0:0.31.1-3 -- Temporarily changed buildreq pstoedit-devel to buildconflicts. - -* Thu Apr 22 2004 Marius L. Jøhndal - 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. - -* Mon Sep 29 2003 Marius L. Johndal 0:0.31.1-0.fdr.1 -- Initial RPM release. - +%autochangelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..8cf7c8f --- /dev/null +++ b/changelog @@ -0,0 +1,214 @@ +* Tue Aug 30 2022 Peter Lemenkov - 0.31.9-1 +- Ver. 0.31.9 (API/ABI compatible) + +* Wed Jul 20 2022 Fedora Release Engineering - 0.31.1-64 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jan 19 2022 Fedora Release Engineering - 0.31.1-63 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Oct 15 2021 Gwyn Ciesla - 0.31.1-62 +- ImageMagick rebuild. + +* Wed Jul 21 2021 Fedora Release Engineering - 0.31.1-61 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Apr 30 2021 Parag Nemade - 0.31.1-60 +- Resolves: CVE-2019-19004 : integer overflow in input-bmp.c +- Resolves: CVE-2019-19005 : fix bitmap double free in main.c + +* Tue Jan 26 2021 Fedora Release Engineering - 0.31.1-59 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Oct 28 2020 Parag Nemade - 0.31.1-58 +- Don't build with ImageMagick on EL + +* Mon Jul 27 2020 Fedora Release Engineering - 0.31.1-57 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Fedora Release Engineering - 0.31.1-56 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 0.31.1-55 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 0.31.1-54 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Aug 28 2018 Michael Cronenworth - 0.31.1-53 +- Rebuilt for new ImageMagick 6.9.10 + +* Fri Jul 20 2018 Jaroslav Škarvada - 0.31.1-52 +- Fixed FTBFS by adding gcc-c++ requirement + Resolves: rhbz#1603443 + +* Thu Jul 12 2018 Fedora Release Engineering - 0.31.1-51 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.31.1-50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 24 2017 Michael Cronenworth - 0.31.1-49 +- Bump release for upgrade path + +* Wed Aug 23 2017 Michael Cronenworth - 0.31.1-48 +- Rebuilt for new ImageMagick + +* Wed Aug 02 2017 Fedora Release Engineering - 0.31.1-47 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Sun Jul 30 2017 Kevin Fenzi - 0.31.1-46 +- Rebuild for new ImageMagick + +* Wed Jul 26 2017 Fedora Release Engineering - 0.31.1-45 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.31.1-44 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jan 20 2017 Jaroslav Škarvada - 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) + +* Wed Feb 03 2016 Fedora Release Engineering - 0.31.1-42 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.31.1-41 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Aug 15 2014 Fedora Release Engineering - 0.31.1-40 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.31.1-39 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Mar 31 2014 Jon Ciesla - 0.31.1-38 +- ImageMagick rebuild. + +* Sat Aug 03 2013 Fedora Release Engineering - 0.31.1-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sun Jul 21 2013 Peter Lemenkov - 0.31.1-36 +- Fix building on AArch64 +- Enable pstoedit back + +* Fri Jul 19 2013 Jaroslav Škarvada - 0.31.1-35 +- Fixed multilib conflict in devel package (by multilib-fix patch) +- Removed rpaths + +* Fri Jun 28 2013 Jaroslav Škarvada - 0.31.1-34 +- Fixed buffer overflow when parsing BMP files + Resolves: CVE-2013-1953 + +* Mon Mar 18 2013 Jon Ciesla - 0.31.1-33 +- ImageMagick rebuild. + +* Wed Feb 13 2013 Fedora Release Engineering - 0.31.1-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Peter Lemenkov - 0.31.1-31 +- Cosmetic changes in the spec-file (closes rhbz #803928 and #817950) + +* Wed Jul 18 2012 Fedora Release Engineering - 0.31.1-30.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Mar 02 2012 Jon Ciesla - 0.31.1-29.1 +- Libpng 1.5 fix. + +* Thu Jan 12 2012 Fedora Release Engineering - 0.31.1-28.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 06 2011 Adam Jackson - 0.31.1-27.1 +- Rebuild for new libpng + +* Mon Feb 07 2011 Fedora Release Engineering - 0.31.1-26.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Sep 29 2010 jkeating - 0.31.1-25.1 +- Rebuilt for gcc bug 634757 + +* Fri Sep 17 2010 Rex Dieter - 0.31.1-24.1 +- rebuild (ImageMagick) + +* Mon May 17 2010 Peter Lemenkov - 0.31.1-24 +- Changed description (closes rhbz #591659). + +* Mon Jul 27 2009 Peter Lemenkov - 0.31.1-23 +- Removed static libraries from -devel +- Changed %%makeinstall to "make install DESTDIR=blablabla" +- Fixed rhbz# 477980 + +* Fri Jul 24 2009 Fedora Release Engineering - 0.31.1-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Fri Mar 13 2009 Hans de Goede - 0.31.1-21 +- Rebuild for new ImageMagick + +* Mon Mar 02 2009 Caolán McNamara - 0.31.1-20 +- Modify GetOnePixel usage to build against current ImageMagick api + +* Mon Feb 23 2009 Fedora Release Engineering - 0.31.1-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Jul 14 2008 Tom "spot" Callaway - 0.31.1-18 +- fix license tag + +* Mon May 19 2008 Fedora Release Engineering - 0.31.1-17 +- Rebuild for new ImageMagick. + +* Tue Feb 19 2008 Fedora Release Engineering - 0.31.1-16 +- Autorebuild for GCC 4.3 + +* Wed Aug 22 2007 Quentin Spencer - 0.31.1-15 +- Rebuild for F8. + +* Thu Oct 05 2006 Christian Iseli 0.31.1-14 + - rebuilt for unwind info generation, broken in gcc-4.1.1-21 + +* Thu Sep 21 2006 Quentin Spencer - 0.31.1-13 +- Rebuild for FC6. + +* Mon Feb 13 2006 Roozbeh Pournader - 0.31.1-12 +- Rebuild for Fedora Extras 5 + +* Sat Jan 28 2006 Roozbeh Pournader - 0.31.1-11 +- rebuild + +* Tue Jan 17 2006 Roozbeh Pournader - 0.31.1-10 +- add BuildRequires on freetype-devel + +* Tue Jan 17 2006 Roozbeh Pournader - 0.31.1-9 +- remove BuildRequires on XFree86-devel + +* Mon Jan 16 2006 Roozbeh Pournader - 0.31.1-8 +- add %%{?dist} tag +- add a BuildRequires on bzip2-devel +- add ldconfig to %%post and %%postun + +* Thu May 26 2005 Jeremy Katz - 0.31.1-7 +- and more buildrequires + +* Thu May 26 2005 Jeremy Katz - 0.31.1-6 +- BR libtiff-devel + +* Wed May 25 2005 Jeremy Katz - 0.31.1-5 +- rebuild + +* Thu Apr 7 2005 Michael Schwendt +- rebuilt + +* Sat Aug 21 2004 Marius L. Jøhndal - 0:0.31.1-3 +- Temporarily changed buildreq pstoedit-devel to buildconflicts. + +* Thu Apr 22 2004 Marius L. Jøhndal - 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. + +* Mon Sep 29 2003 Marius L. Johndal 0:0.31.1-0.fdr.1 +- Initial RPM release. +